# Compilation error: read ECONNRESET

**URL:** <https://forum.arduino.cc/t/compilation-error-read-econnreset/1114185>\
**Category:** 3rd Party Boards\
**Created:** [April 12, 2023, 8:10am UTC](https://forum.arduino.cc/t/compilation-error-read-econnreset/1114185 "2023-04-12T08:10:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![twillert](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/twillert/32/1102459_2.png) [@twillert](https://forum.arduino.cc/u/twillert)\
**Post date:** [April 12, 2023, 8:10am UTC](https://forum.arduino.cc/t/compilation-error-read-econnreset/1114185/1 "2023-04-12T08:10:57Z")

</div>

using arduino IDE 2.0.4  
flashing board nodemcuv2, core esp8266  
on win10-64 (new pc)  
even without and with ZADIG (to provide xtra ser, port)  
I noticed numerous topics which all seem to have come to halt on this forum  
The error kills me and forces to look for a better environment to work with unlesss somone can help me out

---

<div class="post-metadata">

**Author:** ![ptillisch](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@ptillisch](https://forum.arduino.cc/u/ptillisch)\
**Post date:** [April 12, 2023, 8:27am UTC](https://forum.arduino.cc/t/compilation-error-read-econnreset/1114185/2 "2023-04-12T08:27:50Z")

</div>

Hi @twillert. I'm sorry that you're having a problem compiling. I'm going to ask you to post some additional information that might help us to identify the problem.

* * *

❗ NOTE: These instructions will not solve the problem. They are only intended to gather more information which might provide a clue that eventually leads to a solution.

* * *

Please do this:

1. Select **File \> Preferences** from the Arduino IDE menus.
2. Check the box next to " **Show verbose output during: ☐ compilation**".
3. Click the **OK** button.
4. Select **Sketch \> Verify/Compile** from the Arduino IDE menus.
5. Wait for the compilation to fail.
6. You will see a " **Compilation error: ...**" notification at the bottom right corner of the Arduino IDE window. Click the **COPY ERROR MESSAGES** button on that notification.
7. Open a forum reply here by clicking the **Reply** button.
8. Click the **`<CODE/>`** icon on the post composer toolbar.  
This will add the forum's code block markup ( **`````** ) to your reply to make sure the error messages are correctly formatted.  
 ![Code tags icon on toolbar](https://europe1.discourse-cdn.com/arduino/original/4X/f/3/4/f34b0ef2ecd107da4bf127b3c0bc1c28569e7fe0.png)
9. Press **Ctrl+V**.  
This will [paste](https://lifehacker.com/how-to-copy-cut-and-paste-for-beginners-5801525) the compilation output into the code block.
10. Move the cursor outside of the code tags before you add any additional text to your reply.
11. Click the **Reply** button to post the output.

* * *

In case the output is longer than the forum software will allow to be added to a post, you can instead save it to a `.txt` file and then attach that file to a reply here:

1. Open any text editor program.
2. [Paste](https://lifehacker.com/how-to-copy-cut-and-paste-for-beginners-5801525) the copied output into the text editor.
3. Save the file in `.txt` format.
4. Open a forum reply here by clicking the **Reply** button.
5. Click the "Upload" icon ( ![Upload icon](https://europe1.discourse-cdn.com/arduino/original/4X/c/0/0/c0067471d5eb440267189d84a0c94cfed541a968.png)) on the post composer toolbar:  
 ![Upload icon on toolbar](https://europe1.discourse-cdn.com/arduino/original/4X/3/0/1/30174157d368457aa9e1c9f5fb673d691a6e1516.png)
6. Select the `.txt` file you saved.
7. Click the **Open** button.
8. Click the **Reply** button to publish the post.

Alternatively, instead of using the "Upload" icon on the post composer toolbar as described in steps (5) - (7) above, you can simply drag and drop the `.txt` file onto the post composer field to attach it.

---

<div class="post-metadata">

**Author:** ![twillert](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/twillert/32/1102459_2.png) [@twillert](https://forum.arduino.cc/u/twillert)\
**Post date:** [April 12, 2023, 1:29pm UTC](https://forum.arduino.cc/t/compilation-error-read-econnreset/1114185/3 "2023-04-12T13:29:54Z")

</div>

```cpp
type or paste code hereUsing board 'nodemcuv2' from platform in folder: C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2
Using core 'esp8266' from platform in folder: C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/mkbuildoptglobals.py" "C:\\Users\\Administrator\\AppData\\Local\\Programs\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\build" 10607 "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\691EE7144E1449CD7B73DF7AA17C87D3" "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\691EE7144E1449CD7B73DF7AA17C87D3/core/build.opt" "D:\\Arduino\\Blink/Blink.ino.globals.h" "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2\\cores\\esp8266/CommonHFile.h"
default_encoding: cp1252
Assume aggressive 'core.a' caching enabled.
Note: optional global include file 'D:\Arduino\Blink\Blink.ino.globals.h' does not exist.
  Read more at https://arduino-esp8266.readthedocs.io/en/latest/faq/a06-global-build-options.html
read ECONNRESET

Compilation error: read ECONNRESET

```

---

<div class="post-metadata">

**Author:** ![twillert](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/twillert/32/1102459_2.png) [@twillert](https://forum.arduino.cc/u/twillert)\
**Post date:** [April 12, 2023, 1:35pm UTC](https://forum.arduino.cc/t/compilation-error-read-econnreset/1114185/4 "2023-04-12T13:35:56Z")

</div>

```cpp
would this be a hint to the cause of my problem

Tool arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7 already installed
Tool arduino:avrdude@6.3.0-arduino17 already installed
Tool arduino:arduinoOTA@1.3.0 already installed
Downloading packages
arduino:avr@1.8.6
Replacing platform arduino:avr@1.8.3 with arduino:avr@1.8.6
Uninstalling arduino:avr@1.8.3
Error upgrading platform: arduino:avr@1.8.3 is not managed by package manager
Uninstalling arduino:avr@1.8.6
Platform arduino:avr@1.8.6 uninstalled
Failed to install platform: arduino:avr.
Error: 13 INTERNAL: Cannot upgrade platform: arduino:avr@1.8.3 is not managed by package manager

```

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [October 9, 2023, 1:36pm UTC](https://forum.arduino.cc/t/compilation-error-read-econnreset/1114185/5 "2023-10-09T13:36:43Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
