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

Firebase auth: Operation timeout issues on login, using social media login eg. google #791

Open
vaibhav-pande opened this issue Dec 10, 2020 · 5 comments

Comments

@vaibhav-pande
Copy link

vaibhav-pande commented Dec 10, 2020

[REQUIRED] Describe your environment

  • Operating System version: Windows 10
  • Browser version: Chrome
  • Firebase SDK version: 7.19.1
  • Firebase Product: auth

[REQUIRED] Describe the problem

We are using firebase on webapp which acts as an SSO provider for our connected applications, deployed on appengine.
At times, after we enter the credentials for social media login eg. google, it doesn't move ahead and gets stuck, giving operation time out error. We are using signInWithRedirect() approach.
When we inspected on console, we could see the error with iframewrapper.js which is part of the highlighted javascript.(iframewrapper.js)
Even though having good network bandwidth, many users are facing this issue they are able to login only after multiple retries.
What is the probable cause for this issue and solution?
Is this issue resolved post 7.19.1 Firebase release? We have continuously updated the versions from 7.13.2 till 7.19.1.

We could see many issues logged on various forums regarding operation time out, but we couldn't get satisfactory resolution till date.

Steps to reproduce:

  1. Go to sso sign in page
  2. Click on social media login option eg. google
  3. Enter credentials
  4. It comes back to sso sign in page giving operation time out error on google icon

Attaching screenshot for reference:
Screenshot 1:
image

Screenshot2:
image

@vaibhav-pande
Copy link
Author

Few more screenshot for reference:
image

image

@bojeil-google
Copy link
Contributor

Hey @vaibhav-pande, please provide a link to your app or a reliable way to reproduce this issue. If sensitive info is involved, please file a ticket with the support team.

Given there are no clues provided, I can only speculate that you may be using a service worker and caching offline content which is messing up with the path /__/auth. You have to exclude that path. I have seen a similar error when developers do this.

@thespacedeck
Copy link

Hi there,

Having the same issue with custom Identity Provider. Was this resolved? Any idea how to resolve this?

Let me know :)

@mogwely
Copy link

mogwely commented Apr 28, 2021

Having the same issue. This is not the first network error I experience with firebase auth.
I searched everything online and all I see is very basic troubleshooting advice like make sure your internet is connected or irrelevant stuff like change <form> to <div>. Please someone from firebase get to the bottom of this.

@jhades
Copy link

jhades commented Jul 27, 2021

I'm getting similar reports as well.

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

No branches or pull requests

5 participants