-
Notifications
You must be signed in to change notification settings - Fork 13.3k
OTA password #959
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
its look like you using the Version 1.6.6 of the Arduino IDE, |
This was with Version 1.6.5-r5 on linux, I'll try it with 1.6.5 and let you know. |
Oops, my bad, errant symbolic link was left pointing to some random flavor of 1.6.6. |
Tried it with 1.6.5 as well:
Still prompts for a password. Clicking on Upload without entering a password results in the following error message:
|
1.6.5/Windows10, the password box shows up for me only when i try to use to the serial monitor, clicking 'upload' (on serial monitor password prompt) generates the same error. |
Serial Monitor for networked ESPs will not work yet. Arduino uses SSH for that and changes to the IDE are necessary. If the Arduino Team accepts out changes to enable OTA with the Upload button, next we will push one that will enable SerialMonitor over sockets so that we can use it on the ESP. Hopefully soon it will all work a breeze :) |
This issue persists, in even the latest Arduino 1.6.7 nightlies / 2.1.x WIP branches. Tested on Mac OS X. It's a deal-breaker, ladies! I don't understand why Arduino is ignoring the upload directives in |
This issue persists in nightlies because the pull request hasn't been merged by the Arduino team (yet). |
|
I'm having this same problem. The ultimate, which the solution? |
yes I have same problem. any solution? |
Update to Arduino IDE 1.6.7 |
I already use IDE 1.6.7. |
Please follow this example and your should not see any window asking for a "password to upload a new sketch". If there are issues then check Troubleshooting section as well. If this not helps then check this post and the whole following thread for an issue that may be similar to what you have. Krzysztof |
I can get OTA uploads working ok with 1.6.7 but i wondered about the comment from @me-no-dev back in Nov suggesting Serial Monitor might be made to work remotely too, which would be really cool. It prompts for a password if i try though, is it possible for remote serial monitor to work yet? |
not yet, but i'm thinking about it :) whatever we propose to the Arduino team it needs to be generic and implementable across the boards. While a simple TCP Socket is not a problem, there needs to be an option for authentication and that is the hard part. Have secure authentication that is implementable on all networked arduinos (that do not have the capability to run SSH) |
From my point of view: Debug-Code should not be present in production code. So hardcoding wifi credentials etc. just for debugging purpose would be ok for me. But that might conflict with scenarios where wifi is also used for other things and not just debug. |
Same problem for 1.8.3 installed from homebrew. |
Just be sure that you follow the steps, install phyton and disable your FW |
Have the same error
If you can help it's much appreciated. |
Is the fw in toy computer
…On 24 Feb 2018 8:16 AM, "csmcvea" ***@***.***> wrote:
Have the same error
macOS 10.13.3 Arduino IDE 1.8.5
On uploading the error The dialog *Type board password to upload a new
sketch*
I enter the password as defined in the BasicOTA script. and get the error
python /Users/csmcvea/Library/Arduino15/packages/esp8266/
hardware/esp8266/2.4.0/tools/espota.py -i 192.168.1.8 -p 8266
--auth=mypass -f /var/folders/2k/qfnbmhxd0plfydqbkrr_
phlr0000gn/T/arduino_build_404073/BasicOTA.ino.bin Authenticating...FAIL
12:58:59 [ERROR]: ERR: ERROR[11]: Invalid bootstra
I enter nothing in the dialog and this error
python/Users/csmcvea/Library/Arduino15/packages/esp8266/
hardware/esp8266/2.4.0/tools/espota.py -i 192.168.1.8 -p 8266 --auth= -f
/var/folders/2k/qfnbmhxd0plfydqbkrr_phlr0000gn/T/arduino_build_404073/BasicOTA.ino.bin
Authenticating...FAIL 13:03:39 [ERROR]: Authentication Failed
The thing is when I first uploaded it ran perfectly, so I figured I'd just
tweet the password, the port, the setHostname. And never ran again. I tried
flashing the ESP8266 again and loaded the BasicOTA again but this time I
only changed the ssid and password. No joy!
If you can help it's much appreciated.
csmcvea
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#959 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ARdZmybeXIzDBadeAcSLAzAgCkz_qILxks5tXyqlgaJpZM4Ga4yw>
.
|
UPDATE: |
@danielperez505 |
After flashing over serial, you have to physically reset the esp before trying an OTA update. Did you do that? |
You can see from my comment earlier: |
I'm on core 2.5.0 with ArduinoIDE 1.8.8 (macOS) What am I missing??? |
When trying to upload a sketch via OTA from the IDE, the following dialog box pops up:
Clicking on Upload without entering a password results in the following error message:
Trying to access the monitor via OTA a similar dialog box pops up. This may be related to the REST API used by the Arduino Yun which by default is password protected.
The text was updated successfully, but these errors were encountered: