toeverything / AFFiNE

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
https://affine.pro
Other
39.96k stars 2.57k forks source link

​URI malformed reported by WsExceptionHandler #6927

Closed Energetic6877 closed 4 weeks ago

Energetic6877 commented 3 months ago

What happened?

In the frontend, the website is empty except for a frozen "syncing..." status. The backend logs show a URI malformed error during a call to decodeURIComponent

Distribution version

Linux

What browsers are you seeing the problem on if you're using web version?

Chrome

Are you self-hosting?

Relevant log output

ERROR [WsExceptionsHandler] URI malformed
app-1  | URIError: URI malformed
app-1  |     at decodeURIComponent (<anonymous>)
app-1  |     at file:///app/dist/fundamentals/utils/request.js:28:31
app-1  |     at Array.reduce (<anonymous>)
app-1  |     at getRequestResponseFromHost (file:///app/dist/fundamentals/utils/request.js:24:52)
app-1  |     at getRequestResponseFromContext (file:///app/dist/fundamentals/utils/request.js:50:12)
app-1  |     at AuthGuard.canActivate (file:///app/dist/core/auth/guard.js:29:30)
app-1  |     at GuardsConsumer.tryActivate (/app/node_modules/@nestjs/core/guards/guards-consumer.js:15:34)
app-1  |     at canActivateFn (/app/node_modules/@nestjs/websockets/context/ws-context-creator.js:63:59)
app-1  |     at /app/node_modules/@nestjs/websockets/context/ws-context-creator.js:51:37
app-1  |     at EventsGateway.<anonymous> (/app/node_modules/@nestjs/websockets/context/ws-proxy.js:12:38)

Anything else?

Screenshot from 2024-05-14 10-23-40 (I have cut out the workspace image)

affine-issue-bot[bot] commented 3 months ago

Issue Status: 🆕 *Untriaged

*🆕 Untriaged**

The team has not yet reviewed the issue. We usually do it within one business day. Docs: https://github.com/toeverything/AFFiNE/blob/canary/docs/issue-triaging.md

This is an automatic reply by the bot.