louislam / dockge

A fancy, easy-to-use and reactive self-hosted docker compose.yaml stack-oriented manager

Home Page:https://dockge.kuma.pet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[agents] Error from the socket server after agent removed

tippfehlr opened this issue · comments

⚠️ Please verify that this bug has NOT been reported before.

  • I checked and didn't find similar issue

🛡️ Security Policy

Description

I removed an agent, now every ~3 seconds this error is logged:

dockge-dockge-1  | 2024-01-10T11:15:28Z [AGENT-MANAGER] ERROR: Error from the socket server: raspberrypi:5001

the agent management is great, I removed it for other reasons

👟 Reproduction steps

  • add an agent
  • add a stack to the remote agent, I can’t remember if I removed it before removing the agent
  • remove the agent

👀 Expected behavior

The dockge host does not try to connect to the agent anymore.

😓 Actual Behavior

The dockge host (probably) tries to connect to the agent, fails (because it is no longer online) and throws/reports an error.

Dockge Version

1.4.1

💻 Operating System and Arch

Debian/Armbian

🌐 Browser

Firefox 121.0.1

🐋 Docker Version

Docker version 24.0.7, build afdd53b

🟩 NodeJS Version

No response

📝 Relevant log output

…
dockge-dockge-1  | 2024-01-10T11:13:46Z [AGENT-MANAGER] ERROR: Error from the socket server: raspberrypi:5001
dockge-dockge-1  | 2024-01-10T11:13:54Z [AGENT-MANAGER] ERROR: Error from the socket server: raspberrypi:5001
dockge-dockge-1  | 2024-01-10T11:14:02Z [AGENT-MANAGER] ERROR: Error from the socket server: raspberrypi:5001
dockge-dockge-1  | 2024-01-10T11:14:05Z [AGENT-MANAGER] ERROR: Error from the socket server: raspberrypi:5001
dockge-dockge-1  | 2024-01-10T11:14:09Z [AGENT-MANAGER] ERROR: Error from the socket server: raspberrypi:5001
dockge-dockge-1  | 2024-01-10T11:14:17Z [AGENT-MANAGER] ERROR: Error from the socket server: raspberrypi:5001
dockge-dockge-1  | 2024-01-10T11:14:25Z [AGENT-MANAGER] ERROR: Error from the socket server: raspberrypi:5001
dockge-dockge-1  | 2024-01-10T11:14:28Z [AGENT-MANAGER] ERROR: Error from the socket server: raspberrypi:5001
dockge-dockge-1  | 2024-01-10T11:14:31Z [AGENT-MANAGER] ERROR: Error from the socket server: raspberrypi:5001
dockge-dockge-1  | 2024-01-10T11:14:34Z [AGENT-MANAGER] ERROR: Error from the socket server: raspberrypi:5001
dockge-dockge-1  | 2024-01-10T11:14:37Z [AGENT-MANAGER] ERROR: Error from the socket server: raspberrypi:5001
dockge-dockge-1  | 2024-01-10T11:14:45Z [AGENT-MANAGER] ERROR: Error from the socket server: raspberrypi:5001
dockge-dockge-1  | 2024-01-10T11:14:48Z [AGENT-MANAGER] ERROR: Error from the socket server: raspberrypi:5001
dockge-dockge-1  | 2024-01-10T11:14:56Z [AGENT-MANAGER] ERROR: Error from the socket server: raspberrypi:5001
dockge-dockge-1  | 2024-01-10T11:15:04Z [AGENT-MANAGER] ERROR: Error from the socket server: raspberrypi:5001
dockge-dockge-1  | 2024-01-10T11:15:08Z [AGENT-MANAGER] ERROR: Error from the socket server: raspberrypi:5001
dockge-dockge-1  | 2024-01-10T11:15:11Z [AGENT-MANAGER] ERROR: Error from the socket server: raspberrypi:5001
dockge-dockge-1  | 2024-01-10T11:15:17Z [AGENT-MANAGER] ERROR: Error from the socket server: raspberrypi:5001
dockge-dockge-1  | 2024-01-10T11:15:20Z [AGENT-MANAGER] ERROR: Error from the socket server: raspberrypi:5001
dockge-dockge-1  | 2024-01-10T11:15:28Z [AGENT-MANAGER] ERROR: Error from the socket server: raspberrypi:5001
dockge-dockge-1  | 2024-01-10T11:15:36Z [AGENT-MANAGER] ERROR: Error from the socket server: raspberrypi:5001
dockge-dockge-1  | 2024-01-10T11:15:44Z [AGENT-MANAGER] ERROR: Error from the socket server: raspberrypi:5001
dockge-dockge-1  | 2024-01-10T11:15:52Z [AGENT-MANAGER] ERROR: Error from the socket server: raspberrypi:5001
…