I have recently deployed my app to my production server on a DigitalOcean droplet. When I am now doing the request to login, I get the response ‘503 - Service Unavailable’. I wasn’t sure what was causing this, thought it might have been a cookie related issue as it was my 1st attempt to login to Smarkets on that box so I attempted to log in through the UI on that box.
Alas, this was to no avail. When I tried to log in through the UI, I get the same response:
However, if I login at the same time on my own device (which I have been using up until now), the request succeeds & I am logged in successfully.
I have tried browsers Firefox & Chrome.
Below is the response I got from the request outline here.
NOTE: It was a HTML page but when I pasted it in to the question this was the output
I also tried to do the request to
v0/sessions/ as is done in the browser but that came back with the same response.
If I go initially to smarkets.com, a 5 second page pops up labelled
Checking your browser before accessing smarkets.com
(As is highlighted in the above response)
I cannot see any differences in the requests between the browsers. Is there some sort of whitelisting of IPs going on in the background that I am not aware of? Why is it that I am getting 503s when attempting to login on my DO box?