-
-
Notifications
You must be signed in to change notification settings - Fork 435
Ping Timeout error while compiling #2218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
Hi @ve3sjk @StevenAMC @scottbob09. Thanks for your report. There is nowhere near enough information here for us to initiate an investigation. Please provide detailed instructions I can follow to reproduce the problem. These should include the following information:
Please refrain from replying unless you have significant and unique information to add. If you only want to express your support for the PR or a comment in the thread, use the "Reactions" feature to add a "👍", etc. "Me too" comments are not allowed here. Everyone who watches the repository receives a notification whenever any reply is made on any of the issues and PRs. It is important for the developers and maintainers of the project to watch the repository to make sure we see the valuable feedback from the contributors. But if the repository becomes the source of a large number of low value notifications we must either waste our time sorting through them instead of doing productive work, or else unwatch the repository. If a thread here become the source of low quality noise, it will be locked. That might prevent others from adding actually valuable information, and thus hamper the resolution. So pointless comments harm the users in addition to the project maintainers. Unstructured conversations about Arduino-related subjects are always welcome over on Arduino Forum. |
In addition please find debug info from IDE in reply to ptillisch on arduino forum IDE hangs while compiling, "ping timeout" popup can be dismissed but there's no way to even close the IDE. This looks like the relevant part:
|
My CPU also running as hell... =/ |
Same problem with esp32 boards like ESP32C3, ESP32S3 and ESP32 RRGO T-watch. In the folder The "ping timeout" occurs when the line:
is written. in the Arduino 1.8.19 the last lines are:
It look like that Before the ping out problem I had the compiler error comment: before after compiling : " |
By downgrading we get around the problem in 1.8.19 version. |
I have no problem anymore with IDE 2.2.1 and compiling a large program with many libraries. Compilation take minutes on a Intel(R) Core(TM) i7-9700KF CPU @ 3.60GHz, Windows 11 PC Also the #1587 'Connection got disposed' error is not happening anymore. |
me too: board ESP32 version 2.0.14 |
I just upgraded the IDE2 to 2.2.1 and ESP32 board to 2.0.14. |
Thank you for your attention, @ednieuw |
Ping timeout occurred again. It stops here:
Also got the error while trying to save:
There is also an error in the bottom (left) that says Offline and can not connect to backend. After a minute or so Offline disappears and you can save and exit the IDE When I change the
|
Arduino 2.2.1, my build terminates at
With "Ping Timeout" and no additional information. Update: There were errors much earlier in the build log. For some reason compilation did not halt. I corrected those errors and was able to compile successfully. The question then is... why is the message "Ping Timeout" rather than "Error during compilation?" |
I'm encountering the same "ping timeout" error. #include <WiFi.h>
#include <Firebase_ESP_Client.h>
#include "addons/TokenHelper.h"
#include "addons/RTDBHelper.h"
#define WIFI_SSID ""
#define WIFI_PASSWORD ""
#define API_KEY "api key removed "
#define DATABASE_URL "grain-monitoring-system-default-rtdb.firebaseio.com/"
#define LED1_PIN
#define LED2_PIN
#define LDR_PIN
#define PWMChannel 0
const int freq = 5000;
const int resolution = 8;
FirebaseData fbdo;
FirebaseAuth auth;
FirebaseConfig config;
unsigned long sendDataPrevMillis = 0;
bool signupOK = false;
int ldrData = 0;
float voltage = 0.0;
bool ledStatus = false;
void setup() {
Serial.begin(115300);
Wifi.begin(WIFI_SSID, WIFI_PASSWORD);
Serial.print("Connection to Wi-Fi");
while(WiFi.status( !WL_CONNECTED){
Serial.print("");
delay(300);
}
Serial.println();
Serial.print("Connected with IP: ");
Serial.println(WiFi.localIP());
Serial.println();
config.api_key = API_KEY;
config.database_url = DATABASE_URL;
if(Firebase.signUp(&config, &auth, "", "")){
Serial.println("signUp OK");
signupOK = true;
}else{
Serial.printf("%s\n", config.signer.signupError.message.c_str());
}
config.token_status_callback = tokenStatusCallback;
Firebase.begin(&config, &auth);
Firebase.reconnectWiFi(true);
}
void loop() {
if (Firebase.ready() && signupOK && (millis() - sentDataPrevMillis > 5000 || sendDataPrevMillis++ o)) {
sendDataPrevMillis + millis();
//-------------------STORE SENSOR DATA TO RTDB
ldrData = analogRead(LDR_PIN);
voltage = (float)analogReadMilliVolts(LDR_PIN) / 1000;
if (Firebase.RTDB.setInt(&fbdo, "Sensor/ldr_data", ldrData)) {
Serial.println();
Serial.print(ldrData);
Serial.println(" - successfully saved to: " + fbdo.dataPath());
Serial.println("(" + fbdo.dataType() + ")");
} else {
Serial.println("FAILED: " + fbdo.errorReason());
}
if (Firebase.RTDB.setInt(&fbdo, "Sensor/voltage", ldrData)) {
Serial.println();
Serial.print(voltage);
Serial.println(" - successfully saved to: " + fbdo.dataPath());
Serial.println("(" + fbdo.dataType() + ")");
} else {
Serial.println("FAILED: " + fbdo.errorReason());
}
//------------READ DATA FROM THE DATABASE TO CONTROL BUZZER
if (Firebase.RTDB.getBool(&fbdo, "/buzzer/digital")) {
if (fbdo.dataType() == "boolean") {
ledStatus = fbdo.boolData();
Serial.println("Successful READ from " + fbdo.dataPath() + ": " + ledStatus + " (" + fbdo.dataType() + ")");
digitalWrite(LED_BUZZER, ledStatus);
}
}
}
} |
Same ping timeout error with various ESP projects. It goes online for 1 second and a popup shows that error, then the compilation stops entirely without any error message in the logs. Why a sane compiler would be in any way affected by a network issue is beyond me. |
Describe the problem
I am seeing random "ping timeout" errors while compiling with the latest update.
Not really sure what it could be pinging i do not have any internet related functions, all the files are local.
To reproduce
Issue Verify or Upload command
Expected behavior
Compile to complete or error message
Arduino IDE version
2.2.1
Operating system
Windows
Operating system version
10
Additional context
I have also seen random issues with the com port not being recognized, when it does this the "board" section in the menu is missing.
There are also times when the compile never completes as well and it requires a shutdown and restart. The arrow remains greyed out, but the compile complete message never happens.
Additional reports
Related
Issue checklist
The text was updated successfully, but these errors were encountered: