Skip to content

Login error in Dashboard #723

Description

@lxbxinwei

Hello, @tiangolo

I follow all steps in full-stack-fastapi-template (latest),the code run in a remote machine, and I login from another machine.

The problem is, I can go to ip:8090, ip:8080, ip/docs, ip/redoc. However, I can not go to ip, the main page of the project. After I enter email and password, it just circle all the time, did not forward.

Is there anything I did wrong?

Best regards.

Snipaste_2024-03-15_16-29-44

Activity

  1. changed the title [-]Login error[/-] [+]Login error in Dashboard[/+] on Mar 15, 2024
  2. SaurabhXRT commented on Mar 15, 2024

    @SaurabhXRT

    Could you please describe the error message you're seeing in the terminal or any other location? Providing details about the error will help in diagnosing and resolving the issue effectively.

  3. parthjoshi90 commented on Mar 16, 2024

    @parthjoshi90

    I have got the same issue while running it in the local environment.

    Screenshot from 2024-03-16 12-59-32

  4. lxbxinwei commented on Mar 18, 2024

    @lxbxinwei
    Author

    Could you please describe the error message you're seeing in the terminal or any other location? Providing details about the error will help in diagnosing and resolving the issue effectively.

    I think I know the problem, it seems like network error, but I have no idea to fix it.

    When I try login on the server side, via localhost, everything works well.

    If I login on the remote device via ip, it can not work.

    and the error in console(remote device) is👇 (look at the red box)
    Pasted image 20240318094806

  5. lxbxinwei commented on Mar 21, 2024

    @lxbxinwei
    Author

    I delete the frontend images, and docker compose -f docker-compose.yml up -d again, everything works

  6. tiangolo commented on Mar 21, 2024

    @tiangolo
    Member

    Thanks for reporting back!

  7. locked and limited conversation to collaborators on Mar 21, 2024
  8. converted this issue into a discussion #1114 on Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions