Beszel widget returning "API Error: No items returned from beszel API" #4723
-
DescriptionI can't get beszel integration to work with homepage. I get "API Error: No items returned from beszel API" on the Beszel widget. I followed the troubleshooting in the docs, from within the homepage container, I could ping, nslookup and curl the beszel IP/domain name/URL with no issues. I had doubts about my usage of a reverse proxy, so I eliminated its involvement completely by using http://ip:port directly, still no luck. Issuing Furthermore, logging into Beszel's pocketbase, I could see tens of failed login attempts due to "invalid login credentials". All coming from docker network specific IPs. Sample below. Needless to say, I have triple checked the credentials, I have also tried creating a new user, still no luck. I am using Beszel 0.9.1. I have already gone through #4592, #4666, #4492 and #4439. homepage versionv0.10.9 (b5f4daa) Installation methodDocker Configurationservices.yaml
- Monitoring:
- Beszel:
href: http://192.168.0.152:8090
icon: beszel
widget:
type: beszel
url: http://192.168.0.152:8090
username: [email protected]
password: redacted
version: 2 settings.yaml
title: My Lab
layout:
Monitoring:
# tab: First
style: row
columns: 4 Container Logs
Browser LogsViewing the console logs while visiting the homepage, I get an error TroubleshootingPing
Curl
Checking the logs in Beszel's pocketbase, I could see an entry for this successful authentication through curl. I have tried downgrading back to beszel 0.9.0 but that didn't work too. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 11 replies
-
is not the same endpoint as the widget uses, if you look at your screenshot of the failed logins you’ll see the difference. I don’t exactly recall but I think you need elevated privileges to get the relevant info |
Beta Was this translation helpful? Give feedback.
-
Ah yes, superusers. You were right, I did not supply the credentials of a superuser account. I mistakenly assumed that admin role is the same thing as superuser in pocketbase. I created a new superuser as follows: Then used the credentials from above in the widget config and everything is working now. Thanks. |
Beta Was this translation helpful? Give feedback.
-
I am having the exact issue and my username is also a superuser but I still get the same error. Any ideas? |
Beta Was this translation helpful? Give feedback.
-
Ran the following on my docker host
Here is my homepage services.yml config excerpt:
yet I am still getting this error:
|
Beta Was this translation helpful? Give feedback.
Ah yes, superusers.
You were right, I did not supply the credentials of a superuser account. I mistakenly assumed that admin role is the same thing as superuser in pocketbase.
I created a new superuser as follows:
docker exec beszel /beszel superuser create [email protected] supersecurepassword
Then used the credentials from above in the widget config and everything is working now.
Thanks.