You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `api.dev.ooni.org` domain was reportedly failing with the check-in
API as reported here: ooni/probe#2741. On more
inspection, we found that the `nginx` server was not configured with
IPv6 support which caused the connection between the upstream server and
the EC2 instance to time out. The `/var/log/nginx/error.log` logs found
on the machine:
```
2024/06/05 09:07:33 [error] 89061#89061: *519419 upstream timed out (110: Unknown error) while connecting to upstream, client: 10.0.1.164, server: _, request: "POST /api/v1/check-in HTTP/1.1", upstream: "https://[2a01:4f9:1a:9494::2]:443/api/v1/check-in", host: "api.dev.ooni.io"
2024/06/05 09:11:34 [error] 89061#89061: *519456 upstream timed out (110: Unknown error) while connecting to upstream, client: 10.0.1.164, server: _, request: "POST /api/v1/check-in HTTP/1.1", upstream: "https://[2a01:4f9:1a:9494::2]:443/api/v1/check-in", host: "api.dev.ooni.io"
```
To this end, the diff here adds support for IPv6 `egress` traffic for
the `nginx_sg` security group.
Describe the bug
While contacting https://api.dev.ooni.io, the API will occasionally return a 504 after 60 seconds.
To Reproduce
You need to send the request several times, frequency of the error varies. Some times it fails on check-in, others in submission, etc.
Expected behavior
Not a 504.
The text was updated successfully, but these errors were encountered: