GMOD / jbrowse

JBrowse 1, a full-featured genome browser built with JavaScript and HTML5. For JBrowse 2, see https://github.com/GMOD/jbrowse-components.
http://jbrowse.org
Other
463 stars 199 forks source link

RequestError: Unable to load http://ip/jbrowse/JBrowse-1.16.11/data/CSV21/trackList.json?v=0.08820448948622106 status: 403. #1610

Closed xiaoaozqd closed 3 years ago

xiaoaozqd commented 3 years ago

Pre-requisites

Please try clearing your browser cache and refreshing to see if this affects your error confirmed

Creating an issue

image

volvox example is OK image

Wheat genome report an error: Unable to load http://ip/jbrowse/JBrowse-1.16.11/data/CSV21/trackList.json?v=0.08820448948622106 status: 403. image

The data files are in the same Dir image

If you are creating a new issue please report

Also consider submitting questions to http://biostars.org, https://bioinformatics.stackexchange.com/

You can also try our chat https://gitter.im/GMOD/jbrowse if you don't suspect it to be a bug

You can also try the subscribing and sending email to gmod-ajax@lists.sourceforge.net but this frequently gets caught in a spam filter

cmdcolin commented 3 years ago

@xiaoaozqd the status 403 may indicate a permission issue e.g. the webserver may not have permission to read these files. opening up permissions on the CSV21 folder using chmod or chown to make the files accessible by the webserver may help

xiaoaozqd commented 3 years ago

@xiaoaozqd the status 403 may indicate a permission issue e.g. the webserver may not have permission to read these files. opening up permissions on the CSV21 folder using chmod or chown to make the files accessible by the webserver may help

Thank you for your comment! The permission of volvox and CSV21 are the same. While the volvox can display success.

cmdcolin commented 3 years ago

might need to check both these directories for permission/ownership also

/home/back/zengqd/Wheat/CSV21 and /home/back/zengqd/Wheat/CSV21/CSV21

I general, you'd actually have to check the entire tree that the webserver has access to all of these

/home/ /home/back/ /home/back/zengqd/ /home/back/zengqd/Wheat/ ...

but since the volvox example works I think the parent directories above Wheat would be ok

you can check e.g. http://172.26.1.8/jbrowse/JBrowse-1.16.11/data/CSV21/trackList.json in a tab in your browser to see if it is accessible too, it likely is not anything related to jbrowse unless your server doesn't like the ?v= query string (which can be disabled, but it helps avoid stale cache files)

hope that helps!

xiaoaozqd commented 3 years ago

might need to check both these directories for permission/ownership also

/home/back/zengqd/Wheat/CSV21 and /home/back/zengqd/Wheat/CSV21/CSV21

I general, you'd actually have to check the entire tree that the webserver has access to all of these

/home/ /home/back/ /home/back/zengqd/ /home/back/zengqd/Wheat/ ...

but since the volvox example works I think the parent directories above Wheat would be ok

you can check e.g. http://172.26.1.8/jbrowse/JBrowse-1.16.11/data/CSV21/trackList.json in a tab in your browser to see if it is accessible too, it likely is not anything related to jbrowse unless your server doesn't like the ?v= query string (which can be disabled, but it helps avoid stale cache files)

hope that helps!

Thank you again! You are right! My browser has no accessible to CSV21/trackList.json, while it has accessible to volvox/trackList.json image image Which maks me confused is the directories for CSV21 and volvox have the same permission/ownership image

cmdcolin commented 3 years ago

this is my guess, but maybe check the permissions on the folders themselves, specifically these folders

/home/back/zengqd/Wheat/CSV21 /home/back/zengqd/Wheat/CSV21/CSV21

xiaoaozqd commented 3 years ago

this is my guess, but maybe check the permissions on the folders themselves, specifically these folders

/home/back/zengqd/Wheat/CSV21 /home/back/zengqd/Wheat/CSV21/CSV21 Thank you again! It seems no different. image image image

cmdcolin commented 3 years ago

hmmm, i'm not sure! I guess maybe check some of the questions and answers on stackoverflow about 403 errors or other guides... example https://stackoverflow.com/a/18447506/2129219

it is a little outside the scope of jbrowse specifically since it does not run on the server side, but generally happy to at least try to help :)

cmdcolin commented 3 years ago

since it's a bit outside the jbrowse scope, might close for now. let me know if there are any issues