Skip to main content

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
-2 votes
0 answers
138 views

Could the current user's vote action be reflected on other open browser tabs of the same post?

Sometimes I have posts on Stack Overflow and Stack Exchange opened in multiple tabs. If I upvote a post on one tab, it doesn't show the vote on the other and I forget and try to upvote it again. It ...
Oneechan69's user avatar
29 votes
2 answers
373 views

Chat bots are dead, looks like being blocked by something on the server side

For over an hour now, Smoke Detector and other bots in MSE chat are dead and can't post in that chat anymore. The problem appears to be some breaking change on SE side, though I don't have access to ...
Shadow Wizard Love Zelda's user avatar
19 votes
0 answers
228 views

Websockets can be used to spy on users' activity

Stack Exchange's removal of "last seen" has demonstrated that the time that users are active is considered private information. However, there are still a variety of ways to circumvent that, ...
Radvylf Programs's user avatar
4 votes
1 answer
272 views

New Activity bar in search page stopped appearing on all community sites

The bar of new activities in search page such as 1 question with new activity is no longer appearing to click. Tested browsers and OS Windows 11 Pro Version 21H2 Google Chrome 103.0.5060.66 64bits ...
Digital Farmer's user avatar
7 votes
0 answers
50 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 ...
VLAZ's user avatar
  • 11.6k
19 votes
0 answers
315 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 ...
Makyen's user avatar
  • 24.1k
15 votes
0 answers
226 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, ...
Makyen's user avatar
  • 24.1k
38 votes
1 answer
529 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 ...
Makyen's user avatar
  • 24.1k
5 votes
1 answer
113 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'...
Mojtaba Hosseini's user avatar
3 votes
1 answer
197 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, ...
Carcigenicate's 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&...
Michał Perłakowski's user avatar
5 votes
2 answers
223 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 ...
Byte Commander's user avatar
14 votes
2 answers
326 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 ...
Michał Perłakowski's 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 ...
Doorknob's user avatar
  • 45.4k
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...
l0b0's user avatar
  • 1,291
-6 votes
1 answer
64 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 = $(...
Universal Electricity's 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
juergen d's user avatar
  • 39.2k
16 votes
1 answer
156 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; ...
Patrick Hofman's user avatar
14 votes
0 answers
114 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,...
senshin's user avatar
  • 14k
30 votes
0 answers
197 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 ...
Undo's user avatar
  • 50.7k
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,...
Kate Gregory's user avatar
  • 75.1k
8 votes
1 answer
146 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.
Undo's user avatar
  • 50.7k
19 votes
1 answer
2k 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 ...
Lekensteyn's 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 ...
easwee's user avatar
  • 315
7 votes
1 answer
122 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 ...
Shadow Wizard Love Zelda's user avatar
97 votes
5 answers
7k 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....
Doorknob's user avatar
  • 45.4k
3 votes
1 answer
585 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.
Manolo's user avatar
  • 315
5 votes
1 answer
108 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 ...
juergen d's user avatar
  • 39.2k
15 votes
1 answer
176 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 ...
johnfound's user avatar
  • 432
3 votes
1 answer
541 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 ...
Ibrahim Najjar's 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 ...
Mr_Green's user avatar
  • 1,119
4 votes
0 answers
622 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 ...
Mehdi Karamosly's user avatar
2 votes
1 answer
101 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.
Doorknob's user avatar
  • 45.4k
19 votes
2 answers
95k 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 ...
Naftali's user avatar
  • 21.6k
0 votes
1 answer
3k 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/' ...
Benjamin Crouzier's user avatar
13 votes
1 answer
161 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 ...
Michael Hampton's 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 ...
Keelan's user avatar
  • 9,846
4 votes
0 answers
650 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 ...
Travis J's user avatar
  • 33.7k
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: ...
James Donnelly's 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 ...
Evert's user avatar
  • 477
7 votes
1 answer
294 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 '...
Kendall Frey's user avatar
  • 2,969
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 (...
Rob W's user avatar
  • 10.4k
3 votes
1 answer
263 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 ...
Kendall Frey's user avatar
  • 2,969
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 ...
zerkms's user avatar
  • 743
3 votes
1 answer
63 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 ...
George Duckett's user avatar
33 votes
3 answers
24k 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 ...
Dan Lord's user avatar
  • 439
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 ...
George Duckett's 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.
Doug T.'s user avatar
  • 1,388