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

OcrdBrowser connection fails #44

Open
bertsky opened this issue Mar 14, 2024 · 0 comments
Open

OcrdBrowser connection fails #44

bertsky opened this issue Mar 14, 2024 · 0 comments

Comments

@bertsky
Copy link
Member

bertsky commented Mar 14, 2024

INFO:     172.16.4.79:59808 - "GET /workspaces/browse/ocr-d/data/DieFdeW_1877644218 HTTP/1.1" 200 OK
INFO:     172.16.4.79:59808 - "GET /workspaces/ping/ocr-d/data/DieFdeW_1877644218 HTTP/1.1" 200 OK
INFO:     172.16.4.79:59808 - "GET /workspaces/view/ocr-d/data/DieFdeW_1877644218/ HTTP/1.1" 200 OK
INFO:     172.16.4.79:59808 - "GET /workspaces/view/ocr-d/data/DieFdeW_1877644218/broadway.js HTTP/1.1" 307 Temporary Redirect
INFO:     172.16.4.79:59808 - "GET /workspaces/view/ocr-d/data/DieFdeW_1877644218/broadway.js/ HTTP/1.1" 200 OK
Bus error (core dumped)
WARNING:root:Could not find process with ID 445
WARNING:root:Could not find process with ID 448
INFO:     ('172.16.4.79', 59816) - "WebSocket /workspaces/view/ocr-d/data/DieFdeW_1877644218/socket" [accepted]
INFO:     connection open
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/usr/local/ocrd-monitor/.venv/lib/python3.11/site-packages/uvicorn/protocols/websockets/websockets_impl.py", line 240, in run_asgi
    result = await self.app(self.scope, self.asgi_receive, self.asgi_send)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/ocrd-monitor/.venv/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 69, in __call__
    return await self.app(scope, receive, send)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/ocrd-monitor/.venv/lib/python3.11/site-packages/fastapi/applications.py", line 1054, in __call__
    await super().__call__(scope, receive, send)
  File "/usr/local/ocrd-monitor/.venv/lib/python3.11/site-packages/starlette/applications.py", line 123, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/ocrd-monitor/.venv/lib/python3.11/site-packages/starlette/middleware/errors.py", line 151, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/ocrd-monitor/.venv/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 62, in __call__
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
  File "/usr/local/ocrd-monitor/.venv/lib/python3.11/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
    raise exc
  File "/usr/local/ocrd-monitor/.venv/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    await app(scope, receive, sender)
  File "/usr/local/ocrd-monitor/.venv/lib/python3.11/site-packages/starlette/routing.py", line 758, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/ocrd-monitor/.venv/lib/python3.11/site-packages/starlette/routing.py", line 778, in app
    await route.handle(scope, receive, send)
  File "/usr/local/ocrd-monitor/.venv/lib/python3.11/site-packages/starlette/routing.py", line 375, in handle
    await self.app(scope, receive, send)
  File "/usr/local/ocrd-monitor/.venv/lib/python3.11/site-packages/starlette/routing.py", line 98, in app
    await wrap_app_handling_exceptions(app, session)(scope, receive, send)
  File "/usr/local/ocrd-monitor/.venv/lib/python3.11/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
    raise exc
  File "/usr/local/ocrd-monitor/.venv/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    await app(scope, receive, sender)
  File "/usr/local/ocrd-monitor/.venv/lib/python3.11/site-packages/starlette/routing.py", line 96, in app
    await func(session)
  File "/usr/local/ocrd-monitor/.venv/lib/python3.11/site-packages/fastapi/routing.py", line 348, in app
    await dependant.call(**values)
  File "/usr/local/ocrd-monitor/ocrdmonitor/server/workspaces/_proxyroutes.py", line 122, in workspace_socket_proxy
    await communicate_until_closed(
  File "/usr/local/ocrd-monitor/ocrdmonitor/server/workspaces/_browsercommunication.py", line 31, in communicate_until_closed
    async with browser.client().open_channel() as channel:
  File "/usr/local/ocrd-monitor/ocrdbrowser/_client.py", line 33, in __aenter__
    self._open_connection = await self._connection
                            ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/ocrd-monitor/.venv/lib/python3.11/site-packages/websockets/legacy/client.py", line 647, in __await_impl_timeout__
    return await self.__await_impl__()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/ocrd-monitor/.venv/lib/python3.11/site-packages/websockets/legacy/client.py", line 651, in __await_impl__
    _transport, _protocol = await self._create_connection()
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1094, in create_connection
    raise OSError('Multiple exceptions: {}'.format(
OSError: Multiple exceptions: [Errno 111] Connect call failed ('127.0.0.1', 9003), [Errno 99] Cannot assign requested address
INFO:     connection closed
INFO:     172.16.4.79:59808 - "GET /workspaces/open/ocr-d/data/Akad_1868898474-19860000 HTTP/1.1" 200 OK
Listening on /root/.cache/broadway921.socket
Listening on /root/.cache/broadway922.socket
Listening on /root/.cache/broadway923.socket
Listening on /root/.cache/broadway924.socket
INFO:     194.95.144.163:33300 - "GET /jobs/ HTTP/1.1" 200 OK
INFO:     connection closed
INFO:     194.95.144.163:33300 - "GET /workspaces/open/ocr-d/data/DieFdeW_1877644218 HTTP/1.1" 200 OK
INFO:     194.95.144.163:33300 - "GET /workspaces/browse/ocr-d/data/DieFdeW_1877644218 HTTP/1.1" 200 OK
INFO:     194.95.144.163:33300 - "GET /workspaces/ping/ocr-d/data/DieFdeW_1877644218 HTTP/1.1" 200 OK
INFO:     194.95.144.163:33300 - "GET /workspaces/view/ocr-d/data/DieFdeW_1877644218/ HTTP/1.1" 200 OK
INFO:     194.95.144.163:33300 - "GET /workspaces/view/ocr-d/data/DieFdeW_1877644218/broadway.js HTTP/1.1" 307 Temporary Redirect
INFO:     194.95.144.163:33300 - "GET /workspaces/view/ocr-d/data/DieFdeW_1877644218/broadway.js/ HTTP/1.1" 200 OK
INFO:     ('194.95.144.163', 33320) - "WebSocket /workspaces/view/ocr-d/data/DieFdeW_1877644218/socket" [accepted]
INFO:     connection open
INFO:     172.16.4.79:59808 - "GET /workspaces/browse/ocr-d/data/Akad_1868898474-19860000 HTTP/1.1" 200 OK
INFO:     172.16.4.79:59808 - "GET /workspaces/ping/ocr-d/data/Akad_1868898474-19860000 HTTP/1.1" 200 OK
INFO:     172.16.4.79:59808 - "GET /workspaces/view/ocr-d/data/Akad_1868898474-19860000/ HTTP/1.1" 200 OK
INFO:     172.16.4.79:59808 - "GET /workspaces/view/ocr-d/data/Akad_1868898474-19860000/broadway.js HTTP/1.1" 307 Temporary Redirect
INFO:     172.16.4.79:59808 - "GET /workspaces/view/ocr-d/data/Akad_1868898474-19860000/broadway.js/ HTTP/1.1" 200 OK
INFO:     ('172.16.4.79', 53954) - "WebSocket /workspaces/view/ocr-d/data/Akad_1868898474-19860000/socket" [accepted]
INFO:     connection open
Bus error (core dumped)
WARNING:root:Could not find process with ID 553
WARNING:root:Could not find process with ID 556
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant