Skip to content
This repository has been archived by the owner on Mar 22, 2022. It is now read-only.

Login method is invoked twice in channels.js file #673

Closed
rondaniel00 opened this issue May 16, 2018 · 6 comments
Closed

Login method is invoked twice in channels.js file #673

rondaniel00 opened this issue May 16, 2018 · 6 comments

Comments

@rondaniel00
Copy link

Login method is invoked twice in channels.js file.
app.on('login', (authResult, { connection }) => { // CALLED TWICE } ));

Verified that client.authenticate() is called only once.

@marshallswain
Copy link
Member

@rondaniel00 I believe you mentioned that there was something specific to your app with this issue? Is that for sure the case?

@daffl
Copy link
Member

daffl commented May 18, 2018

I can confirm that this seems to be happening everywhere. Try the feathers-chat logging the login event. When refreshing the chat page (once authenticated) it will show up twice.

@8BallBomBom
Copy link

Also experiencing this.
Thought i had something acting up on my client.

@koraniar
Copy link

I have the same problem and I verified that client.authenticate() is called only once

@ricardopolo
Copy link

I think this may be related, that the feathers cliente default behavior stabilsih the conecction using long pooling and the upgrade to websockets...

@koraniar would you test modifying the feathers client parameters to see how if is that the root cause?

@daffl
Copy link
Member

daffl commented Jan 18, 2019

Duplicate of feathersjs/feathers#1174, will be tracked there.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants