linuxserver / Heimdall

An Application dashboard and launcher
MIT License
7.88k stars 545 forks source link

Error 500 After some minutes running #1400

Open lucasplcorrea opened 3 days ago

lucasplcorrea commented 3 days ago

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:

Heimdall_BC2C  | [migrations] started
Heimdall_BC2C  | [migrations] 01-nginx-site-confs-default: skipped
Heimdall_BC2C  | [migrations] 02-default-location: skipped
Heimdall_BC2C  | [migrations] done
Heimdall_BC2C  | ───────────────────────────────────────
Heimdall_BC2C  | 
Heimdall_BC2C  |       ██╗     ███████╗██╗ ██████╗
Heimdall_BC2C  |       ██║     ██╔════╝██║██╔═══██╗
Heimdall_BC2C  |       ██║     ███████╗██║██║   ██║
Heimdall_BC2C  |       ██║     ╚════██║██║██║   ██║
Heimdall_BC2C  |       ███████╗███████║██║╚██████╔╝
Heimdall_BC2C  |       ╚══════╝╚══════╝╚═╝ ╚═════╝
Heimdall_BC2C  | 
Heimdall_BC2C  |    Brought to you by linuxserver.io
Heimdall_BC2C  | ───────────────────────────────────────
Heimdall_BC2C  | 
Heimdall_BC2C  | To support LSIO projects visit:
Heimdall_BC2C  | https://www.linuxserver.io/donate/
Heimdall_BC2C  | 
Heimdall_BC2C  | ───────────────────────────────────────
Heimdall_BC2C  | GID/UID
Heimdall_BC2C  | ───────────────────────────────────────
Heimdall_BC2C  | 
Heimdall_BC2C  | User UID:    1000
Heimdall_BC2C  | User GID:    1000
Heimdall_BC2C  | ───────────────────────────────────────
Heimdall_BC2C  | Linuxserver.io version: v2.6.3-ls287
Heimdall_BC2C  | Build-date: 2024-11-05T11:45:29+00:00
Heimdall_BC2C  | ───────────────────────────────────────
Heimdall_BC2C  |     
Heimdall_BC2C  | using keys found in /config/keys
Heimdall_BC2C  | New container detected, installing Heimdall
Heimdall_BC2C  | [custom-init] No custom files found, skipping...
Heimdall_BC2C  | [ls.io-init] done.
Heimdall_BC2C  | 
Heimdall_BC2C  |    GuzzleHttp\Exception\ConnectException 
Heimdall_BC2C  | 
Heimdall_BC2C  |   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
Heimdall_BC2C  | 
Heimdall_BC2C  |   at /app/www/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:210
Heimdall_BC2C  |     206▕         }
Heimdall_BC2C  |     207▕ 
Heimdall_BC2C  |     208▕         // Create a connection exception if it was a specific error code.
Heimdall_BC2C  |     209▕         $error = isset($connectionErrors[$easy->errno])
Heimdall_BC2C  |   ➜ 210▕             ? new ConnectException($message, $easy->request, null, $ctx)
Heimdall_BC2C  |     211▕             : new RequestException($message, $easy->request, $easy->response, null, $ctx);
Heimdall_BC2C  |     212▕ 
Heimdall_BC2C  |     213▕         return P\Create::rejectionFor($error);
Heimdall_BC2C  |     214▕     }
Heimdall_BC2C  | 
Heimdall_BC2C  |       +13 vendor frames 
Heimdall_BC2C  |   14  /app/www/app/SupportedApps.php:157
Heimdall_BC2C  |       GuzzleHttp\Client::request()
Heimdall_BC2C  | 
Heimdall_BC2C  |   15  /app/www/app/Jobs/ProcessApps.php:41
Heimdall_BC2C  |       App\SupportedApps::getList()

My docker-compose:

networks:
    1panel-network:
        external: true
services:
    heimdall:
        container_name: ${CONTAINER_NAME}
        deploy:
            resources:
                limits:
                    cpus: ${CPUS}
                    memory: ${MEMORY_LIMIT}
        environment:
            - PUID=1000
            - PGID=1000
            - TZ=${TIME_ZONE}
        image: linuxserver/heimdall:2.6.3
        labels:
            createdBy: Apps
        networks:
            - 1panel-network
        ports:
            - ${HOST_IP}:${PANEL_APP_PORT_HTTP}:80
            - ${HOST_IP}:${PANEL_APP_PORT_HTTPS}:443
        restart: always
        volumes:
            - ./data:/config

After restarting the container it works for a few more minutes and stops working until it is restarted again.

j0nnymoe commented 3 days ago

Looks like your setup is causing connection issues: cURL error 28: Connection timed out after 15001 milliseconds

lucasplcorrea commented 3 days ago

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?

lucasplcorrea commented 3 days ago

tryed with docker run instead docker-compose, and the error persists

raphpunk commented 3 days ago

Can you post the logs from the container?