Hi
When connecting to api.flukso.net on iOS, I tend to receive 502 Bad Gateway responses while e.g. querying
https://www.flukso.net/api/sensor/91f8991e2d96b408320f32beab385df6?versi...
with proper token and version set in HTTP headers. This is the response I'm getting:
- <html>
- <head><title>502 Bad Gateway</title></head>
- <body bgcolor="white">
- <center><h1>502 Bad Gateway</h1></center>
- <hr><center>nginx/1.0.10</center>
- </body>
- </html>
Any clue?
Thanks
Tom
That's rather strange. There hasn't been any server fault condition or maintenance window recently. This curl command works like a charm on my box:
Vreemd,als ik deze URL in Safari plak, krijg ik wel degelijk een Bad Gateway...
https://api.flukso.net/sensor/c1411c6b4f9910bbbab09f145f8533b9?interval=...
Enig idee?
Should be fixed now. Can you confirm?
Hi
I think I have the same error
curl -k -v -X GET -H "Accept: application/json" -H "X-Version: 1.0" -H "X-Token: mytoken" "https://api.flukso.net/sensor/mysensor? interval=hour&unit=watt"
response
...
> User-Agent: curl/7.40.0
> Host: api.flukso.net
> Accept: application/json
> X-Version: 1.0
> X-Token: mytoken
>
< HTTP/1.1 502 Bad Gateway
< Server: nginx/1.4.7
< Date: Mon, 02 Mar 2015 20:38:52 GMT
< Content-Type: text/html
< Content-Length: 172
< Connection: keep-alive
<
502 Bad Gateway
502 Bad Gateway
nginx/1.4.7
* Connection #0 to host api.flukso.net left intact
Thank for help
sorry
I have just solved the problem
thank