Skip to content
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 Loading main page #2194

Closed
4 tasks done
tuanama00 opened this issue Nov 6, 2024 · 2 comments
Closed
4 tasks done

Error Loading main page #2194

tuanama00 opened this issue Nov 6, 2024 · 2 comments
Labels
🐛 Bug Something isn't working

Comments

@tuanama00
Copy link

tuanama00 commented Nov 6, 2024

Environment

Docker

Version

No response

Describe the problem

After deploy container work ok but saddlery stop working.

Use this yaml
version: '3'
services:
homarr:
container_name: homarr
image: ghcr.io/ajnart/homarr:latest
restart: unless-stopped
volumes:
- /run/podman/podman.sock:/var/run/docker.sock
- ./homarr/configs:/app/data/configs
- ./homarr/icons:/app/public/icons
- ./homarr/data:/data
labels:
- "traefik.enable=true"
# - "traefik.http.routers.homarr.rule=PathPrefix(/dashboard)"
- "traefik.http.routers.homarr.rule= Host(dashboard.skyxxx.com)"
- "traefik.http.routers.homarr.entrypoints=web"
- "traefik.http.services.homarr.loadbalancer.server.port=7575"
networks:
- traefik_net

networks:
traefik_net:
external: true

Logs

Exporting hostname...
Migrating database...
yarn run v1.22.19
$ tsx ./migrate.ts
Done in 1.41s.
Starting production server...
Listening on port 7575 url: http://d9e568fecb6f:7575
TypeError: fetch failed
at Object.fetch (/app/node_modules/next/dist/compiled/undici/index.js:1:26669)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async getServerSideProps (/app/.next/server/pages/manage/about.js:828:26) {
cause: ConnectTimeoutError: Connect Timeout Error
at onConnectTimeout (/app/node_modules/next/dist/compiled/undici/index.js:1:82152)
at /app/node_modules/next/dist/compiled/undici/index.js:1:81644
at Immediate._onImmediate (/app/node_modules/next/dist/compiled/undici/index.js:1:82034)
at process.processImmediate (node:internal/timers:478:21) {
code: 'UND_ERR_CONNECT_TIMEOUT'
}
}

Context

image

Please tick the boxes

  • I confirm that I attached the proper logs
  • I've read the docs
  • I've checked for duplicate issues
  • I've tried to debug myself
@tuanama00 tuanama00 added the 🐛 Bug Something isn't working label Nov 6, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in Homarr Kanban Nov 6, 2024
@tuanama00
Copy link
Author

ERROR Failed to fetch icons from repository 'JsDelivr': TypeError: fetch failed
ERROR Failed to fetch icons from repository 'JsDelivr': TypeError: fetch failed
ERROR Failed to fetch icons from repository 'UnPkg': TypeError: fetch failed
ERROR Failed to fetch icons from repository 'GitHub': TypeError: fetch failed
ℹ Local icons repository directory exists and contains 0 icons
ERROR Failed to fetch icons from repository 'JsDelivr': TypeError: fetch failed
ERROR Failed to fetch icons from repository 'JsDelivr': TypeError: fetch failed
ERROR Failed to fetch icons from repository 'UnPkg': TypeError: fetch failed
ERROR Failed to fetch icons from repository 'GitHub': TypeError: fetch failed

@manuel-rw
Copy link
Collaborator

Expected behaviour, Homarr needs to be connected to the internet to work.
We fetch some icons & external data. This will fail if Homarr can't connect.
Homarr 1.0 (see #1993) will improve on this so you no longer get an error when there is no connection.

@manuel-rw manuel-rw closed this as not planned Won't fix, can't repro, duplicate, stale Nov 7, 2024
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Homarr Kanban Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants