Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't login #3055

Closed
clementchiew95 opened this issue Apr 27, 2016 · 11 comments · Fixed by #3716
Closed

Can't login #3055

clementchiew95 opened this issue Apr 27, 2016 · 11 comments · Fixed by #3716

Comments

@clementchiew95
Copy link

Your Rocket.Chat version: (make sure you are running the latest)
0.28.0

It asks me to login from top right corner even though I am already logged in.

@mrdomino
Copy link

I had a user on my (Sandstorm-based) rocket.chat mention this as well. He could log in with chrome, but not firefox. This didn't show up until after the 0.28.0 upgrade afaict.

@kiwano
Copy link

kiwano commented Apr 28, 2016

I am the user mrdomino mentioned, and on iceweasel 38.7.1, I get the message:

"You must login to Sandstorm (on the top right) in order to access this chat." when already logged-in (I can see my username in the top right corner; my account for that particular sandstorm instance uses my gihub credentials).

The errors in my console at this time are (most of them seem to be repetition of the same error message followed by a giving up error):

"couldn't get /.sandstorm-login:" Error: failed [500] Error: wrong Content-Type for .sandstorm-login: application/x-sandstorm-login-token; charset=UTF-8 at packages/kenton_accounts-sandstorm/server.js:138:1 at packages/kenton_accounts-sandstorm/server.js:49:1 at runWithEnvironment (packages/meteor/dynamics_nodejs.js:110:1) at packages/meteor/dynamics_nodejs.js:123:1 at packages/kenton_accounts-sandstorm/server.js:133:1 at runWithEnvironment (packages/meteor/dynamics_nodejs.js:110:1) at packages/meteor/dynamics_nodejs.js:...
Stack trace:
r@https://45d3c833ccfb1e73447de31111762e19.mrdomino.sandcats.io/ac56c377f8920e788030c5dff57aff4c49de5500.js?meteor_js_resource=true:126:282
o.call/g.onreadystatechange@https://45d3c833ccfb1e73447de31111762e19.mrdomino.sandcats.io/ac56c377f8920e788030c5dff57aff4c49de5500.js?meteor_js_resource=true:126:2628
ac56c377f8920e788030c5dff57aff4c49de5500.js:416:1146

"couldn't get /.sandstorm-login:" Error: failed [500] Error: wrong Content-Type for .sandstorm-login: application/x-sandstorm-login-token; charset=UTF-8 at packages/kenton_accounts-sandstorm/server.js:138:1 at packages/kenton_accounts-sandstorm/server.js:49:1 at runWithEnvironment (packages/meteor/dynamics_nodejs.js:110:1) at packages/meteor/dynamics_nodejs.js:123:1 at packages/kenton_accounts-sandstorm/server.js:133:1 at runWithEnvironment (packages/meteor/dynamics_nodejs.js:110:1) at packages/meteor/dynamics_nodejs.js:...
Stack trace:
r@https://45d3c833ccfb1e73447de31111762e19.mrdomino.sandcats.io/ac56c377f8920e788030c5dff57aff4c49de5500.js?meteor_js_resource=true:126:282
o.call/g.onreadystatechange@https://45d3c833ccfb1e73447de31111762e19.mrdomino.sandcats.io/ac56c377f8920e788030c5dff57aff4c49de5500.js?meteor_js_resource=true:126:2628
ac56c377f8920e788030c5dff57aff4c49de5500.js:416:1146

"couldn't get /.sandstorm-login:" Error: failed [500] Error: wrong Content-Type for .sandstorm-login: application/x-sandstorm-login-token; charset=UTF-8 at packages/kenton_accounts-sandstorm/server.js:138:1 at packages/kenton_accounts-sandstorm/server.js:49:1 at runWithEnvironment (packages/meteor/dynamics_nodejs.js:110:1) at packages/meteor/dynamics_nodejs.js:123:1 at packages/kenton_accounts-sandstorm/server.js:133:1 at runWithEnvironment (packages/meteor/dynamics_nodejs.js:110:1) at packages/meteor/dynamics_nodejs.js:...
Stack trace:
r@https://45d3c833ccfb1e73447de31111762e19.mrdomino.sandcats.io/ac56c377f8920e788030c5dff57aff4c49de5500.js?meteor_js_resource=true:126:282
o.call/g.onreadystatechange@https://45d3c833ccfb1e73447de31111762e19.mrdomino.sandcats.io/ac56c377f8920e788030c5dff57aff4c49de5500.js?meteor_js_resource=true:126:2628
ac56c377f8920e788030c5dff57aff4c49de5500.js:416:1146

"couldn't get /.sandstorm-login:" Error: failed [500] Error: wrong Content-Type for .sandstorm-login: application/x-sandstorm-login-token; charset=UTF-8 at packages/kenton_accounts-sandstorm/server.js:138:1 at packages/kenton_accounts-sandstorm/server.js:49:1 at runWithEnvironment (packages/meteor/dynamics_nodejs.js:110:1) at packages/meteor/dynamics_nodejs.js:123:1 at packages/kenton_accounts-sandstorm/server.js:133:1 at runWithEnvironment (packages/meteor/dynamics_nodejs.js:110:1) at packages/meteor/dynamics_nodejs.js:...
Stack trace:
r@https://45d3c833ccfb1e73447de31111762e19.mrdomino.sandcats.io/ac56c377f8920e788030c5dff57aff4c49de5500.js?meteor_js_resource=true:126:282
o.call/g.onreadystatechange@https://45d3c833ccfb1e73447de31111762e19.mrdomino.sandcats.io/ac56c377f8920e788030c5dff57aff4c49de5500.js?meteor_js_resource=true:126:2628
ac56c377f8920e788030c5dff57aff4c49de5500.js:416:1146

"couldn't get /.sandstorm-login:" Error: failed [500] Error: wrong Content-Type for .sandstorm-login: application/x-sandstorm-login-token; charset=UTF-8 at packages/kenton_accounts-sandstorm/server.js:138:1 at packages/kenton_accounts-sandstorm/server.js:49:1 at runWithEnvironment (packages/meteor/dynamics_nodejs.js:110:1) at packages/meteor/dynamics_nodejs.js:123:1 at packages/kenton_accounts-sandstorm/server.js:133:1 at runWithEnvironment (packages/meteor/dynamics_nodejs.js:110:1) at packages/meteor/dynamics_nodejs.js:...
Stack trace:
r@https://45d3c833ccfb1e73447de31111762e19.mrdomino.sandcats.io/ac56c377f8920e788030c5dff57aff4c49de5500.js?meteor_js_resource=true:126:282
o.call/g.onreadystatechange@https://45d3c833ccfb1e73447de31111762e19.mrdomino.sandcats.io/ac56c377f8920e788030c5dff57aff4c49de5500.js?meteor_js_resource=true:126:2628
ac56c377f8920e788030c5dff57aff4c49de5500.js:416:1146

"couldn't get /.sandstorm-login:" Error: failed [500] Error: wrong Content-Type for .sandstorm-login: application/x-sandstorm-login-token; charset=UTF-8 at packages/kenton_accounts-sandstorm/server.js:138:1 at packages/kenton_accounts-sandstorm/server.js:49:1 at runWithEnvironment (packages/meteor/dynamics_nodejs.js:110:1) at packages/meteor/dynamics_nodejs.js:123:1 at packages/kenton_accounts-sandstorm/server.js:133:1 at runWithEnvironment (packages/meteor/dynamics_nodejs.js:110:1) at packages/meteor/dynamics_nodejs.js:...
Stack trace:
r@https://45d3c833ccfb1e73447de31111762e19.mrdomino.sandcats.io/ac56c377f8920e788030c5dff57aff4c49de5500.js?meteor_js_resource=true:126:282
o.call/g.onreadystatechange@https://45d3c833ccfb1e73447de31111762e19.mrdomino.sandcats.io/ac56c377f8920e788030c5dff57aff4c49de5500.js?meteor_js_resource=true:126:2628
ac56c377f8920e788030c5dff57aff4c49de5500.js:416:1146

"couldn't get /.sandstorm-login:" Error: failed [500] Error: wrong Content-Type for .sandstorm-login: application/x-sandstorm-login-token; charset=UTF-8 at packages/kenton_accounts-sandstorm/server.js:138:1 at packages/kenton_accounts-sandstorm/server.js:49:1 at runWithEnvironment (packages/meteor/dynamics_nodejs.js:110:1) at packages/meteor/dynamics_nodejs.js:123:1 at packages/kenton_accounts-sandstorm/server.js:133:1 at runWithEnvironment (packages/meteor/dynamics_nodejs.js:110:1) at packages/meteor/dynamics_nodejs.js:...
Stack trace:
r@https://45d3c833ccfb1e73447de31111762e19.mrdomino.sandcats.io/ac56c377f8920e788030c5dff57aff4c49de5500.js?meteor_js_resource=true:126:282
o.call/g.onreadystatechange@https://45d3c833ccfb1e73447de31111762e19.mrdomino.sandcats.io/ac56c377f8920e788030c5dff57aff4c49de5500.js?meteor_js_resource=true:126:2628
ac56c377f8920e788030c5dff57aff4c49de5500.js:416:1146

"couldn't get /.sandstorm-login:" Error: failed [500] Error: wrong Content-Type for .sandstorm-login: application/x-sandstorm-login-token; charset=UTF-8 at packages/kenton_accounts-sandstorm/server.js:138:1 at packages/kenton_accounts-sandstorm/server.js:49:1 at runWithEnvironment (packages/meteor/dynamics_nodejs.js:110:1) at packages/meteor/dynamics_nodejs.js:123:1 at packages/kenton_accounts-sandstorm/server.js:133:1 at runWithEnvironment (packages/meteor/dynamics_nodejs.js:110:1) at packages/meteor/dynamics_nodejs.js:...
Stack trace:
r@https://45d3c833ccfb1e73447de31111762e19.mrdomino.sandcats.io/ac56c377f8920e788030c5dff57aff4c49de5500.js?meteor_js_resource=true:126:282
o.call/g.onreadystatechange@https://45d3c833ccfb1e73447de31111762e19.mrdomino.sandcats.io/ac56c377f8920e788030c5dff57aff4c49de5500.js?meteor_js_resource=true:126:2628
ac56c377f8920e788030c5dff57aff4c49de5500.js:416:1146

"couldn't get /.sandstorm-login:" Error: failed [500] Error: wrong Content-Type for .sandstorm-login: application/x-sandstorm-login-token; charset=UTF-8 at packages/kenton_accounts-sandstorm/server.js:138:1 at packages/kenton_accounts-sandstorm/server.js:49:1 at runWithEnvironment (packages/meteor/dynamics_nodejs.js:110:1) at packages/meteor/dynamics_nodejs.js:123:1 at packages/kenton_accounts-sandstorm/server.js:133:1 at runWithEnvironment (packages/meteor/dynamics_nodejs.js:110:1) at packages/meteor/dynamics_nodejs.js:...
Stack trace:
r@https://45d3c833ccfb1e73447de31111762e19.mrdomino.sandcats.io/ac56c377f8920e788030c5dff57aff4c49de5500.js?meteor_js_resource=true:126:282
o.call/g.onreadystatechange@https://45d3c833ccfb1e73447de31111762e19.mrdomino.sandcats.io/ac56c377f8920e788030c5dff57aff4c49de5500.js?meteor_js_resource=true:126:2628
ac56c377f8920e788030c5dff57aff4c49de5500.js:416:1146

"loginWithSandstorm failed:" Error: Gave up waiting for login rendezvous XHR. [timeout]
Stack trace:
e.makeErrorType/r@https://45d3c833ccfb1e73447de31111762e19.mrdomino.sandcats.io/ac56c377f8920e788030c5dff57aff4c49de5500.js?meteor_js_resource=true:3:3334
._livedata_result@https://45d3c833ccfb1e73447de31111762e19.mrdomino.sandcats.io/ac56c377f8920e788030c5dff57aff4c49de5500.js?meteor_js_resource=true:52:19802
u/o@https://45d3c833ccfb1e73447de31111762e19.mrdomino.sandcats.io/ac56c377f8920e788030c5dff57aff4c49de5500.js?meteor_js_resource=true:52:6561
._launchConnection/t.socket.onmessage/<@https://45d3c833ccfb1e73447de31111762e19.mrdomino.sandcats.io/ac56c377f8920e788030c5dff57aff4c49de5500.js?meteor_js_resource=true:52:567
A.forEach@https://45d3c833ccfb1e73447de31111762e19.mrdomino.sandcats.io/ac56c377f8920e788030c5dff57aff4c49de5500.js?meteor_js_resource=true:1:863
._launchConnection/t.socket.onmessage@https://45d3c833ccfb1e73447de31111762e19.mrdomino.sandcats.io/ac56c377f8920e788030c5dff57aff4c49de5500.js?meteor_js_resource=true:52:523
v</r.prototype.dispatchEvent@https://45d3c833ccfb1e73447de31111762e19.mrdomino.sandcats.io/ac56c377f8920e788030c5dff57aff4c49de5500.js?meteor_js_resource=true:51:1119
v</C.prototype._dispatchMessage@https://45d3c833ccfb1e73447de31111762e19.mrdomino.sandcats.io/ac56c377f8920e788030c5dff57aff4c49de5500.js?meteor_js_resource=true:51:14711
v</C.prototype._didMessage@https://45d3c833ccfb1e73447de31111762e19.mrdomino.sandcats.io/ac56c377f8920e788030c5dff57aff4c49de5500.js?meteor_js_resource=true:51:15601
v</C.websocket/o.ws.onmessage@https://45d3c833ccfb1e73447de31111762e19.mrdomino.sandcats.io/ac56c377f8920e788030c5dff57aff4c49de5500.js?meteor_js_resource=true:51:17702
ac56c377f8920e788030c5dff57aff4c49de5500.js

@paulproteus
Copy link
Contributor

Hey @jparyani does this mean something to you? :)

@paulproteus
Copy link
Contributor

(UPDATE: An extremely laggy connection resulted in me submitting the same thing 3 times. Sorry about that.)

@zeigerpuppy
Copy link

I am having the same problem with Rocket.chat in Sandstorm.
After a period of inactivity, Rocket asks me to log in from the right corner. Closing the grain and reopening it fixes the issue.

log in Sandstorm shows:

Error: Requested session that no longer exists, and timed out waiting for client to restore it. This can happen if you have opened an app's content in a new window and then closed it in the UI. If you see this error *inside* the Sandstorm UI, please report a bug and describe the circumstances of the error. [504]
    at server/proxy.js:580:24
    at [object Object]._.extend.withValue (packages/meteor.js:1100:17)
    at packages/meteor.js:445:45
    at runWithEnvironment (packages/meteor.js:1154:24)

@paulproteus
Copy link
Contributor

Hi @zeigerpuppy ,

I think this might be a Sandstorm bug, rather than a Rocket.Chat bug. I'll file a bug in Sandstorm.

@kentonv
Copy link
Contributor

kentonv commented Jul 1, 2016

The problem described by @kiwano seems to be different from the one described by @zeigerpuppy. I've opened a separate bug for it:

sandstorm-io/meteor-accounts-sandstorm#27

@kentonv
Copy link
Contributor

kentonv commented Jul 1, 2016

The Iceweasel issue reported by @kiwano should be fixed by accounts-sandstorm v0.4.1 (although I haven't been able to reproduce the issue myself; I'm only going off the error message).

Someone will need to update the package version in the Rocket.Chat manifest before the next release.

@kiwano
Copy link

kiwano commented Jul 3, 2016

Noticing the existence of a new version of sandstorm this morning, is it safe to assume that my continued inability to log in to rocketchat on iceweasel is due to the lack of the enabling update in Rocket Chat, or should I go digging around for some more trouble (and my "trouble", I mean "stack traces")

kentonv added a commit to kentonv/Rocket.Chat that referenced this issue Jul 8, 2016
Fixes RocketChat#3055

Or, at least, it should. I haven't personally attempted to build Rocket.Chat with this change.
@kentonv
Copy link
Contributor

kentonv commented Jul 8, 2016

@kiwano In this case, it's Rocket.Chat that needs an update. Also they will first need to merge #3716.

marceloschmidt pushed a commit that referenced this issue Jul 8, 2016
Fixes #3055

Or, at least, it should. I haven't personally attempted to build Rocket.Chat with this change.
@kiwano
Copy link

kiwano commented Jul 8, 2016

yaythankyou all! (assuming it works when the instance that i connect to upgrades and reloads)

@marceloschmidt marceloschmidt modified the milestone: 0.36.0 Sep 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants