Vulcan-Starter icon indicating copy to clipboard operation
Vulcan-Starter copied to clipboard

Apollo network error during OAuth login

Open lorensr opened this issue 7 years ago • 4 comments

This happens every time I log in: (via Github, but prob same for other providers)

Uncaught (in promise) Error: Network error: Store reset while query was in flight.
    at new ApolloError (modules.js?hash=79cc4a6f2e19367a53644c5b5b6ecc2fa2182de4:79657)
    at modules.js?hash=79cc4a6f2e19367a53644c5b5b6ecc2fa2182de4:80726
    at meteor.js?hash=c9a34f92f28ede5a42eac467d3fa1763b624436a:1168
    at <anonymous>

lorensr avatar Feb 24 '18 07:02 lorensr

This is kind of a known issue, but it also doesn't seem to have any impact. I'm not sure where it's coming from to be honest…

SachaG avatar Feb 24 '18 08:02 SachaG

Hi,

I have the same issue using forum example with Vulcan 1.8.10. modules.js?hash=c1981499c8a16601d97b116216f598be73c83e4d:79324 Uncaught (in promise) Error: Network error: Store reset while query was in flight. at new ApolloError (modules.js?hash=c1981499c8a16601d97b116216f598be73c83e4d:79324) at modules.js?hash=c1981499c8a16601d97b116216f598be73c83e4d:80393 at meteor.js?hash=c9a34f92f28ede5a42eac467d3fa1763b624436a:1168 at

Notes:

  1. On the development pc, when this error happen, the user is login
  2. In a deployed app running on server, the user is not login !
  3. In Vulcan 1.8.9, I didn't have this issue. It seems that it's related to Vulcan:account 1.8.10

Thank You Adalidda

adalidda avatar Mar 04 '18 13:03 adalidda

I just tried running the app in production mode, and although I get the error the error does get logged in. Can you confirm which environment you're running in? Or maybe even give me a link to your app so I can try it out for myself?

SachaG avatar Mar 05 '18 00:03 SachaG

Sacha, you are right, user can log in even with an error.

if you want to check: user: vulcan email: [email protected] password: vulcanjs

You can test it on our website https://adalidda.com

PS: I would like to inform you that someone change the link to github on http://vulcanjs.org/ to the wrong location https://github.com/TelescopeJS/Telescope/ and not to https://github.com/VulcanJS/Vulcan

adalidda avatar Mar 05 '18 03:03 adalidda