Skip to content

Spam requests token?key = #4173

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

Closed
SheerGeyser opened this issue Dec 5, 2020 · 6 comments
Closed

Spam requests token?key = #4173

SheerGeyser opened this issue Dec 5, 2020 · 6 comments

Comments

@SheerGeyser
Copy link

Hello, I cannot understand why there is "spam" requests if the user is authorized in the system. It started after I added a call to firestore.

image

it starts on every page refresh and ends on first request with code 400.

I made a similar application before "https://todo-3c55c.firebaseapp.com/", it did not contain such spam requests, but yesterday I went in there the same thing.
Tried changing firebase versions did not help, rewriting the authorization logic, etc.

Here is the project repository with this problem: https://github.com/SheerGeyser/test-very-interesting
Sorry if this is my stupid mistake in writing logic :)

@google-oss-bot
Copy link
Contributor

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

@SheerGeyser
Copy link
Author

UPD:
image
if you comment on this line, the spam will stop because of what is it?

@sam-gc
Copy link
Contributor

sam-gc commented Dec 8, 2020

Hi @SheerGeyser, thanks for reaching out.

This seems odd, I don't think you should be seeing that many requests to the token endpoint. When the responses turn into 400s, what is the error message returned from the server (under the "response" tab)?

@SheerGeyser
Copy link
Author

This seems odd, I don't think you should be seeing that many requests to the token endpoint. When the responses turn into 400s, what is the error message returned from the server (under the "response" tab)?

image

@mikerowe81
Copy link

This sounds related to #3222

Check your OS timezone and time to make sure they are correct....I know it sounds crazy, but I ran into this after a clean Windows install and didn't realize my timezone was wrong.

@SheerGeyser
Copy link
Author

@mikerowe81 LOL, you were right, set the automatic detection of the region and time and the error disappeared...
Thank you very much:)

@firebase firebase locked and limited conversation to collaborators Jan 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants