Hi SuccessfulKoala55 Thanks for the quick response. You are right - there is an issue with the proxy. I received the following error with curl:
<html><head><title>504 Gateway Timeout</title></head> <body><h1>Gateway Timeout</h1> <p>Server error - server x.x.x.x is unreachable at this moment.<br><br>Please retry the request or contact your administrator.<br></p>. When I disabled the proxy I get : {"meta":{"id":"347820f898414cf185a30ae5fec2384f","trx":"347820f898414cf185a30ae5fec2384f","endpoint":{"name":"","requested_version":1.0,"actual_version":null},"result_code":400,"result_subcode":0,"result_msg":"Invalid request path /","error_stack":null},"data":{}}
Hi NutritiousAnt96 , welcome! 🙂
This might be caused by the Trains SDK ( trains-init
, in this case) not being able to reach the Trains Server on port 8008
- can you try doing curl http://<you-server-hostname-or-ip>:8008/
and sharing the response? It will be an error in any case, but the error details will help understand what's going on
Got it 🙂 I set NO_PROXY and it worked.