AgentOperationsTroubleshooting
RemoteAgent Connection Failed
Troubleshooting order when RemoteAgent cannot connect to the server
RemoteAgent Connection Failed
Check these first:
- whether the server actually called
agent.start({ http: { ... } }) - whether
baseUrlis correct - whether the server port is really listening
Common misunderstanding
Creating a RemoteAgent client does not mean the server will start automatically.
The server must explicitly expose HTTP first.
So the first debugging target here is usually not the session. It is:
- whether the server is actually listening
- whether
baseUrlpoints to the right place