Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [web-sockets]

For questions about the use of WebSockets by Stack Exchange to deliver you realtime updates of pages. General programming questions about WebSockets are off-topic.

3
votes
1answer
109 views

Is it harmful to the network to “abuse” Websockets?

After submitting an answer for this PPCG challenge, I decided it might be cool to try playing around with Stack Exchange's web sockets. A first interesting idea I thought of, just to play around, ...
2
votes
0answers
16 views

Migrated questions are loaded in newest questions via WebSockets, but disappear after refreshing

I've just had the following situation on Meta Stack Overflow: I was on the newest questions page. "1 new question" appeared. I clicked that, and this question, which was migrated from Meta&...
5
votes
2answers
195 views

“HTTPS Everywhere” browser add-on breaks site updates (websocket?)

I run Firefox 49 on Ubuntu 16.04. When I enable the "HTTPS Everywhere" add-on in my browser, Stack Exchange sites stop updating automatically. That means on the main site, I do not get the N ...
13
votes
2answers
301 views

How many questions can I watch via WebSockets at the same time?

Stack Exchange provides a way to watch a question (i.e. receive real-time information about up- and downvotes, new answers, new comments, edits, closures and deletions) via WebSockets. You just have ...
4
votes
1answer
1k views

My chat WebSockets are getting closed; what gives?

I've been hunting down a bug in Chatception for quite a while now: sometimes messages would simply stop appearing, and I would have to refresh to make Chatception start working again. Yesterday I ...
1
vote
0answers
52 views

Firefox can't establish a connection to the server at wss://qa.sockets.stackexchange.com/ [duplicate]

Searching for mariadb I got the above error message (started happening ~21:00 UTC, still happening at 21:37). Websockets are working fine, so I'm not sure what this could be...
-6
votes
1answer
56 views

Can the live-updating also load the content of the post?

Could the live-updating box auto update everything? Instead of showing a box, why not: Just get the new post content, unless you're on SO Do this: window.setInterval(function() { var activity = $(...
2
votes
0answers
24 views

Live updates missing on new navigation tag pages [duplicate]

In the alpha version of the new navigation, there does not seem to be a live update on the tag pages anymore. Example: Filtered Questions
16
votes
1answer
147 views

Live refresh and some notifications are broken

It seems that since today most of the notifications are broken. With notifications I mean: Updated score on questions / answers; Live refresh on edited questions / answers; Live refresh on comments; ...
13
votes
0answers
102 views

“1 new answer to this question” websocket thing relocates the pagination controls inappropriately

So I was reading some answers on the new-profile bug-collation post, sorted by "active", and I got one of those nice websocket notifications telling me that there were new answers. So I clicked on it,...
27
votes
0answers
185 views

Add a realtime answers tab to stackexchange.com

We already have an awesome realtime questions tab for every question that comes in over the whole network. But in the spirit of Optimizing For Pearls, Not Sand, shouldn't we also have a realtime ...
1
vote
0answers
42 views

How do I troubleshoot when voting isn't working?

Today, I can't vote, at least on Travel.se and possibly on other sites. Sometimes, I get the red "an error occurred, please retry" message and sometimes it appears to work but if I load the page again,...
9
votes
1answer
142 views

Websockets are borked on the realtime question page

When I load the realtime question page, this happens in my console: And the list doesn't update in real time. This makes me sad. Please fix it.
18
votes
1answer
1k views

Websockets break caching

Since some time, the SE network has "Hot Network Questions" in a sidebar. Interesting as they are, I click on one of them. It occurs quite frequently that I see another interesting question after ...
6
votes
0answers
2k views

The connection to wss://qa.sockets.stackexchange.com/ was interrupted while the page was loading [closed]

On each page load SO gives me an error: The connection to wss://qa.sockets.stackexchange.com/ was interrupted while the page was loading. Everything actually works and I can perform all actions ...
7
votes
1answer
117 views

What happened to the web sockets and when will they be back?

For some good hours now, there is no web sockets connection in Stack Exchange sites i.e. no live updates of question lists, new answers, inbox items, notifications etc. What happened to the web ...
78
votes
5answers
4k views

How do the Stack Exchange WebSockets work? What are all the options you can send to them?

The Stack Exchange WebSockets are handy for various things (like handling spam). For example, try running this JavaScript in your browser's console: var w = new WebSocket("ws://qa.sockets....
3
votes
1answer
475 views

The connection to wss://qa.sockets.stackexchange.com/ was interrupted while loading the page

I get this error when trying to ask a question on stackoverflow.com After a while, I get the following error page from StackOverflow.
5
votes
1answer
107 views

Questions time is link when loaded with websocket

The time on questions getting loaded with the x questions with new activity notification bar is shown as link. New questions arrive: Time is a link with text modified x ago: But normal after ...
15
votes
1answer
160 views

Under what conditions does the Stack Exchange engine stop live updates?

I noticed, that after some time, the live updates on an opened Stack Exchange page stops to come and I need to press F5 in order to get an update. After the refresh, the live feed starts normally for ...
3
votes
1answer
427 views

Ajax not working on Stack Overflow

Sometimes I see the "new question with activity message", my score increments automatically without refreshing, "an edit was made, click to refresh" and all other Ajax responses. 90% of the time this ...
9
votes
1answer
1k views

websocket connection worked fine for one day

Here on my network, the websocket's port 80 is disconnected. So, the websocket connection for stackexchange sites does not work. it throws an error in console always as shown below: WebSocket ...
4
votes
0answers
450 views

Websocket connection error on Stack Overflow

Using Chrome, I am having this error when I refresh a page on Stack Overflow and open the developer tool: WebSocket connection to 'ws://sockets.ny.stackexchange.com/' failed: Unexpected ...
2
votes
1answer
95 views

What's with all the WebSocket errors?

I was just chatting in the Tavern when I saw this: click image to enlarge Eeek! Why are there so many WebSocket errors? I'm using Chrome 28.0.1500.95 (Official Build 213514) m.
10
votes
3answers
38k views

Websockets stuck in “pending” on Stack Overflow

ws://sockets.ny.stackexchange.com/ seems to cause all of the Stack Oveflow pages to take a while to "load" (by "load" I mean that the browser tab stays for a while like this: ) It takes approximately ...
0
votes
1answer
2k views

WebSocket connection sometimes hangs while being behind a proxy

I am at work, and I am behind a Squid proxy. Usually everything works fine. But from time to time, I get this (in chrome console:) WebSocket connection to 'ws://sockets.ny.stackexchange.com/' ...
13
votes
1answer
149 views

Questions with new activity header no longer appears

For a few hours now, the heading that appears on the home page of Stack Exchange sites notifying of newly active questions has not been appearing. I have had to manually refresh in order to see new ...
2
votes
1answer
1k views

What does StackExchange use web sockets for? [duplicate]

Just curious -- when I refresh a random SE site's home page, I see a message in my JavaScript console: [18:50:38.128] De verbinding met ws://sockets.ny.stackexchange.com/ werd onderbroken tijdens ...
4
votes
0answers
641 views

Getting error from websocket failing [closed]

Related: WebSocket connection failing on every StackExchange page WebSocket connection to 'ws://sockets.ny.stackexchange.com/' failed: Unexpected response code: 503 Also got this error while writing ...
5
votes
1answer
1k views

WebSocket connection failing on every StackExchange page

I'm using Chrome 25.0.1364.172 m and on every StackOverflow page I'm logging the following JavaScript console error: WebSocket connection to 'ws://sockets.ny.stackexchange.com/' failed: ...
2
votes
0answers
78 views

Unable to post any comments, getting a websocket error [closed]

I am unable to post any comments, and am getting a websocket error instead. The error in my console is: The connection to ws://sockets.ny.stackexchange.com/ was interrupted while the page was ...
7
votes
1answer
269 views

Does the chat system support sending data via WebSockets?

I was examining the Network tab in a chat room, and noticed an interesting phenomenon. There was a WebSockets connection, but it was only used for receiving data. When I entered a message, it send an '...
7
votes
1answer
186 views

What is the reputation requirement for Web sockets?

After receiving this comment, I discovered that there's a reputation requirement for realtime notification updates: Using my Sock Puppet, I checked that 90 reputation is not sufficient. What is the (...
3
votes
1answer
254 views

Stack Overflow's auto-update doesn't work with Opera

When I view a question on Stack Overflow, normally I see all vote, comment, and edit activity 'live', without needing to refresh the page. I recently installed Opera, and noticed that this doesn't ...
5
votes
1answer
3k views

Websockets don't work in all browsers

Not sure where to ask this better But at work I have new websockets stackoverflow implementation with smooth loading of all updates working well. This is how it looks like in Chrome 18.0.1025.168 m ...
3
votes
1answer
57 views

An edit to this answer has been made [duplicate]

Possible Duplicate: Misleading realtime update bar I got the above notification for this answer: C# - clarifying 'where T:new()' Clicking it took me to the revisions page, where it ...
33
votes
3answers
17k views

My corporate proxy doesn't support web sockets, which makes Stack Exchange a pain to use

The corporate proxy at my work doesn't support web sockets and as I understand, as informed by Wikipedia, this is pretty common. Whenever a Stack Exchange page loads, in Firefox, I have to click ...
1
vote
1answer
78 views

add / show x more comments and add comment links showing together

I'm seeing this quite often now, where I'll view a post with a number of comments (not always a lot) and both links are visible and stay there. Clicking on either one doesn't remove the other. Not ...
12
votes
4answers
2k views

Getting authentication prompt for sockets.ny.stackexchange.com on every page load?

I'm getting the following prompt when browsing around the network. I'm using Firefox 6.0.2 on Windows XP. Update Hmm seem to just be getting on meta now.