https://netmaker.org logo
I tried to install Netmaker 0 18 5 by HA
# install
h
I tried to install Netmaker 0.18.5 by HA (non-k8s) Guide + Quick Start Guide and almost got Netmaker working but have issues: 1. Almost all browser I tried throws error
Failed to create Admin. : admin
when Im trying to create first user
admin
. 2. Only firefox allows me to create user but after creating and logining to admin, I can see many 401 errors in firefox console and netmaker dashboard logs me out almost instantly. 3. Netmaker logs are clear 4. Containers are running in rootful podman 5. Netmaker is behind two traefik and api, dashboard and mosquitto are reachable from internet 6. More details in the thread What am I missing?

https://cdn.discordapp.com/attachments/1093506763518644274/1093507199524946020/image.png▾

https://cdn.discordapp.com/attachments/1093506763518644274/1093507258467487765/image.png▾

https://cdn.discordapp.com/attachments/1093506763518644274/1093507258815610911/image.png▾

(key icon on second screen is KeePassXC extension)
Netmaker logs:
Copy code
__   __     ______     ______   __    __     ______     __  __     ______     ______    
/\ "-.\ \   /\  ___\   /\__  _\ /\ "-./  \   /\  __ \   /\ \/ /    /\  ___\   /\  == \   
\ \ \-.  \  \ \  __\   \/_/\ \/ \ \ \-./\ \  \ \  __ \  \ \  _"-.  \ \  __\   \ \  __<   
 \ \_\\"\_\  \ \_____\    \ \_\  \ \_\ \ \_\  \ \_\ \_\  \ \_\ \_\  \ \_____\  \ \_\ \_\ 
  \/_/ \/_/   \/_____/     \/_/   \/_/  \/_/   \/_/\/_/   \/_/\/_/   \/_____/   \/_/ /_/ 
                                                                                                                                                                      

[netmaker] 2023-04-06 11:55:30 connecting to rqlite 
[netmaker] 2023-04-06 11:55:31 database successfully connected 
[netmaker] 2023-04-06 11:55:32 no OAuth provider found or not configured, continuing without OAuth 
[netmaker] 2023-04-06 11:55:32 netmaker-stun listening on 0.0.0.0:3478 via udp 
[netmaker] 2023-04-06 11:55:32 REST Server successfully started on port  8081  (REST) 
[netmaker] 2023-04-06 11:55:32 connecting to mq broker at ws://netmaker-pod-mq:1883 
[netmaker] 2023-04-06 11:55:33 connected to MQ Broker 
[netmaker] 2023-04-06 11:55:33 Zombie management started 
[netmaker] 2023-04-06 12:05:59 processed request error: unauthorized 
[netmaker] 2023-04-06 12:06:06 processed request error: unauthorized 
[netmaker] 2023-04-06 12:06:12 admin was made a new admin 
[netmaker] 2023-04-06 12:06:50 admin was authenticated 
[netmaker] 2023-04-06 12:06:51 processed request error: unauthorized 
[netmaker] 2023-04-06 12:06:51 processed request error: unauthorized 
[netmaker] 2023-04-06 12:06:51 processed request error: unauthorized 
[netmaker] 2023-04-06 12:06:51 processed request error: unauthorized 
[netmaker] 2023-04-06 12:06:51 processed request error: unauthorized 
[netmaker] 2023-04-06 12:06:51 processed request error: unauthorized 
[netmaker] 2023-04-06 12:06:51 processed request error: unauthorized
Strangest part here is that I can get into dashboard but after few seconds session lost https://cdn.discordapp.com/attachments/1093506763518644274/1093519972178866196/Screencast_from_2023-04-06_15-55-13.webm
Copy code
$ curl https://api.netmaker.shdwchn.io/api/users/adm/hasadmin
true
I've read here that I should get false. How can I fix it?
Issue was with
BACKEND_URL
env var for
netmaker-ui
container. I changed http to https and now it works
61 Views