gravitl / netmaker

Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks.
https://netmaker.io
Other
9.52k stars 552 forks source link

Cannot connect to server - netmaker docker logs "error retrieving networks for keepalive" #1284

Closed bodleytunes closed 2 years ago

bodleytunes commented 2 years ago

Contact Details

supertent@gmail.com

What happened?

Hiya

I was wondering what this message means

Trying to create server on a chinese mini PC with proxmox installed.

Firstly tried in LXC and then tried again on the host but getting the same error messages

[netmaker] 2022-07-03 07:47:27 REST Server successfully started on port  8081  (REST)
[netmaker] 2022-07-03 07:47:27 connecting to mq broker at mq:1883
[netmaker] 2022-07-03 07:48:29 error retrieving networks for keepalive could not find any records
[netmaker] 2022-07-03 07:49:29 error retrieving networks for keepalive could not find any records

The UI gets to the part of setting up admin / password but says it can't connect to server.

I'm not sure on what else to look at regarding troubleshooting it.

Thanks!

Jon.

Version

v0.14.4

What OS are you using?

Linux

Relevant log output

[netmaker] 2022-07-03 07:47:27 REST Server successfully started on port  8081  (REST)
[netmaker] 2022-07-03 07:47:27 connecting to mq broker at mq:1883
[netmaker] 2022-07-03 07:48:29 error retrieving networks for keepalive could not find any records
[netmaker] 2022-07-03 07:49:29 error retrieving networks for keepalive could not find any records

Contributing guidelines

mattkasun commented 2 years ago

The error message is expected if no networks have been created.

What is the problem creating admin? Have you set up all required DNS entries? How did you install? Docker or baremetal?

bodleytunes commented 2 years ago

I used nm-quick.sh to set it up using docker.

Error when trying to create admin user initially is "cant connect to server" or something along those lines

Let me check DNS as this server isn't public facing, I had to use NAT to forward the wireguard port.

On Mon, 4 Jul 2022 at 14:55, Matthew R Kasun @.***> wrote:

The error message is expected if no networks have been created.

What is the problem creating admin? Have you set up all required DNS entries? How did you install? Docker or baremetal?

— Reply to this email directly, view it on GitHub https://github.com/gravitl/netmaker/issues/1284#issuecomment-1173851463, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEXFZ3EFHXM5LWG2DBHIOTVSLUOFANCNFSM52QJKR4Q . You are receiving this because you authored the thread.Message ID: @.***>

bodleytunes commented 2 years ago

This sort of error. Checked dns and made sure everything was resolvable using hosts file

image
mattkasun commented 2 years ago

check for errors in traefik logs.

afeiszli commented 2 years ago

@bodleytunes any updates? otherwise we will close this issue.

afeiszli commented 2 years ago

Closing, as no updates have been received

bodleytunes commented 2 years ago

Hi, you can close, thank you

On Thu, 28 Jul 2022 at 17:16, Alex Feiszli @.***> wrote:

@bodleytunes https://github.com/bodleytunes any updates? otherwise we will close this issue.

— Reply to this email directly, view it on GitHub https://github.com/gravitl/netmaker/issues/1284#issuecomment-1198361443, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEXFZYJEDFFXGQQWV5OC5TVWKW63ANCNFSM52QJKR4Q . You are receiving this because you were mentioned.Message ID: @.***>