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

Doesn't connect #18

Closed
vzorglub opened this issue Jan 15, 2019 · 9 comments
Closed

Doesn't connect #18

vzorglub opened this issue Jan 15, 2019 · 9 comments
Labels
bug Something isn't working

Comments

@vzorglub
Copy link

screenshot from 2019-01-15 19-53-57

Stays on there, doesn't connect

Ubuntu 18.04LTS
Version: MQTT-Explorer-0.0.5-x86_64.AppImage

@thomasnordquist
Copy link
Owner

Thanks! I'll take a look.
I never actually tried it with credentials, just passed them to the connection lib.
Sadly the MQTT lib does not respond with an error if something fails, just tries to reconnect over and over.

@thomasnordquist
Copy link
Owner

Thank you very much!
Authentication works now, I made a new release.

  • Password is now replaced with starts (can be made visible): *********
  • User will be notified when an authentication/connection error occurs

You made this App a whole better =)
I'd probably never noticed :P

@vzorglub
Copy link
Author

Sorry but I come up with a blank app. No connection dialog.
Is there any cache I need to clear from the old app?

@thomasnordquist
Copy link
Owner

Give me a second I'll check the AppImage.

@thomasnordquist
Copy link
Owner

thomasnordquist commented Jan 15, 2019

It updated and started the app without trouble in my Ubuntu machine...
Can you tell ne what the log says?
tail -n100 ~/.config/MQTT-Explorer/log.log

Probably stupid question but: Have you tried closing and restarting the app.
The auto-update might also have renamed the AppImage file.

@thomasnordquist thomasnordquist added the bug Something isn't working label Jan 15, 2019
@vzorglub
Copy link
Author

Here is the log:

[2019-01-15 19:38:17.556] [info] App starting...
[2019-01-15 19:38:20.051] [info] Checking for update
[2019-01-15 19:38:20.271] [info] Generated new staging user ID: 6c7559be-15cb-576d-afdc-5e20a9f1e0c0
[2019-01-15 19:38:22.061] [info] Update for version 0.0.5 is not available (latest version: 0.0.5, downgrade is disallowed).
[2019-01-15 19:45:27.771] [info] App starting...
[2019-01-15 19:45:31.393] [info] Checking for update
[2019-01-15 19:45:33.798] [info] Update for version 0.0.5 is not available (latest version: 0.0.5, downgrade is disallowed).
[2019-01-15 19:52:15.510] [info] App starting...
[2019-01-15 19:52:17.193] [info] Checking for update
[2019-01-15 19:52:19.003] [info] Update for version 0.0.5 is not available (latest version: 0.0.5, downgrade is disallowed).
[2019-01-15 19:53:47.042] [info] App starting...
[2019-01-15 19:53:48.617] [info] Checking for update
[2019-01-15 19:53:50.482] [info] Update for version 0.0.5 is not available (latest version: 0.0.5, downgrade is disallowed).
[2019-01-15 20:33:17.869] [info] App starting...
[2019-01-15 20:33:19.811] [info] Checking for update
[2019-01-15 20:33:21.786] [info] Update for version 0.0.5 is not available (latest version: 0.0.5, downgrade is disallowed).
[2019-01-15 22:31:03.245] [info] App starting...
[2019-01-15 22:33:49.404] [info] App starting...
[2019-01-16 07:15:52.897] [info] App starting...

@thomasnordquist
Copy link
Owner

Not sure what is wrong here.

These directories might not all exist, after deleting them there should be nothing left of the app

rm -r .config/MQTT-Explorer
rm -r .cache/mqtt-explorer-updater
rm -r /tmp/.mount_MQTT-*

In the meantime, I'll definitely check if I can make the app more resilient to exceptions.

Version 0.0.7 has debugger support built in.
This allows to see the developer console, including the "renderer logs".
See the section "Console" for the logs
./MQTT-Explorer-0.0.7-x86_64.AppImage x --debug

The output should look like this
bildschirmfoto 2019-01-16 um 10 55 20

@vzorglub
Copy link
Author

It works now. Thanks

@thomasnordquist
Copy link
Owner

Happy to hear it!

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

No branches or pull requests

2 participants