OpenIotOrg / openiot

The Open Source Project for the Internet of Things
459 stars 189 forks source link

IDE/Request*: Failure after token timeout. #106

Open hylkevds opened 9 years ago

hylkevds commented 9 years ago

The IDE, request presentation and request definition all fail when the login token times out, either without any error at all, or with an unhelpful error.

When refreshing the dashboard: "There was an error connecting to the OpenIoT SD&UM service" When reloading applications: "ERROR_CONNECTING_TO_REGISTRATION_SERVICE" Both error messages are technically incorrect, since it can connect, it is just told that the token has timed out.

But it should not give an error at all, it should just either fetch a new token, or show the login screen.