nuxt / content

The file-based CMS for your Nuxt application, powered by Markdown and Vue components.
https://content.nuxt.com
MIT License
3.14k stars 630 forks source link

WebSocket connection to 'wss://xxxx/api/chat/1' failed: #2769

Closed uubyte closed 2 months ago

uubyte commented 2 months ago

Environment

"nuxt": "3.13.0"

Reproduction

WebSocket connection to 'wss://xxxx/api/chat/1' failed:

Describe the bug

本地是可以的,为什么打包到服务器报错WebSocket connection to 'wss://xxxx/api/chat/1' failed:

Additional context

No response

Logs

WebSocket connection to 'wss://xxxx/api/chat/1' failed:
farnabaz commented 2 months ago

I don't see any relation between content module and this websocket connection. Maybe you should open an issue in Nuxt's main repo.

And make sure to provide a good reproduction example for better understanding of your issue. You can use https://nuxt.new/ to create a reproduction

Aravinda93 commented 2 months ago

@farnabaz Even I am seeing the same issue in my Nuxt content website even though I am using latest Nuxt content and Nuxt npm versions.

Screenshot 2024-09-12 at 23 14 06