503 error when going through proxy

34 views
Skip to first unread message

Mike Watson

unread,
May 19, 2017, 6:28:00 AM5/19/17
to Met Office DataPoint
Hi, I'm trying to access datapoint via a json proxy however its always returning a 503 when i do so. The proxy itself is fine and I can see the request from it to datapoint. When I specify an invalid key datapoint correctly returns a 404 so I know its definitely hitting the service.

Am I missing something obvious? 

Thanks.

Mike Watson

unread,
Jun 26, 2017, 6:29:17 PM6/26/17
to Met Office DataPoint
I resolved this by writing a PHP wrapper which called datapoint instead of using the proxy. Worked nicely and incorporates a check for the empty responses too before my javascript front end gets near it.
Reply all
Reply to author
Forward
0 new messages