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

Error: HTTP 200(OK) when fetching hg38.fa.gz.gzi ....( should be 206 for range requests) #39

Open
suyanxun opened this issue Mar 19, 2024 · 2 comments

Comments

@suyanxun
Copy link

hello,
Thank you for developing this tool!
The error looks like:
Error: HTTP 200(OK) when fetching hg38.fa.gz.gzi ....( should be 206 for range requests)
how could I solve it?
Thanks.

@cmdcolin
Copy link
Contributor

generally you want a server that supports range requests. very basic servers like python simplehttpserver, or django, do NOT support range requests and they will return erroneous http 200 so won't work with jbrowse

to fix, it is best to set up another http server such as apache httpd or nginx, or python RangeHTTPServer, or something like that to host the data files, and then have your django fetch files from that external server. that's just one way to do it and i'm just guessing from the info you've provided.

@cmdcolin
Copy link
Contributor

I actually neglected to see that this issue was posted to the JBrowseR forum. the same idea still applies, but it would be worthwhile for us to make a improved tutorial about how data from JBrowseR needs to be hosted (i made this issue recently to track this #32)

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

2 participants