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

Pgeocode | HTTPError: HTTP Error 404: Not Found #44

Closed
nikzjadhav opened this issue Sep 11, 2020 · 4 comments · Fixed by #46
Closed

Pgeocode | HTTPError: HTTP Error 404: Not Found #44

nikzjadhav opened this issue Sep 11, 2020 · 4 comments · Fixed by #46

Comments

@nikzjadhav
Copy link

nikzjadhav commented Sep 11, 2020

Hello ,

I am using pgeocode to fetch longitude and latitude from postal code.
as i am using this package from last few months i am facing issue of HTTP

image

currently this issue happening more frequently than past.
This is hampering my pipeline run as well.

can you please give me solution or way around for this problem.

Thanks and regards,
nikhil

@diegopescoalcalde
Copy link

I'm also having that.

@P-S-1987
Copy link

Hi,

I have the same issue. Did you guys figure out what to do?

Thanks

@Laxminarayen
Copy link

I am facing the same issue as well! Any fixes??

@rth
Copy link
Member

rth commented Oct 23, 2020

Thanks for the report. Yes, it's a known (and recurrent) issue and we need to host data files in a more reliable location. This was recently done by mirroring those files in https://github.com/symerio/postal-codes-data and serving them via https://symerio.github.io/postal-codes-data/ .

Next step would be to make changes in the code to fallback to this location when the original one is not working (#41). Additional complexity is that in this second location files are directly served in in the .txt format without being included in a .zip so the load function would be slightly different.

Overall I'll try to look into this in the near future.

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

Successfully merging a pull request may close this issue.

5 participants