Problems on Slack.com Topic is solved

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
SLotman

Problems on Slack.com

Unread post by SLotman » 2017-03-24, 09:45

I usually access some groups on slack.com - but since 27.2 it keeps telling me that it is "offline, and it is reconnecting". Can't do anything on the site, because of that.

I don't know if it is something on their end, or if the 27.2 update broke something. What they do have is a online connection test, and that is failing in one of the steps:

https://slack.com/help/test

It fails for me on: "Web Socket (Flannel): Failed (Socket closed unexpectedly)"

If I access it on Chrome, it works. Previous Pale Moon versions before 27.2 were working too.

I also reported this to them - but since I have no clue what is going on (tried another useragent, tried disabling adblocks, private mode, etc - no effect), I'm coming here for help too.

Does anyone else in here uses slack? Do you have this same problem? Found a solution?

Anyway, thanks in advance :)

User avatar
billmcct
Keeps coming back
Keeps coming back
Posts: 954
Joined: 2012-09-04, 15:19
Location: Costa Rica & Union City Georgia USA

Re: Problems on Slack.com

Unread post by billmcct » 2017-03-24, 12:22

Works for me.
Try cleaning cache and cookies.

Win 7 x64
PM 27.2.0 32bit
--------------------------------------------------------------------------------------------------------------
The difference between the Impossible and the Possible lies in a man's Determination.
Tommy Lasorda

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35474
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Problems on Slack.com

Unread post by Moonchild » 2017-03-24, 13:44

The test page includes a handy link to "tell them about it". You may want to use that, to see what the problem is.

Another person also mentioned problems with slack and it seems the connections simply get closed, indeed. It's a recent issue, apparently. Flannel [No compression] succeeds, so I'm gathering they are trying to use some form of compression which causes issues. Only Slack can provide additional info here.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35474
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Problems on Slack.com

Unread post by Moonchild » 2017-03-24, 14:10

Please check if setting network.websocket.extensions.permessage-deflate to false fixes your issue.

They may be using websocket compression in a way that falls outside of the extension spec (but which Chrome implements) and expecting Pale Moon to send extra parameters, specifically "server_max_window_bits" and as a result don't understand Pale Moon's request (lacking those parameters) while indicating the extension is supported (which it is and per spec), and their server script falls over as a result (best guess) not being tolerant to different implementations. The spec neither requires nor encourages this parameter to be sent.

See RFC7692, authored by Google Inc (no surprise).
A client MAY include the "server_max_window_bits" extension parameter
in an extension negotiation offer. This parameter has a decimal
integer value without leading zeroes between 8 to 15, inclusive,
indicating the base-2 logarithm of the LZ77 sliding window size, and
MUST conform to the ABNF below.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
billmcct
Keeps coming back
Keeps coming back
Posts: 954
Joined: 2012-09-04, 15:19
Location: Costa Rica & Union City Georgia USA

Re: Problems on Slack.com

Unread post by billmcct » 2017-03-24, 14:26

network.websocket.extensions.permessage-deflate is set to false in my settings. Don't remember ever changing it though.
--------------------------------------------------------------------------------------------------------------
The difference between the Impossible and the Possible lies in a man's Determination.
Tommy Lasorda

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35474
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Problems on Slack.com

Unread post by Moonchild » 2017-03-24, 14:31

billmcct wrote:network.websocket.extensions.permessage-deflate is set to false in my settings. Don't remember ever changing it though.
That explains your result, then ;)
It may have been changed by a tool/extension if you didn't do it yourself by hand. I'd gather some people would make this part of some "optimization" efforts.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
billmcct
Keeps coming back
Keeps coming back
Posts: 954
Joined: 2012-09-04, 15:19
Location: Costa Rica & Union City Georgia USA

Re: Problems on Slack.com

Unread post by billmcct » 2017-03-24, 14:55

Seems to be the case. Shows User Set.
--------------------------------------------------------------------------------------------------------------
The difference between the Impossible and the Possible lies in a man's Determination.
Tommy Lasorda

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35474
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Problems on Slack.com

Unread post by Moonchild » 2017-03-24, 15:01

Contacting slack support I got the same form reply "we don't support Pale Moon bla bla" so I relayed the details to them. I hope they will listen and actually support a standards-compliant web as opposed to a monoculture web.

Disabling the extension to websockets cleared up the problem and slack is fully functional, so I'm pretty sure it's just their assumption that all browsers use the out-of-spec Chrome "extras" and falling over if not.
Attachments
FireShot Pro Screen Capture #158 - 'general I Pale Moon Slack' - palemoon_slack_com_messages_C4PU975M4.png
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

SLotman

Re: Problems on Slack.com

Unread post by SLotman » 2017-03-24, 16:08

Yeah, same answer here, "We don't support Pale Moon bla bla bla" :/

But setting network.websocket.extensions.permessage-deflate to false really solved it! Thank you!!! :D

app103

Re: Problems on Slack.com

Unread post by app103 » 2017-03-24, 21:50

billmcct wrote:Seems to be the case. Shows User Set.
In my case, it wasn't user set. The default setting was true.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35474
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Problems on Slack.com

Unread post by Moonchild » 2017-03-25, 13:31

I've had some more discussion with the slack people and it seems the RFC actually has a conflict in its wording. Slack sends a parameter in their response that is allowed but not required for a client to implement. Pale Moon doesn't have this implemented and is asked to use an unknown (unsupported) configuration. According to the RFC, the client should close the socket connection in that case. So we're both adhering to our side of the spec :P

I'll be implementing these optional parameters to work around this spec issue in the next release of Pale Moon, and have asked the spec author (some person at Google :roll: ) to have another look at it (apparently this simple fact slipped by everyone through over 20 drafts and made it onto the standards track...). I've asked slack to look at an interim solution to allow Pale Moon users to connect, despite this spec issue (and actually, compression over SSL this way (re-init compression for every message, see CRIME) may be a security issue as well if they haven't taken this into account in their server implementation).
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

SLotman

Re: Problems on Slack.com

Unread post by SLotman » 2017-03-27, 19:44

Greeeeat. Now Slack just blocks Pale Moon entirely :/

Edit: just submitted a complaint over there about it.
Edit 2: I can now bypass that screen by using the following user agent-string

Code: Select all

Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883 Safari/537.36
Image

RJARRRPCGP
Lunatic
Lunatic
Posts: 400
Joined: 2015-06-22, 19:48
Location: USA (North Springfield, Vermont)
Contact:

Re: Problems on Slack.com

Unread post by RJARRRPCGP » 2017-03-27, 20:42

Looks like a webmaster retaliated by persecuting Pale Moon!

New Tobin Paradigm

Re: Problems on Slack.com

Unread post by New Tobin Paradigm » 2017-03-28, 04:58

Oh wow... Like.. wow.

h0w4rd
Hobby Astronomer
Hobby Astronomer
Posts: 26
Joined: 2015-09-30, 08:44
Location: Plzeň

Re: Problems on Slack.com

Unread post by h0w4rd » 2017-03-28, 09:46

Bloody hell... I was using it yesterday without any problem :(

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35474
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Problems on Slack.com

Unread post by Moonchild » 2017-03-28, 10:59

I sent them another reply on their ticket discussing this. What the hell.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

h0w4rd
Hobby Astronomer
Hobby Astronomer
Posts: 26
Joined: 2015-09-30, 08:44
Location: Plzeň

Re: Problems on Slack.com

Unread post by h0w4rd » 2017-03-28, 11:14

Please how can I set the user agent only for specific page? And is it helpful?

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35474
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Problems on Slack.com

Unread post by Moonchild » 2017-03-28, 11:28

And on the other side of the fence, reporting the obvious spec conflict to its author, I was met with a lot of resistance.

EDIT: Looks like they finally understood the issue.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

SLotman

Re: Problems on Slack.com

Unread post by SLotman » 2017-03-28, 12:10

Look at the "marvelous" response I got today from my complaint:
Hi there,

Thanks for taking the time to write in today. Unfortunately we no longer support Pale Moon, however, this might be reconsidered in the future if this browser meets specifications in-line with our security practices.

The four supported browsers are the latest versions of Chrome , Firefox, Safari, IE / Edge:

Chrome (and Chromium) version 51 and newer
Firefox version 47 and newer, plus version 45
Safari 9 and 10
Microsoft Internet Explorer 11
Microsoft Edge version 14 and newer

I'm very sorry to be the bearer of this news to you, however the main reason for this is since we take security and product quality very seriously. We want all users to benefit from the latest features, security, and bug fixes.

My suggestion would be to use one of the supported browsers listed above, I hope that helps and sorry again.
Why do I even bother to post something over there...? :(
Please how can I set the user agent only for specific page? And is it helpful?
In this case, just type "about:config" on your URL bar. Right click on the list that will open below, and add a new string value. That string would be: "general.useragent.override.slack.com" and the value, the one I posted above. You can do that to any website, just replacing "slack.com" with it's URL.

The benefits of that is obvious: if a site is doing "browser sniffing", aka reading the name of the browser to serve a specific feature (or in case of Slack, to block the entire site) - you can bypass it to get better results.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35474
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Problems on Slack.com

Unread post by Moonchild » 2017-03-28, 12:26

Serious accusations there. I can't for the life of me understand why they would claim "we're not upholding specifications in line with their security practices" when, in fact, we have tighter security than most browsers, and on top, I pointed a potential problem out to them with repeat compression over SSL (e.g.: CRIME) involved, to which they didn't respond.

This is ridiculous.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Locked