hallowed-shoe-28711
04/06/2023, 12:05 PMFailed 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?hallowed-shoe-28711
04/06/2023, 12:07 PMhttps://cdn.discordapp.com/attachments/1093506763518644274/1093507199524946020/image.png▾
hallowed-shoe-28711
04/06/2023, 12:07 PMhttps://cdn.discordapp.com/attachments/1093506763518644274/1093507258467487765/image.png▾
https://cdn.discordapp.com/attachments/1093506763518644274/1093507258815610911/image.png▾
hallowed-shoe-28711
04/06/2023, 12:08 PMhallowed-shoe-28711
04/06/2023, 12:08 PMhallowed-shoe-28711
04/06/2023, 12:09 PM__ __ ______ ______ __ __ ______ __ __ ______ ______
/\ "-.\ \ /\ ___\ /\__ _\ /\ "-./ \ /\ __ \ /\ \/ / /\ ___\ /\ == \
\ \ \-. \ \ \ __\ \/_/\ \/ \ \ \-./\ \ \ \ __ \ \ \ _"-. \ \ __\ \ \ __<
\ \_\\"\_\ \ \_____\ \ \_\ \ \_\ \ \_\ \ \_\ \_\ \ \_\ \_\ \ \_____\ \ \_\ \_\
\/_/ \/_/ \/_____/ \/_/ \/_/ \/_/ \/_/\/_/ \/_/\/_/ \/_____/ \/_/ /_/
[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: unauthorizedhallowed-shoe-28711
04/06/2023, 12:57 PMhallowed-shoe-28711
04/06/2023, 3:54 PM$ 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?hallowed-shoe-28711
04/08/2023, 1:30 PMBACKEND_URL env var for netmaker-ui container. I changed http to https and now it works