Sure, no problem - I'll go think of something that will help us get this error more easily next time ๐
Might be a typo in the new configuration?
Bad requests meaning unanswered requests or returning with 4xx code?
Hang on, It was the static - No auto update AMI:ami-0d6f44a1a7145a9f8
I assume you have an SSH to the server?
Indeed. Try sudo docker logs trains-apiserver
- let's see what's bothering it ๐
Can you send a wider screenshot? Two containers seem to be restarting...
๐ - nothing's embarrassing, we all have typos ๐
I just changed the login details prior the restarting of the server, could this be at fault? I changed the trains-user to a different one
Hi TrickyRaccoon92 , did you install it yourself or did you use the Trains AMI (if so, was it the auto-update AMI or the static one)?
Probably the apiserver component and the fileserver component...
A lot of bad requests and connection refused
OK - this looks like either the server is down or there's a communication issue (FW most likely)
(BTW - in the AMI distributions, the docker-compose-yml
should reside in /home/ec2-user
)
Well, before we start debugging this inside the server, maybe a few simple check to make sure we know whats going on externally... Try opening a new private browser session, open the Dev Tools ( F12
) on the network tab, and than try to browse to the Trains UI - what do you get?
Try doing sudo docker ps
and see what's up
Login details to? You mean the user/password you use to login into Trains UI?
The question is whether the server is there but refusing to handle the calls, or whether its down or blocked due to some network issue