Summary
The user is experiencing a 503 error when trying to access the Airbyte Web UI on an EC2 instance. The logs indicate authentication issues with the nginx server.
Question
Just installed Airbyte In a EC2 no aws using this guide: https://docs.airbyte.com/deploying-airbyte/on-aws-ec2
When i try to acess the Web UI, getting a 503 error.
Wget on localhost:8000 results in a 401 Status code.
This is a log from the docker container.
Adding password for user airbyte
starting nginx...
nginx version: nginx/1.25.3
10.47.84.152 - - [26/Jan/2024:14:52:13 +0000] "GET / HTTP/1.1" 401 701 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
10.47.84.152 - - [26/Jan/2024:14:56:14 +0000] "GET / HTTP/1.1" 401 701 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
10.47.84.152 - - [26/Jan/2024:14:59:30 +0000] "GET / HTTP/1.1" 401 701 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
10.47.84.152 - - [26/Jan/2024:15:03:09 +0000] "GET / HTTP/1.1" 401 701 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
2024/01/26 15:03:16 [error] 12#12: *7 user "root" was not found in "/etc/nginx/.htpasswd", client: 10.47.84.152, server: , request: "GET / HTTP/1.1", host: "10.47.93.115:8000"
10.47.84.152 - root [26/Jan/2024:15:03:16 +0000] "GET / HTTP/1.1" 401 701 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
2024/01/26 15:03:19 [error] 12#12: *7 user "admin" was not found in "/etc/nginx/.htpasswd", client: 10.47.84.152, server: , request: "GET / HTTP/1.1", host: "10.47.93.115:8000"
10.47.84.152 - admin [26/Jan/2024:15:03:19 +0000] "GET / HTTP/1.1" 401 701 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
172.18.0.1 - - [26/Jan/2024:16:31:43 +0000] "GET / HTTP/1.1" 401 701 "-" "Wget/1.14 (linux-gnu)"
172.18.0.1 - - [26/Jan/2024:16:37:46 +0000] "GET / HTTP/1.1" 401 701 "-" "Wget/1.14 (linux-gnu)"
172.18.0.1 - - [26/Jan/2024:16:37:52 +0000] "GET / HTTP/1.1" 401 701 "-" "Wget/1.14 (linux-gnu)"
[root@ip-10-47-93-115 ec2-user]# cat etc/nginx/.htpasswd
cat: etc/nginx/.htpasswd: No such file or directory```
<br>
---
This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. [Click here](https://airbytehq.slack.com/archives/C021JANJ6TY/p1706287503087979) if you want to access the original thread.
[Join the conversation on Slack](https://slack.airbyte.com)
<sub>
["503-error", "airbyte-web-ui", "ec2-instance", "nginx", "authentication"]
</sub>