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

Cannot save broker connection (& "{}" white-on-red error on startup) #749

Closed
jgbreezer opened this issue Jan 13, 2024 · 5 comments
Closed

Comments

@jgbreezer
Copy link

jgbreezer commented Jan 13, 2024

At every start of the application after running the installable version, there is a white-on-red '{}' overlaid in a box at the bottom left (curved corners). This looks like an error message but there is no message just the empty curly brackets.

I can click to create a connection just fine though.
Clicking 'save' button for any entered MQTT connection (and any future start attempts) after a fresh install fails. I can click connect instead and it connects and is usable.

Having seen another issue with a user with a similar problem, I'll note: The install process does not complain or ask for permissions of any kind, and it installs the executable into "C:\Users\MYUSER\AppData\Local\Programs\MQTT-Explorer\MQTT Explorer.exe" (no files created in Program Files or Program Files (x86)). I don't see any record of it in the AppData\Roaming folder. I haven't restarted or logged out in quite a while so will try that to see if it helps, but its not mentioned anywhere and nowadays isn't required for most apps. I do have multiple users on this machine.

If there's a debug flag or parameter or setting I can use to see more info/logging, happy to try that; or a debug build of it (am an experienced software developer, just on Linux generally not Windows)

@jgbreezer
Copy link
Author

When I try to save a connection, I get the same '{}' error in white text on red background box at the bottom left of the window.

@jgbreezer
Copy link
Author

PS I'm on Windows 11 Pro, version 22H2; system is up to date.

@bj00rn
Copy link
Collaborator

bj00rn commented Jun 3, 2024

@jgbreezer you can build it on your own if you have node installed

  1. Clone repo

  2. Install dependencies and run

yarn install
yarn dev

@jgbreezer
Copy link
Author

Thank you for your help. Figured it out, it was indeed a file permissions issue. Took ages to find though as I thought I'd set them right and it was actually in a higher level directory. Having an error message from the write failure about permission fail would have helped figure that out, instead of just "{}".

@bj00rn
Copy link
Collaborator

bj00rn commented Jun 3, 2024

@jgbreezer can you provide a reproducible example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants