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

JB2008 Indices 403 #5

Closed
xlxs4 opened this issue Apr 17, 2024 · 2 comments
Closed

JB2008 Indices 403 #5

xlxs4 opened this issue Apr 17, 2024 · 2 comments

Comments

@xlxs4
Copy link

xlxs4 commented Apr 17, 2024

http://sol.spacenvironment.net/jb2008/indices/DTCFILE.TXT was changed and it seems that a token is now needed for access (obtained automatically by navigating through https://spacewx.com/jb2008/), e.g. https://sol.spacenvironment.net/JB2008/index.php?token=e54e295b-4db3-4db4-9be6-3438501b7dc0&state=1641180456.

Been getting ERROR: RequestError: HTTP/1.1 403 Forbidden while requesting http://sol.spacenvironment.net/jb2008/indices/DTCFILE.TXT errors from SpaceIndices.init() for a while now

@patelraj425
Copy link

I am having the same issue. Capitalizing JB2008 in the url such that http://sol.spacenvironment.net/jb2008/indices/DTCFILE.TXT becomes http://sol.spacenvironment.net/JB2008/indices/DTCFILE.TXT allows access to the files. Need this change in the source code for it to work with SpaceIndices.init()

@ronisbr
Copy link
Member

ronisbr commented Apr 18, 2024

Hi!

Thanks for the report @xlxs4.

Indeed, if we capitalize JB2008 everything works. I have no ideia why this happens since everything is supposed to be case invariant :) I think it is the first time I see something like this. I will commit a fix and tag a new release now. Thanks @patelraj425 for the information!

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