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

CORS Block after loading multiple image ids in viewer (Application request limit reached) #456

Closed
MarvinDrude opened this issue Jul 1, 2021 · 4 comments

Comments

@MarvinDrude
Copy link

Basic information

MapillaryJS version: 4.0.0
System/Browser: Windows/Chrome

Hello guys,

at the moment I am making a geo guesser game that loads image ids one after another in like intervals of 30 seconds with the access token given in the developer menu of the mapillary site.

When I test playing for a while, I am not able to load any more image ids because I get a CORS error for 'localhost'.
Fun Fact: Trying to login into mapillary directly after that results into "Unable to perform operation, please try again later" and the console tells me that the request limit was reached. (Picture below)

image

Now is there any way to stop this limitation from happening?
I mean I don't spam requests. It is just normal use of the viewer api.

Thank you in advance.

@myarx
Copy link

myarx commented Jul 13, 2021

Hi, we're experiencing the same issue :(
Are there any additional information about the limitations? If they already strike in on normal usage during development, hard to imagine a productive application not suffering from it.
Marvin, were you able to figure out anything regarding this issue?
Thanks and kind regards

@MarvinDrude
Copy link
Author

MarvinDrude commented Jul 13, 2021

I have an ongoing support ticket with email. Currently waiting for the second reply after the initial one. I keep it updated here if I have any news. They asked me how much Images I load in which time until I get blocked.

I calculated in 2:30 Minutes I had 14 seperate image loads by code and then navigated 5 times on average meaning 14 * 5 = 70 images loaded in total.

@MarvinDrude
Copy link
Author

Just got a update that they work on a fix. And that I get news in the future.

@oscarlorentzon
Copy link
Member

Closing because the root cause of this is related to the Mapillary API (not MapillaryJS) and is handled in the email support ticket.

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

No branches or pull requests

3 participants