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

客户端说未接到服务端相应(503) #35

Closed
angsheng opened this issue Jul 3, 2021 · 1 comment
Closed

客户端说未接到服务端相应(503) #35

angsheng opened this issue Jul 3, 2021 · 1 comment

Comments

@angsheng
Copy link

angsheng commented Jul 3, 2021

把package.json 中依赖改为了"bufferutil": "^4.0.1",能够部署,
访问后,服务端无异常,但是客户端报错
an error of server connection occured Error: unexpected server response (503)
at ClientRequest._req.on (F:xxx\node_modules\ws\lib\WebSocket.js:650:26)
at ClientRequest.emit (events.js:198:13)
at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:556:21)
at HTTPParser.parserOnHeadersComplete (_http_common.js:109:17)
at Socket.socketOnData (_http_client.js:442:20)
at Socket.emit (events.js:198:13)
at addChunk (_stream_readable.js:288:12)
at readableAddChunk (_stream_readable.js:269:11)
at Socket.Readable.push (_stream_readable.js:224:10)
at TCP.onStreamRead (internal/stream_base_commons.js:94:17)

不知何解,求大神解答。

@angsheng
Copy link
Author

angsheng commented Jul 4, 2021

知道怎么回事了。忘了配置服务端变量了。

@angsheng angsheng closed this as completed Jul 4, 2021
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