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.

Filter by
Sorted by
Tagged with
7 votes
0 answers
44 views

Filtering for "[tag-a] AND [tag-b]" only offers updates for [tag-b] [duplicate]

Description When searching for an intersection of tags [tag-a] AND [tag-b] or the equivalent [tag-a] [tag-b] the search results show questions tagged with both the tags. When the order of results is ...
user avatar
  • 4,250
19 votes
0 answers
260 views

2020-10-13 (3rd time): Random pages across SE feel “dead”, due to SE WebSocket misbehaving: sometimes connecting, sending heartbeat, but no data

From the symptoms, this is identical to the issue I reported in: Random pages across SE feel "dead", due to SE WebSocket misbehaving: sometimes connecting, sending heartbeat, but no data ...
user avatar
  • 17.1k
15 votes
0 answers
215 views

2020-07-10 Happening again: Random pages across SE feel "dead", due to SE WebSocket misbehaving: sometimes connecting, sending heartbeat, but no data

From the symptoms, this is identical to the issue I reported in Random pages across SE feel "dead", due to SE WebSocket misbehaving: sometimes connecting, sending heartbeat, but no data, ...
user avatar
  • 17.1k
37 votes
1 answer
406 views

Random pages across SE feel "dead", due to SE WebSocket misbehaving: sometimes connecting, sending heartbeat, but no data

I work with and on SmokeDetector (SD). Over the last several days (starting last Monday, 2020-05-111), we've noticed times when SmokeDetector has stopped scanning posts on Stack Exchange. After ...
user avatar
  • 17.1k
5 votes
1 answer
94 views

Is there a Stack Exchange WebSocket action for multiple tags?

I'm developing an app to show all new questions for any tags that user is watching in realtime. So instead of using the REST API, I want to use the WebSocket at: wss://qa.sockets.stackexchange.com. I'...
user avatar
3 votes
1 answer
167 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, ...
user avatar
2 votes
0 answers
23 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&...
user avatar
5 votes
2 answers
218 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 ...
user avatar
14 votes
2 answers
316 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 ...
user avatar
4 votes
1 answer
3k 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 ...
user avatar
  • 44.9k
1 vote
0 answers
58 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...
user avatar
  • 1,281
-6 votes
1 answer
63 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 = $(...
user avatar
2 votes
0 answers
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
user avatar
  • 38.7k
16 votes
1 answer
153 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; ...
user avatar
13 votes
0 answers
109 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,...
user avatar
  • 13.7k
28 votes
0 answers
191 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 ...
user avatar
  • 48k
1 vote
0 answers
47 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,...
user avatar
  • 73.9k
9 votes
1 answer
144 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.
user avatar
  • 48k
18 votes
1 answer
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 ...
user avatar
7 votes
0 answers
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 ...
user avatar
  • 315
7 votes
1 answer
121 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 ...
user avatar
92 votes
5 answers
6k 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....
user avatar
  • 44.9k
3 votes
1 answer
564 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.
user avatar
  • 265
5 votes
1 answer
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 ...
user avatar
  • 38.7k
15 votes
1 answer
172 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 ...
user avatar
  • 432
3 votes
1 answer
504 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 ...
user avatar
10 votes
1 answer
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 Stack Exchange sites does not work. It throws an error in the console always as shown below: WebSocket ...
user avatar
  • 1,109
4 votes
0 answers
556 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 ...
user avatar
2 votes
1 answer
96 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.
user avatar
  • 44.9k
17 votes
2 answers
77k 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 ...
user avatar
  • 21.4k
0 votes
1 answer
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/' ...
user avatar
13 votes
1 answer
160 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 ...
user avatar
4 votes
1 answer
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 ...
user avatar
  • 7,732
4 votes
0 answers
644 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 ...
user avatar
  • 31.1k
5 votes
1 answer
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: ...
user avatar
2 votes
0 answers
79 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 ...
user avatar
  • 477
7 votes
1 answer
279 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 '...
user avatar
  • 2,943
7 votes
1 answer
189 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 (...
user avatar
  • 10.2k
3 votes
1 answer
260 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 ...
user avatar
  • 2,943
5 votes
1 answer
4k 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 ...
user avatar
  • 725
3 votes
1 answer
62 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 ...
user avatar
34 votes
3 answers
23k 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 ...
user avatar
  • 441
1 vote
1 answer
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 ...
user avatar
11 votes
4 answers
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.
user avatar
  • 1,388