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

Cant connect to local broker if there is no internet. #110

Open
wagfeliz opened this issue Jul 26, 2024 · 0 comments
Open

Cant connect to local broker if there is no internet. #110

wagfeliz opened this issue Jul 26, 2024 · 0 comments

Comments

@wagfeliz
Copy link

It connects, but drop the connection after 1 sec with error.
java -jar -DsocksProxyHost=someinvalidproxyx.com mqtt-spy-1.0.0.jar
2024-07-26 18:44:18,449 INFO [MqttAsyncConnectionRunnable ] - Connecting client ID [wagner123317212] to server [[tcp://192.168.0.205]]; options =
============== Connection options ==============
CleanSession : true
SocketFactory : null
MqttVersion : 0
KeepAliveInterval : 60
ConTimeout : 30
UserName : admin
SSLProperties : null
WillDestination : null

2024-07-26 18:44:18,450 WARN [MqttConnectionResultHandler ] - Connecting to admin failed
MqttException (0) - java.net.SocketException: Can't connect to SOCKS proxy:socks.example.com
at org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(ExceptionHelper.java:38)
at org.eclipse.paho.client.mqttv3.internal.ClientComms$ConnectBG.run(ClientComms.java:664)
at java.lang.Thread.run(Thread.java:750)
Caused by: java.net.SocketException: Can't connect to SOCKS proxy:socks.example.com
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:430)
at java.net.Socket.connect(Socket.java:606)
at org.eclipse.paho.client.mqttv3.internal.TCPNetworkModule.start(TCPNetworkModule.java:70)
at org.eclipse.paho.client.mqttv3.internal.ClientComms$ConnectBG.run(ClientComms.java:650)
... 1 more
2024-07-26 18:44:18,451 DEBUG [EditMqttConnectionController ] - Editing connection id=conn447213933 name=admin
2024-07-26 18:44:18,453 DEBUG [MqttConnectionController ] - Updating admin connection status to DISCONNECTED

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

1 participant