seaky / nspanel_pro_tools_apk

424 stars 9 forks source link

Unable to connect MQTT with empty User / Password #105

Closed onemorename closed 4 months ago

onemorename commented 5 months ago

I'm unable to connect against my mqtt broker with blank username / password. As soon as i put something in it tries to connect but fails for sure. Are we only able to connect authenticated here? I think this should be optional

seaky commented 5 months ago

Yep, as I tested for anonymous connection you should provide at least a username. Try to provide a fake username wo password. Just the hostname and a username is mandatory!

onemorename commented 5 months ago

Doesn‘t work, failed to connect with a dummy username and empty password


Von: seaky @.> Gesendet: Saturday, June 22, 2024 8:47:19 AM An: seaky/nspanel_pro_tools_apk @.> Cc: Martin Aigner @.>; Author @.> Betreff: Re: [seaky/nspanel_pro_tools_apk] Unable to connect MQTT with empty User / Password (Issue #105)

Yep, as I tested for anonymous connection you should provide at least a username. Try to provide a fake username wo password. Just the hostname and a username is mandatory!

— Reply to this email directly, view it on GitHubhttps://github.com/seaky/nspanel_pro_tools_apk/issues/105#issuecomment-2183860221, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2STYTFPKX3JQGDFI3WIFTTZIUMXPAVCNFSM6AAAAABJWS7PS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBTHA3DAMRSGE. You are receiving this because you authored the thread.Message ID: @.***>

seaky commented 5 months ago

will be fixed in 2.2.1 soon

seaky commented 5 months ago

new version is available

onemorename commented 5 months ago

Thanks, this was quick! Still, it's unable to connect showing 'failed to connect'. I have several other devices connected to the broker without any issue, any idea what may be the reason here?

seaky commented 5 months ago

Could you please enable full verbose log and post here? You can find the file /data/data/com.seaky.nspanelpro.tools/logs/debug.log

onemorename commented 5 months ago

Was unable to download the file, still sorting out how to get this downloaded:

C:\tools\platform-tools>adb pull /data/data/com.seaky.nspanelpro.tools/logs/debug.log adb: error: failed to stat remote object '/data/data/com.seaky.nspanelpro.tools/logs/debug.log': Permission denied

When i look on the nspanel log viewer i can see following events / errors:

processed-19267C4E-D181-4F7E-936E-45AE77887529