You can actually check the "Workers and Queues" page in the server to see if the Trains Agent Services instance running on the server machine is showing there. If not, I suggest setting TRAINS_HOST_IP to the correct IP so that the agent services instance will be able to communicate with the API server.
Hi PompousHawk82 ,
From your description it sounds like the WebApp running on your browser cannot reach the Trains API Server running on the server you installed in port
Can you provide some more information? The screenshot of your browser's developer tools window (
F12 ) showing the Network tab would help.
Also, try entering the following in a browser window and see if you get any response:
i tired to run trains-compose without -d to say the log,
trains-agent-services | trains_agent: ERROR: Connection Error: it seems api_server is misconfigured. Is this the TRAINS API server http://apiserver:8008 ?
trains-agent-services | http://126.96.36.199:8081 http://188.8.131.52:8080 http://apiserver:8008
I didn’t assign anything to TRAINS_HOST_IP, not sure if the apiserver:8008 caused the problem
i’m trying to install it my lab server, but the same problem happen, when i try to create credentials, it say error but this time it give more info:
Error 301 : Invalid user id: id=f46262bde88b4928997351a657901d8b, company=d1bd92a3b039400cbafc60a7a5b1e52b
PompousHawk82 look here: https://allegroai-trains.slack.com/archives/CTK20V944/p1605816472498800?thread_ts=1605814409.497600&cid=CTK20V944
You'll have to make sure both
8008 are tunneled
btw, i couldn’t run docker-compose w/o sudo, not sure if this is relevant (this problem is fixed).
This should not be a problem, it mostly depends on how your system was set up. Let's try to figure out your original issue and make sure this doesn't affect it