Closed krazkidd closed 4 months ago
I am still looking into this issue. My first reaction is that maybe we should add some kind of agent signature. That should help CloudFront distinguish from other traffic.
I was able to get the login working again by adding a User-Agent
header, as expected. However, some other calls are still failing (e.g. GetPositions
), I believe due to supplying GET request parameters as JSON rather than query params. This was working before but now these requests are getting the same 304 HTML response. A quick refactor will fix this but I'm creating a branch now.
It seems the API services are hosted on CloudFront because today I am getting a 403 with a
text/html
response rather than the expectedapplication/json
response. CloudFront is mentioned in the response body.Debug builds were working as of yesterday and my test REST client (Thunder Client) is not reproducing the issue. This suggests some WAF rule has identified my app for abuse and is blocking requests.