-
Notifications
You must be signed in to change notification settings - Fork 94
ESP32: OTA with IP address (no hostname) is failing #35
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
use the public IP of the 'firewall', not the local IP behind it |
That is in fact what I am doing. The IP of the ESP is 192.168.199.40, as compared to that of the firewall/gateway that you find in the log I enclosed. The router acting as firewall is spanning the 192.168.199.0/24 subnet. |
doesn't this platformio upload do a espota.py way, not the arduinoOTA tool way upload expected by this library? |
If I only knew the difference... I installed your library from within PlatformIO, where it is offered as part of the Arduino environment (as compared to the ESP-IDF environment), so I was assuming it would be integrated. There is an esptool.py being used obviously, but that is about all I know about it. |
https://github.com/jandrassy/ArduinoOTA#esp8266-and-esp32-support but it is possible, that platformio doesn't use the Arduino platform.txt file. see #29 |
I have read that, thanks, but I think this is referring to using the Arduino IDE? I do not use that, but PlatformIO only with the Arduino environment. All the paths and commands mentioned in your linked section are belonging to the Arduino IDE, right? |
Well, your second hint to the
Rats. :( |
platformio is not Arduino. they change things and lose compatibility. I don't use platformio and I don't plan to support it |
I got a setup here where the ESP32 is connected by Ethernet and is put behind a firewall, that does port forwarding of port 3232 to the ESP. So I cannot use the host name as put into the ArduinoOTA.begin() call, but only the firewall's IP address. When trying to do an OTA update, the invitation packets seem to be sent, but never answered:
Is it possible that he ESP is discarding the packets due to the missing host name?
Is there a way to get around that?
My development IDE is VSCode/Platformio, btw.
The text was updated successfully, but these errors were encountered: