-
Notifications
You must be signed in to change notification settings - Fork 278
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
Submitting login form produces intermittent silent crash #758
Comments
I have the same problem and I can't debug it as there is no information about the crash. Any update? |
I think we have a similar issue. The buttons on screen just go gray for me. I see I also see that localstorage is not updated with the login credentials although the server did return the token to the client so the login was successful on the server. |
Upon further investigation I see that my issue is with Meteor itself. Running: Meteor.loginWithPassword({email: 'email@email.com'}, 'password', function(error,res) { error ? console.error(error) : console.log(res) }) I don't get anything logged to the console, but using Meteor Chrome extension I see that my token was returned from the server. |
I'm pretty sure it's actually a BCRYPT error.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
…On July 12, 2018 8:14 AM, Elie ***@***.***> wrote:
Upon further investigation I see that my issue is with Meteor itself. Running:
Meteor
.
loginWithPassword
({email
:
'
***@***.***
'
},
'
password
'
,
function
(
error
,
res
) { error
?
console
.
error
(error)
:
console
.
log
(res) })
I don't get anything logged to the console, but using Meteor Chrome extension I see that my token was returned from the server.
—
You are receiving this because you authored the thread.
Reply to this email directly, [view it on GitHub](#758 (comment)), or [mute the thread](https://github.com/notifications/unsubscribe-auth/AEFcgWF1KuzCYmvEynMIh5DzKR_ZLxkIks5uFz25gaJpZM4TMu4J).
|
On the server? But I see the login token returned to the client. We may be
experiencing different issues.
On Thu, 12 Jul 2018, 21:48 Daniel Bernhard, <notifications@github.com>
wrote:
… I'm pretty sure it's actually a BCRYPT error.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On July 12, 2018 8:14 AM, Elie ***@***.***> wrote:
> Upon further investigation I see that my issue is with Meteor itself.
Running:
>
> Meteor
>
> .
>
> loginWithPassword
>
> ({email
>
> :
>
> '
>
> ***@***.***
>
> '
>
> },
>
> '
>
> password
>
> '
>
> ,
>
> function
>
> (
>
> error
>
> ,
>
> res
>
> ) { error
>
> ?
>
> console
>
> .
>
> error
>
> (error)
>
> :
>
> console
>
> .
>
> log
>
> (res) })
>
> I don't get anything logged to the console, but using Meteor Chrome
extension I see that my token was returned from the server.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, [view it on GitHub](
#758 (comment)),
or [mute the thread](
https://github.com/notifications/unsubscribe-auth/AEFcgWF1KuzCYmvEynMIh5DzKR_ZLxkIks5uFz25gaJpZM4TMu4J).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#758 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AC8oX5L9OzVluT-uzwNTffNiGaBR_pGhks5uF5oMgaJpZM4TMu4J>
.
|
For me it was a silent error. When the server restarted, I was logged in. Downgrading to Node 8.9.4 solved the problem for me.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
…On July 12, 2018 4:59 PM, Elie ***@***.***> wrote:
On the server? But I see the login token returned to the client. We may be
experiencing different issues.
On Thu, 12 Jul 2018, 21:48 Daniel Bernhard, ***@***.***>
wrote:
> I'm pretty sure it's actually a BCRYPT error.
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On July 12, 2018 8:14 AM, Elie ***@***.***> wrote:
>
> > Upon further investigation I see that my issue is with Meteor itself.
> Running:
> >
> > Meteor
> >
> > .
> >
> > loginWithPassword
> >
> > ({email
> >
> > :
> >
> > '
> >
> > ***@***.***
> >
> > '
> >
> > },
> >
> > '
> >
> > password
> >
> > '
> >
> > ,
> >
> > function
> >
> > (
> >
> > error
> >
> > ,
> >
> > res
> >
> > ) { error
> >
> > ?
> >
> > console
> >
> > .
> >
> > error
> >
> > (error)
> >
> > :
> >
> > console
> >
> > .
> >
> > log
> >
> > (res) })
> >
> > I don't get anything logged to the console, but using Meteor Chrome
> extension I see that my token was returned from the server.
> >
> > —
> > You are receiving this because you authored the thread.
> > Reply to this email directly, [view it on GitHub](
> #758 (comment)),
> or [mute the thread](
> https://github.com/notifications/unsubscribe-auth/AEFcgWF1KuzCYmvEynMIh5DzKR_ZLxkIks5uFz25gaJpZM4TMu4J).
>
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#758 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AC8oX5L9OzVluT-uzwNTffNiGaBR_pGhks5uF5oMgaJpZM4TMu4J>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, [view it on GitHub](#758 (comment)), or [mute the thread](https://github.com/notifications/unsubscribe-auth/AEFcgXMRYIVF7IzsoerpbJbYK3VKWGLnks5uF7iVgaJpZM4TMu4J).
|
This is a strange bug.
I'm running the latest version of Meteor on Ubuntu 16.04 with Phusion Passenger.
The app has been crashing periodically for no obvious reason, and the error log is blank. One thing I've noticed is that logging in using
> atLoginForm
sometimes triggers this silent crash, and refreshing the window after the app restarts causes the app to crash again, presumably because the resume token is missing or incorrect on account of the crash.I've rebuilt bcrypt on the server but that hasn't solved the problem.
Ideas? I'm stumped.
Thanks!
Danel
The text was updated successfully, but these errors were encountered: