Skip to main content
1-Visitor
September 9, 2019
Question

Reconnection fails after interrupted Connection

  • September 9, 2019
  • 2 replies
  • 1355 views

Hello,

 

we're using .Net SDK and want to make sure that the connection is re-established after losing it.

The Properties of the ClientConfigurator object are default and look good:

AutoReconnect = true

ConnectRetries = -1

ConnectTimeOut = 10000

ReconnectInterval = 60

PongTimeout = 10000

My expectations are, that after losing the connection to the ThingWorx server and re-establishing it, the ThingWorx client noticed that and makes a reconnect to the server. 

Is there anything to do manually to get the reconnection?

 

 

Best regards,

Sascha

 

 

 

 

2 replies

Rungholt1-VisitorAuthor
1-Visitor
September 10, 2019

Was able to narrow the problem down: Without proxy the reconnect works. With proxy it doesn't.

Strange because, the initial connect WITH proxy propperly works.

Support
September 10, 2019

HI @Rungholt

 

Are you getting any errors when the failure occurs?  I'm not sure we can assist since this sounds like an issue with your proxy, but we may be able to tell more with more details around your configuration.

 

Regards.

 

--Sharon

Support
September 24, 2019

Hi @Rungholt.

 

Have you found a solution to your problem?  If so, we would appreciate if you would post it here for the benefit of others with the same issue.

 

Regards.

 

--Sharon