-
Notifications
You must be signed in to change notification settings - Fork 18
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
HTTP error 502 when downloading Vietnam's json data #426
Comments
Thanks for opening an issue! We'll try and get back to you shortly. If you've identified an issue and would like to fix it please see our contribution guidelines. |
Looking at it and having tried a few variant URLs I think this may be a glitch upstream on the server end. I get 502 for just about any URL going to the API directory, though not to the top level one, which could be consistent with the API urls being redirected to a specific server or port and that port failing. (E.g., https://bobcares.com/blog/502-bad-gateway-nginx/) I think we may wait twelve hours and see. (Though when this happened with Germany I think I wrote my first implementation of a JSON downloader and had it running roughly in time for the problem to fix itself upstream.) |
I reported to NCSC colleages. |
Looks like this may have cleared up on the latest automated check so sounds like it was server side. |
The problem is gone even though I haven't got a reply from NCSC :) |
Hello from NCSC. It is an honor for us to have this data contributed to your project. The stable domain is covid19.ncsc.gov.vn, the old URL: covid.ncsc.gov.vn (beta) is now deprecated. We have reopened for a few days so you can update the new URL. I made a pull request here #427 |
I am investigating the error. It seems that the return data is not fully validated JSON. Data can be viewed directly via browser but failed when downloaded with
fromJSON
. For example:Gave:
Error in open.connection(con, "rb") : HTTP error 502.
The text was updated successfully, but these errors were encountered: