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

503 server slow error on TRI layer #46

Open
jywarren opened this issue Aug 7, 2018 · 4 comments
Open

503 server slow error on TRI layer #46

jywarren opened this issue Aug 7, 2018 · 4 comments
Labels
bug Something isn't working
Milestone

Comments

@jywarren
Copy link
Member

jywarren commented Aug 7, 2018

I think we can modify our request to not trigger this error:

VM264 jquery.min.js:4 GET https://iaspub.epa.gov/enviro/efservice/tri_facility/pref_latitude/BEGINNING/41/PREF_LONGITUDE/BEGINNING/71/rows/0:300/JSON 503 (Service Temporarily Unavailable)
send @ VM264 jquery.min.js:4
ajax @ VM264 jquery.min.js:4
f.(anonymous function) @ VM264 jquery.min.js:4
getJSON @ VM264 jquery.min.js:4
script.onload @ LeafletEnvironmentalLayers.js:28184
load (async)
(anonymous) @ LeafletEnvironmentalLayers.js:28181
requestData @ LeafletEnvironmentalLayers.js:28190
fire @ LeafletEnvironmentalLayers.js:12633
maps#14/41.8228/-71.4014:1 Failed to load https://iaspub.epa.gov/enviro/efservice/tri_facility/pref_latitude/BEGINNING/41/PREF_LONGITUDE/BEGINNING/71/rows/0:300/JSON: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://publiclab.org' is therefore not allowed access. The response had HTTP status code 503.

https://publiclab.org/maps#12/41.8236/-71.4153

@jywarren
Copy link
Member Author

jywarren commented Aug 7, 2018

What's weird is that it seems like some requests go through:

screen shot 2018-08-07 at 9 45 00 am

There's a bit on jQuery and CORS here: https://zinoui.com/blog/cross-domain-ajax-request

@jywarren jywarren added the bug Something isn't working label Aug 7, 2018
@jywarren
Copy link
Member Author

jywarren commented Aug 7, 2018

Actually i think the 503s may be:

Service Temporarily Unavailable
The server is currently unable to handle the request due to a temporary overloading or maintenance of the server.

@jywarren jywarren changed the title CORS error on TRI map on PublicLab.org/maps 503 server slow error on TRI map on PublicLab.org/maps Sep 11, 2018
@jywarren jywarren changed the title 503 server slow error on TRI map on PublicLab.org/maps 503 server slow error on TRI layer Sep 11, 2018
@jywarren jywarren added this to the UI project milestone Nov 14, 2018
@SidharthBansal
Copy link
Member

Can we have this in GCI @jywarren @sagarpreet-chadha @ananyaarun ?

@jywarren
Copy link
Member Author

jywarren commented Nov 27, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants