简体   繁体   English

流星错误消息客户端

[英]Meteor error message client-side

I'm using the framework Meteor (Node.js). 我正在使用流星 (Node.js)框架。

I get this error message in my web browser when my project page is loaded: 当加载项目页面时,我在Web浏览器中收到以下错误消息:

The connection to ws://localhost:3000/sockjs/622/u2zaukpp/websocket was interrupted while the page was loading. 页面加载时,与ws:// localhost:3000 / sockjs / 622 / u2zaukpp / websocket的连接中断。

Why is it occuring? 为什么会发生?

It happens every single time you reload the page or it gets reloaded by the server. 每次您重新加载页面或服务器重新加载页面时都会发生这种情况。

Basically the page is constantly receiving data from the server (collections data, methods, or simply a ping). 基本上,页面一直在不断地从服务器接收数据(收集数据,方法或简单地执行ping操作)。 Since it is constantly open and Meteor forces a reload on code change (or you did force one by reloading the page), your browser freaks out and shows you this error. 由于它一直处于打开状态,并且Meteor会在代码更改时强制重新加载(或者您确实是通过重新加载页面来强制重新加载),因此您的浏览器非常奇怪,并向您显示此错误。
It can also happen if the Meteor process is killed. 如果流星进程被杀死,也会发生这种情况。

Thus, expect to see this error a lot during development, you don't have to worry about it. 因此,希望看到这个错误在开发过程中有很多 ,你不必担心。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM