Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
435 views
in Technique[技术] by (71.8m points)

node.js - Safari,如何解决“由于暂停而关闭了WebSocket”。(Safari, how to resolve “WebSocket is closed due to suspension.”)

I've been developing a site using Node.js and various browsers including Safari, today I am getting "WebSocket is closed due to suspension."

(我一直在使用Node.js和各种浏览器(包括Safari)开发站点,今天我收到“ WebSocket由于暂停而关闭”。)

every time I launch the site, how can I resolve this?

(每次启动该网站时,我该如何解决?)

I've seen a similar post on stack overflow, but I'm not sure what to do to fix, its frustrating as using the Web Inspector, there is nothing except a single line:

(我曾在堆栈溢出上看到过类似的帖子,但是我不确定该如何解决,因为使用Web Inspector令人沮丧,除了一行内容之外,没有别的:)

WebSocket connection to 'ws://localhost:8000/socket.io/?EIO=3&transport=websocket&sid=NmR1fdvdeQVX-FoaAAAA' failed: WebSocket is closed due to suspension.

(WebSocket连接到'ws:// localhost:8000 / socket.io /?EIO = 3&transport = websocket&sid = NmR1fdvdeQVX-FoaAAAA'失败:WebSocket由于暂停而关闭。)

Page reloaded at 16:48:44 http://localhost:8000/socket.io/?EIO=3&transport=polling&t=Mx2NXQ7

(页面在16:48:44重新加载http:// localhost:8000 / socket.io /?EIO = 3&transport = polling&t = Mx2NXQ7)

  ask by SPlatten translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...