Skip to content
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

[Bug]: Saving MQTT config via web interface on Heltec v3 doesn't work #251

Closed
Calimerorulez opened this issue Mar 21, 2024 · 16 comments · Fixed by #252
Closed

[Bug]: Saving MQTT config via web interface on Heltec v3 doesn't work #251

Calimerorulez opened this issue Mar 21, 2024 · 16 comments · Fixed by #252
Labels
bug Something isn't working

Comments

@Calimerorulez
Copy link

Category

Other

Hardware

Heltec V3

Firmware Version

2.3.1

Description

Trying to save MQTT config via web interface doesn't work.

Relevant log output

Console output Chrome:

index-nsbd6Oaw.js:84 Uncaught (in promise) TypeError: o.toBinary is not a function
    at zg (index-nsbd6Oaw.js:84:14940)
    at Vg (index-nsbd6Oaw.js:84:14228)
    at Object.writeMessage (index-nsbd6Oaw.js:84:11921)
    at i.toBinary (index-nsbd6Oaw.js:83:29735)
    at zg (index-nsbd6Oaw.js:84:14940)
    at Vg (index-nsbd6Oaw.js:84:14228)
    at Object.writeMessage (index-nsbd6Oaw.js:84:11921)
    at i.toBinary (index-nsbd6Oaw.js:83:29735)
    at zg (index-nsbd6Oaw.js:84:14940)
    at Vg (index-nsbd6Oaw.js:84:14228)
@Calimerorulez Calimerorulez added the bug Something isn't working label Mar 21, 2024
@garthvh garthvh transferred this issue from meshtastic/firmware Mar 21, 2024
@yaleman
Copy link

yaleman commented May 2, 2024

I'm getting the same issue on T-Beam 2.3.6.7a3570a Beta ..

@kdkd
Copy link

kdkd commented May 9, 2024

I can confirm the same problem. I think commit 6113924 broke it. Rolling it back allows me to enable MQTT now.

@Obliterous
Copy link

I can confirm this is still broken with latest version as of June 19th.

@Hunter275
Copy link
Member

@Obliterous What firmware are you on and are you using https://client.meshtastic.org ?

@Obliterous
Copy link

@Obliterous What firmware are you on and are you using https://client.meshtastic.org ?

2.3.10.d19607b

Yes.

@Hunter275
Copy link
Member

@Obliterous Can you update to 2.3.11 and lmk if this bug persists, I cannot replicate it on 2.3.11

@Obliterous
Copy link

2.3.11.2740a56 Beta installed, still unable to save mqtt config. if I change & save any other setting for any other module, it will save those changes again without retaining MQTT changes.

@Obliterous
Copy link

update: it always triggers a save of SERIAL settings, even if others have been changed. Changes to MQTT settings are not retained.

@Obliterous
Copy link

Obliterous commented Jun 20, 2024

Additional; after updating to 2.3.11.2740a56, I am no longer able to connect via BT.

EDIT; NVM, I'm an idiot here. had wifi enabled.

@dmanierre
Copy link

dmanierre commented Jun 21, 2024

I'm also facing the same issue, I tried with 2.3.11 and 2.3.12 I was just trying to toggle the Enable slider on the MQTT tab and save but can't get the changes to stick. I'm also using https://client.meshtastic.org/

@Hunter275 Hunter275 transferred this issue from meshtastic/web Jun 22, 2024
@Hunter275
Copy link
Member

The issue is in the toBinary() call when preparing to send the moduleConfig to the device. I believe it is failing due to the model for MQTT config being incorrect.

Working on a fix.

@Hunter275
Copy link
Member

I can confirm the same problem. I think commit 6113924 broke it. Rolling it back allows me to enable MQTT now.

6113924

@Hunter275 Hunter275 transferred this issue from meshtastic/js Jun 23, 2024
@Hunter275
Copy link
Member

@MidlifeRenaissanceMan
Copy link

MidlifeRenaissanceMan commented Jun 23, 2024

Seems to have worked on a V3 433MHz board running a5a37cd using an old Chrome Version 103.0.5060.53 (Official Build) (64-bit) on CentOS7. I seem to have some other problems, but I'll try it on a few different V3 units I have.

edit: USB Serial connect

@Hunter275
Copy link
Member

@MidlifeRenaissanceMan other problems?

@MidlifeRenaissanceMan
Copy link

As I suspected. Antenna issues. Not software

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants