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

SocketError/UND_ERR_SOCKET error - TBD #573

Open
tcompa opened this issue Oct 3, 2024 · 0 comments
Open

SocketError/UND_ERR_SOCKET error - TBD #573

tcompa opened this issue Oct 3, 2024 · 0 comments

Comments

@tcompa
Copy link
Collaborator

tcompa commented Oct 3, 2024

I observed this error in the fractal-web logs once, and @jluethi observed one that looks the same (on a different instance):

2024-09-27 12:51:54,195 - (hooks) - INFO - [GET] - /
2024-09-27 12:51:55,339 - (hooks) - INFO - [GET] - /auth/login
2024-09-27 12:51:59,820 - (hooks) - INFO - [POST] - /auth/login
2024-09-27 12:52:00,102 - (auth API) - WARN - Login failed
2024-09-27 12:52:03,758 - (hooks) - INFO - [POST] - /auth/login
2024-09-27 12:52:04,061 - (hooks) - INFO - [GET] - /v2/projects
2024-09-27 12:52:06,301 - (hooks) - INFO - [GET] - /profile
2024-09-27 12:52:10,281 - (hooks) - INFO - [GET] - /v2/admin
2024-09-27 12:52:12,547 - (hooks) - INFO - [GET] - /v2/admin/groups
2024-09-27 12:52:14,302 - (hooks) - INFO - [GET] - /v2/admin/groups/1/edit
2024-09-27 12:52:17,550 - (hooks) - INFO - [GET] - /v2/admin/groups
2024-09-27 12:52:19,819 - (proxy) - INFO - [POST] - /auth/group/
2024-09-27 12:52:19,837 - (hooks) - INFO - [GET] - /v2/admin/groups/2/edit
2024-09-27 12:52:22,186 - (hooks) - INFO - [GET] - /v2/admin/groups
2024-09-27 12:52:24,201 - (hooks) - INFO - [GET] - /v2/admin/groups/2
2024-09-27 12:52:24,203 - (hooks) - FATAL - Error loading server info TypeError: fetch failed
    at Object.fetch (node:internal/deps/undici/undici:11457:11) {
  cause: SocketError: other side closed
      at Socket.onSocketEnd (/home/tommaso/Fractal/fractal-web/node_modules/undici/lib/client.js:1118:22)
      at Socket.emit (node:events:525:35)
      at endReadableNT (node:internal/streams/readable:1359:12)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    code: 'UND_ERR_SOCKET',
    socket: {
      localAddress: '127.0.0.1',
      localPort: 58992,
      remoteAddress: undefined,
      remotePort: undefined,
      remoteFamily: undefined,
      timeout: undefined,
      bytesWritten: 5025,
      bytesRead: 492
    }
  }
}
2024-09-27 12:52:24,237 - (hooks) - INFO - [GET] - /
2024-09-27 12:52:24,270 - (hooks) - INFO - [GET] - /
2024-09-27 12:52:25,759 - (hooks) - INFO - [GET] - /v2/admin/groups
2024-09-27 12:52:26,937 - (hooks) - INFO - [GET] - /v2/admin/groups/2
2024-09-27 12:52:29,991 - (hooks) - INFO - [GET] - /v2/admin/groups
2024-09-27 12:52:33,269 - (proxy) - INFO - [POST] - /auth/group/

Here are, for context, some combined frontend/backend logs

BACKEND  2024-09-27 14:52:22,187 - uvicorn.access - INFO - 127.0.0.1:58992 - "GET /api/alive/ HTTP/1.1" 200
BACKEND  2024-09-27 14:52:22,193 - uvicorn.access - INFO - 127.0.0.1:59002 - "GET /auth/current-user/?group_names=false HTTP/1.1" 200
BACKEND  2024-09-27 14:52:22,198 - uvicorn.access - INFO - 127.0.0.1:58992 - "GET /auth/group/?user_ids=true HTTP/1.1" 200
FRONTEND 2024-09-27 12:52:24,201 - (hooks) - INFO - [GET] - /v2/admin/groups/2
FRONTEND 2024-09-27 12:52:24,203 - (hooks) - FATAL - Error loading server info TypeError: fetch failed
BACKEND  2024-09-27 14:52:24,238 - uvicorn.access - INFO - 127.0.0.1:59012 - "GET /api/alive/ HTTP/1.1" 200
BACKEND  2024-09-27 14:52:24,246 - uvicorn.access - INFO - 127.0.0.1:59022 - "GET /auth/current-user/?group_names=false HTTP/1.1" 200
BACKEND  2024-09-27 14:52:24,272 - uvicorn.access - INFO - 127.0.0.1:59012 - "GET /api/alive/ HTTP/1.1" 200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant