netmaker icon indicating copy to clipboard operation
netmaker copied to clipboard

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

Open bodleytunes opened this issue 3 years ago • 5 comments

Contact Details

[email protected]

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

  • [X] Yes, I did.

bodleytunes avatar Jul 03 '22 07:07 bodleytunes

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?

mattkasun avatar Jul 04 '22 13:07 mattkasun

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 avatar Jul 04 '22 15:07 bodleytunes

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

bodleytunes avatar Jul 05 '22 06:07 bodleytunes

check for errors in traefik logs.

mattkasun avatar Jul 05 '22 10:07 mattkasun

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

afeiszli avatar Jul 28 '22 16:07 afeiszli

Closing, as no updates have been received

afeiszli avatar Sep 22 '22 11:09 afeiszli

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: @.***>

bodleytunes avatar Oct 11 '22 09:10 bodleytunes