HTTP device not working?

Avatar
  • updated
  • Under review

Hello,

I've recently updated to version 4.6.17 and http devices with authentication stopped working since then. Funny thing is the http devices with no authentication keep working fine.

I use http devices with authentication to activate Mobotix cameras recordings and it doesn't work since the update. The "Response data" value is empty and no error is showed in the log window. If I use a program task to do the http request, a "no authorised" error messages shows in the log window, even though I'm sure the user and password are correct.

On the other hand, I use http devices to do a couple of tasks with Sonos and it's still working fine.

Any tips?


Thanks in advance.

Best regards

Avatar
Fabien Fuster

Just an heads up :

The new beta 6.31 is available. It improved the situation significantly for me as only one last device (Foobot API) show 401 error message. All other devices don't show error or regular disconnection messages anymore. Getting closer to full resolution here !

Best regards

Avatar
Andrzej Szymkowicz

The beta doesn't solve the problem with Netatmo (post command in oauth2/token):

Avatar
Fabien Fuster

Hi Andrej,

Does your device host url finish with a "/" ? I've found out that ending the url with any other character is creating some issues. You need to adjust the url and command accordingly....

For exemple :

hoslt url http://192.178.99.1/api/1.0/ and command ?method=system.getInfo will work

hoslt url http://192.178.99.1/api/1.0/?method= and command system.getInfo will not work

This might be one of the reason of your troubles. 

Regards,