Skip to content

Failed to connect to browser #1

Description

@mchamsteryt2

So basically every once and a while on some devices such as arm64 devices it would disconnect from the browser and throw it into a loop of the error below, would this be fixable?
Found WAYLAND_DISPLAY socket: /tmp/wayland-1

INFO: Started server process [33]

INFO: Waiting for application startup.

INFO: Application startup complete.

INFO: Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit)

INFO: 127.0.0.1:46546 - "GET /token HTTP/1.1" 503 Service Unavailable

INFO: Shutting down

INFO: Waiting for application shutdown.

INFO: Application shutdown complete.

INFO: Finished server process [33]

Fatal error in startup:

            ---------------------

            Failed to connect to browser

            ---------------------

            One of the causes could be when you are running as root.

            In that case you need to pass no_sandbox=True

Traceback (most recent call last):

File "/app/app/main.py", line 147, in

asyncio.run(

~~~~~~~~~~~^

    main(

    ^^^^^

...<4 lines>...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions