derekantrican / BambuLabsListener

4 stars 0 forks source link

Connection timed out #3

Open derekantrican opened 1 year ago

derekantrican commented 1 year ago

I tested this on another Windows machine on my network and got this issue:

Unhandled exception. MQTTnet.Exceptions.MqttCommunicationTimedOutException: The operation has timed out.
   at MQTTnet.Implementations.CrossPlatformSocket.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
   at MQTTnet.Implementations.MqttTcpChannel.ConnectAsync(CancellationToken cancellationToken)
   at MQTTnet.Adapter.MqttChannelAdapter.ConnectAsync(CancellationToken cancellationToken)
   at MQTTnet.Client.MqttClient.ConnectInternal(IMqttChannelAdapter channelAdapter, CancellationToken cancellationToken)
   at MQTTnet.Client.MqttClient.ConnectAsync(MqttClientOptions options, CancellationToken cancellationToken)
   at MQTTnet.Client.MqttClient.ConnectAsync(MqttClientOptions options, CancellationToken cancellationToken)
   at Program.<Main>$(String[] args) in C:\Users\derek\source\repos\BambuLabsListener\Program.cs:line 25
   at Program.<Main>(String[] args)
derekantrican commented 1 year ago

Installing MQTT Explorer, connecting through that, then trying to dotnet run this program seemed to work. Not sure if that sets up some configs or anything