-
Notifications
You must be signed in to change notification settings - Fork 557
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error 500 After some minutes running #1400
Comments
Looks like your setup is causing connection issues: |
I'll try to reinstall from another way, but, i think the error is caused by the curl on the wrong location cURL error 28: Connection timed out after 15001 milliseconds (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://appslist.heimdall.site/list.json curl should made a request on my server, not on applist.heimdall.site, right? |
tryed with docker run instead docker-compose, and the error persists |
Can you post the logs from the container? |
#1397 Had a similar issue. Do you have an adblocker? |
I saw that there is an option to run the container offline, where it would not perform this online query, perhaps this would help, but since I am running it in a container, I do not know what the correct APP_SOURCE variable would be. APP_SOURCE=https://heimdall.local/ in my .env it looks like this:
|
Nop, I don't have any adblock, the container network is open |
Apparently it seems to be a problem with the network itself. Looking at that other ID, I did some tests and saw that Curl can't reach Heimdall's IP. See the logs:
I did a local test, outside the container, and got the same error, even using only IPv4:
However, on these websites that do ping tests, it apparently works: I'll try to debug a little more here, but I wanted to see how to make it work 100% offline, so that I wouldn't need to access the external network. I saw in the documentation that this is possible, but I didn't quite understand how to do it. |
Have you added the applist locally then? |
I believe I managed to stabilize it. What I did: on one of those sites that perform online curl queries when I got back I copied the .json and saved it inside my container in the www folder with the name list.json I added the line:
to my .env file and restarted it. It's been running for over 5 hours, has already included new applications and users, and no longer gets a 500 error. For some reason the thumbs aren't imported automatically. Maybe I need to download something else from the repository. I don't know yet. The documentation isn't very clear to me, as I'm a layman, but this was one of the ways I managed to make it work. When adding a new app I need to define the color, image, and name, even when selecting the app from the list. But since I use few apps, and I only use heimdall to facilitate access to internal links, it works well for me this way. In case my colleagues want to point out where I'm going wrong when getting the correct covers, I'll leave this issue open until Wednesday, then I'll close it with this solution I found. I'll leave the curl link so that it's easier for other users: |
Can this issue be closed now? |
Sorry for the time. Yep, closing this issue |
I installed Heimdall via docker compose, but after a few minutes of running, when I try to access a list of users or applications I get a 500 error.
When I check the logs I have:
My docker-compose:
After restarting the container it works for a few more minutes and stops working until it is restarted again.
The text was updated successfully, but these errors were encountered: