It seems like there's absolutely no communication between the WebApp and the Trains API Server (which is by default on port 8080). Might it be that your EC2 instance network configuration does not allow incoming TCP communication on port 8008?
I just tried the .16.1 and am seeing the same behavior.
Here is the AMI id: allegroai-trains-server-0.16.1-320-273-c5c210e4-5094-4eb9-a613-a32c0378de31-ami-06f5e9f4dfa499dca.4
How did you figure out that there was no communication between the server and the web-app?
Here is the network tab when trying to load the projects page
Hi SourSwallow36 ,
This indeed sounds like some configuration is missing.
Which AMI are you using? Can you share a screenshot of the browser's developer tools Network tab (usually opens using F12
)? Please open a new browser window in Private or Incognito mode when trying this out so we'll have a "clean slate" 🙂
Oh, I've opened 8080, 8081 in my security group and NOT 8008.
Here is when I try to load the profile page
AMI : allegroai-trains-server-0.15.1-366-248-c5c210e4-5094-4eb9-a613-a32c0378de31-ami-0bc20623da659a8cd.4
Hmm, I'm using 0.15.1 which I guess is an old version. I just created a new one with 0.16.1 and will test it out
I just always feel it's important to say that since many people tend to neglect security 🙂
Please note we recommend only opening up this port (and any other ports) to you IP, not to the entire world...
I understand regarding not opening up the ports for entire world. I'm just testing the setup 🙂
Yeah, .16.1 seems a better choice 🙂 - if you have any issues there, please make sure to select the Network tab when sharing the developer tools screenshot 🙂
Well, the first call sent by the WebApp is auth.fixed_users_mode
which is used to determine the login modes supported by the server - this call does not require any credentials, and the log showed it failed (i.e. didn't even return an error response)
Got it. Thanks for the help and explanation!