Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

try install Beszel on Synology , firewall off but agent can not connect to host #67

Open
dvnhan91 opened this issue Jul 29, 2024 · 6 comments
Labels
troubleshooting Maybe bug, maybe not

Comments

@dvnhan91
Copy link

version: "3.9"
services:
beszel:
container_name: beszel
image: henrygd/beszel:latest
volumes:
- /volume1/docker/beszel:/beszel_data:rw
ports:
- 8095:8090
restart: on-failure:5

beszel-agent:
image: henrygd/beszel-agent
container_name: beszel-agent
network_mode: host
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
PORT: 45876
KEY: (i paste the key here)
FILESYSTEM: /dev/sda1
restart: on-failure:5

id | jou20d3g19te3ux -- | -- level | ERROR (8) created | 2024-07-29 02:24:29.711 UTC message | Failed to connect: data.err | dial tcp 192.168.8.202:45876: i/o timeout data.port | 45876 data.server | 192.168.8.202
@henrygd henrygd added the troubleshooting Maybe bug, maybe not label Jul 29, 2024
@henrygd
Copy link
Owner

henrygd commented Jul 29, 2024

A timeout does seem like a firewall or misconfiguration issue.

Someone else had it working on Synology in #58, but they had a separate problem because Synology's docker version is out of date currently.

Are you able to run the hub okay but can't connect to the port?

Can you test using telnet from a remote machine?

telnet <agent-ip> <port>

@dvnhan91
Copy link
Author

image
both are running ok

i try the same installation on my dietpi (orangepi3b) and it work right away. im sure nothing block the port 45876 on my synology.

"Can you test using telnet from a remote machine?

telnet "

can you explain further how to do this

@Inch-high
Copy link

Inch-high commented Aug 7, 2024

Hi @dvnhan91,

Limited by what i can see in the screenshot but its interesting that the agent doesn't have an IP address. I've set mine up in bridge mode which seems to be working fine.

Excuse the bright screenshot (HDR fun):
image

Granted my host dashboard isn't on Synology, but try putting the agent into bridge mode so its assigned an IP. Also make sure you set the port.

Additional screenshot of mine just in the container manager on my Synology:
image

@delta-whiplash
Copy link
Contributor

delta-whiplash commented Aug 15, 2024

Hello everyone am facing the same issue
image

But telnet is working

image

you can test it by your own by using this repo for a proof of concept :
https://github.com/AuxXxilium/arc

@henrygd
Copy link
Owner

henrygd commented Aug 15, 2024

@delta-whiplash Do your error logs in PocketBase say it timed out?

How are you trying to connect? Are you using Docker? If so, what does your docker compose look like?

Are you using the lan address for the agent, or localhost, or something like host.docker.internal?

@delta-whiplash
Copy link
Contributor

OMG am soo dumb, I forgot my ssh public key
nevermind all working :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
troubleshooting Maybe bug, maybe not
Projects
None yet
Development

No branches or pull requests

4 participants