bug(docker): agent cant talk to agent-gateway #965

Closed
opened 2026-03-28 04:30:20 +00:00 by mfreeman451 · 0 comments
Owner

Imported from GitHub.

Original GitHub issue: #2696
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/2696
Original created: 2026-02-04T19:05:58Z


Describe the bug
Fresh install of v1.0.90 on docker

gent-default-key.pem","caPath":"/etc/serviceradar/certs/root.pem","time":"2026-02-04T19:03:11Z","message":"Loading client certificate"}
{"level":"info","component":"agent","time":"2026-02-04T19:03:11Z","message":"Loading server credentials using paths from config.TLS"}
{"level":"info","component":"agent","caFile":"root.pem","time":"2026-02-04T19:03:11Z","message":"ClientCAFile not specified, using CAFile for client verification"}
{"level":"info","component":"agent","certPath":"/etc/serviceradar/certs/components/docker-agent-default-chain.pem","keyPath":"/etc/serviceradar/certs/components/docker-agent-default-key.pem","time":"2026-02-04T19:03:11Z","message":"Loading server certificate"}
{"level":"info","component":"agent","clientCaPath":"/etc/serviceradar/certs/root.pem","time":"2026-02-04T19:03:11Z","message":"Loading server Client CA certificate"}
{"level":"info","component":"agent","time":"2026-02-04T19:03:11Z","message":"Successfully created mTLS security provider"}
{"level":"warn","component":"agent","error":"failed to connect to gateway at agent-gateway:50052: context deadline exceeded","time":"2026-02-04T19:03:21Z","message":"Gateway connection attempt failed"}
{"level":"info","component":"agent","delay":40000,"time":"2026-02-04T19:03:51Z","message":"Attempting to reconnect to gateway"}

I'm guessing we dont have a docker network alias for the agent-gateway maybe? Agent and agent gateway running in same docker compose stack, should be able to talk to each other quite easily.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Imported from GitHub. Original GitHub issue: #2696 Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/2696 Original created: 2026-02-04T19:05:58Z --- **Describe the bug** Fresh install of v1.0.90 on docker ``` gent-default-key.pem","caPath":"/etc/serviceradar/certs/root.pem","time":"2026-02-04T19:03:11Z","message":"Loading client certificate"} {"level":"info","component":"agent","time":"2026-02-04T19:03:11Z","message":"Loading server credentials using paths from config.TLS"} {"level":"info","component":"agent","caFile":"root.pem","time":"2026-02-04T19:03:11Z","message":"ClientCAFile not specified, using CAFile for client verification"} {"level":"info","component":"agent","certPath":"/etc/serviceradar/certs/components/docker-agent-default-chain.pem","keyPath":"/etc/serviceradar/certs/components/docker-agent-default-key.pem","time":"2026-02-04T19:03:11Z","message":"Loading server certificate"} {"level":"info","component":"agent","clientCaPath":"/etc/serviceradar/certs/root.pem","time":"2026-02-04T19:03:11Z","message":"Loading server Client CA certificate"} {"level":"info","component":"agent","time":"2026-02-04T19:03:11Z","message":"Successfully created mTLS security provider"} {"level":"warn","component":"agent","error":"failed to connect to gateway at agent-gateway:50052: context deadline exceeded","time":"2026-02-04T19:03:21Z","message":"Gateway connection attempt failed"} {"level":"info","component":"agent","delay":40000,"time":"2026-02-04T19:03:51Z","message":"Attempting to reconnect to gateway"} ``` I'm guessing we dont have a docker network alias for the agent-gateway maybe? Agent and agent gateway running in same docker compose stack, should be able to talk to each other quite easily. **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - OS: [e.g. iOS] - Browser [e.g. chrome, safari] - Version [e.g. 22] **Smartphone (please complete the following information):** - Device: [e.g. iPhone6] - OS: [e.g. iOS8.1] - Browser [e.g. stock browser, safari] - Version [e.g. 22] **Additional context** Add any other context about the problem here.
mfreeman451 added this to the 1.1.0 milestone 2026-03-28 04:30:20 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carverauto/serviceradar#965
No description provided.