Hi , I am trying calling this web-service but this service is not working . it is giving me error 504 gateway timeout
https://myopenhab.org/rest/things/{thingUID}/config
But this is working for local ip addree where my openahb is running,
https://{ip:address}/rest/things/{thingUID}/config
Please help me
rlkoshak
(Rich Koshak)
October 12, 2017, 3:16pm
2
I assume you are replacing {thingUID}
with an actual UID of one of your Things?
I find the same behavior. When using the REST API Docs to call that API it spins until it eventually times out when going through myopenhab.org but it returns immediately when I call it from the LAN.
Are you authenticating the call to myopenhab.org ?
1 Like
miker
(Michael Ritterbusch)
October 12, 2017, 9:18pm
4
are you sure you don’t need to add the tcp port into the URL? ex. https://openhab:8443/rest/things/
rlkoshak
(Rich Koshak)
October 13, 2017, 1:10am
5
I did my experiment using the REST docs through my openHAB.org and therefore was already logged in. Other REST calls worked.
i am logged in into myopenhab.org and all my rest call works except this https://myopenhab.org/rest/things/{thingUID}/config
this call is wirking for me ,
https://myopenhab.org/rest/things/
I am not adding any port to myopenhab url and it is still working.