OTA username/pw is not read from config #54

Closed
opened 2026-10-05 05:32:21 +02:00 by adam · 5 comments
Owner

For a while I had problems accessing the OTA page - if I had a password configured, it wasn't working. If I tried to remove the username/password, I was still being asked for an username/password for OTA.

Eventually I added a couple of serial.println calls to ota_utils.cpp and found that regardless of the configured OTA username/pasword in the config file, the username and password are always literal string "null". This is with various firmwares since February.

How to replicate: start with a virgin board, upload firmware and default filesystem (without OTA username/password) to it. Connect to AP, Click on "Update OTA" and when asked for username/password, enter null/null.

Anybody else seeing this?

For a while I had problems accessing the OTA page - if I had a password configured, it wasn't working. If I tried to remove the username/password, I was still being asked for an username/password for OTA. Eventually I added a couple of serial.println calls to ota_utils.cpp and found that regardless of the configured OTA username/pasword in the config file, the username and password are always literal string "null". This is with various firmwares since February. How to replicate: start with a virgin board, upload firmware and default filesystem (without OTA username/password) to it. Connect to AP, Click on "Update OTA" and when asked for username/password, enter null/null. Anybody else seeing this? <!-- github-sync-id:2242300397 -->
adam closed this issue 2026-10-05 05:32:21 +02:00
Author
Owner

Yes, confirmed and already adressed to Ricardo

Yes, confirmed and already adressed to Ricardo <!-- github-comment-id:2054150975 -->
Author
Owner

Yes, we found the problem and this will be fixed within 24 hours

Yes, we found the problem and this will be fixed within 24 hours <!-- github-comment-id:2054174772 -->
Author
Owner

Ok please check the fresh release. Now it should work :) 73! Damian SQ2CPA

Ok please check the fresh release. Now it should work :) 73! Damian SQ2CPA <!-- github-comment-id:2059801937 -->
Author
Owner

Confirm it is fixed for me, thank you!

Confirm it is fixed for me, thank you! <!-- github-comment-id:2060848966 -->
Author
Owner

great!

great! <!-- github-comment-id:2061921927 -->
adam changed title from OTA username/pw is not read from config to OTA username/pw is not read from config 2026-10-27 16:28:59 +01:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/LoRa_APRS_iGate#54