danmermel / cryptario

Cryptic crossword solver
0 stars 0 forks source link

Handle Lambda timeouts better #62

Closed danmermel closed 4 years ago

danmermel commented 4 years ago

When a request times out in the backend, the front end gets a 504.

But the front end does nothing with that, so it just hangs there, waiting for a reply. We should do better.

Request URL: https://prod.remebit.com/containers Request Method: POST Status Code: 504 Remote Address: 143.204.181.86:443 Referrer Policy: no-referrer-when-downgrade Provisional headers are shown Content-Type: text/plain;charset=UTF-8 DNT: 1 Origin: https://danmermel.github.io Referer: https://danmermel.github.io/cryptario/ Sec-Fetch-Mode: cors User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36 {clue: "Outlaws in gangs carrying equipment (8)"} clue: "Outlaws in gangs carrying equipment (8)"