Hi GiddyTurkey39 , this usually happens when the wizard fails reaching the Trains Server, or if it reaches a different server than the one you're trying to connect to (the demo server, for example?)
Yeah, I’m trying to connect to my own server, and I installed trains-agent
on a vm. How could I diagnose the issue?
i ran ping <IP HERE>:8008
, it returnsping: <ip-here>:8008: Name or service not known
You can configure the VM to use the host network (instead of creating a new subnetwork for the VM). In that case, you will notice they will both have the same IP address space
Are you running it from a new machine, or a new location (that might have some networking issues like FW configuration with regard to the Trains Server)?
Well, first simply try to access the server using curl -XGET http://<server-address>:8008/debug.ping
to see if you can reach the server
GiddyTurkey39 can you ping the server-address
(just making sure, this should be the IP of the server not 'localhost')
GiddyTurkey39
I would guess your VM cannot access the trains-server
, meaning actual network configuration issue.
What are VM ip and the trains-server IP (the first two numbers are enough, e.g. 10.1.X.Y 174.4.X.Y)
You'll have to figure out what's blocking the communication 😞
GiddyTurkey39 Just making sure, you ran ping IP
not ping ip:port
right ?
At all? So you have a network issue - probably blocked by a firewall?
The VM ip is 153.73.X.Y and the trains-server IP is 34.74.X.Y
GiddyTurkey39 Hmm I'm assuming that by default it cannot access that IP range.
Are you using virtual-box for the VM?
EDIT:
Can I assume the machine running the VM (a.k.a the host) can access the trains-server
?
Let me look into that and I’ll let you know
Yeah, the command is executed and nothing is returned.