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

bug: Internal server error when visit dashboard #6812

Open
ukhack opened this issue Nov 15, 2024 · 5 comments
Open

bug: Internal server error when visit dashboard #6812

ukhack opened this issue Nov 15, 2024 · 5 comments

Comments

@ukhack
Copy link

ukhack commented Nov 15, 2024

  logto:
    image: svhd/logto:1.19.0
    container_name: lobe-logto
    ports:
      - '3001:3001'
      - '3002:3002'
    depends_on:
      postgresql:
        condition: service_healthy
    environment:
      - 'TRUST_PROXY_HEADER=1'
      - 'DB_URL=postgresql://postgres:uWNZugjBqixf8dxC@postgresql:5432/logto'
      - 'ENDPOINT=https://lobo-auth-api.xx.top:88'
      - 'ADMIN_ENDPOINT=https://lobo-auth-ui.xx.top:88'
    entrypoint: ['sh', '-c', 'npm run cli db seed -- --swe && npm start']

when i visit dashboard with domain, i got so many Internal server error

image

image

image

@ukhack ukhack added the bug Something isn't working label Nov 15, 2024
@ukhack
Copy link
Author

ukhack commented Nov 15, 2024

But why i can login it

@xiaoyijun xiaoyijun removed the bug Something isn't working label Nov 15, 2024
@ukhack
Copy link
Author

ukhack commented Nov 15, 2024

seems like
#6755

not sure

@xiaoyijun
Copy link
Contributor

Hi @ukhack , this is not a bug in Logto. Please check whether Logto can access its own container instance inside the container via the URI you provided (https://lobo-auth-ui.****:88).
Please refer to this issue: #6048 (comment)

@ukhack
Copy link
Author

ukhack commented Nov 20, 2024

Hi @ukhack , this is not a bug in Logto. Please check whether Logto can access its own container instance inside the container via the URI you provided (https://lobo-auth-ui.****:88).您好,这并非 Logto 的 bug。请检查 Logto 是否可以通过您提供的 URI( https://lobo-auth-ui.****:88 )访问其容器内的自身容器实例。 Please refer to this issue: #6048 (comment)请参阅此问题: #6048 (comment)

not work for me.
my caddy are not working in docker

@ukhack
Copy link
Author

ukhack commented Nov 20, 2024

i fix it.
change

extra_hosts:
- "lobe-auth-api.xxx.com:172.17.0.1"
- "lobe-auth-ui.xxx.com:172.17.0.1"

to

extra_hosts:
- "lobe-auth-api.xxx.com:192.168.x.x"
- "lobe-auth-ui.xxx.com:192.168.x.x"

It looks strange, but it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants