thingsboard-client-sdk icon indicating copy to clipboard operation
thingsboard-client-sdk copied to clipboard

cannot connect to thingsboard demo server

Open ChristosPalisidis opened this issue 6 years ago • 1 comments

Hello! I was connected and capable of tranfering data few days ago.Without changing anything in my code, i am unable to connect now. The demo server and TOKEN is being given correctly, although the tb.connect(host,token) returns false. The only thing that changed those days, is that i was transfered in a new location with a different netwotk.Is there any issues with security policies etc and if yes, how can i overcome this?

ChristosPalisidis avatar Aug 09 '19 09:08 ChristosPalisidis

I'm no thingsboard expert but you might what to check:

  1. can you connect to other sites (or even just ping).
  2. could it be that the token expired.
  3. or maybe the date-time on the new network is not configured properly and it makes the token think it has expired.

zvikarp avatar Feb 25 '20 21:02 zvikarp