From: Pengcheng Y. <pen...@qq...> - 2020-02-12 02:04:21
|
Hi Colin and Robert, After convert the bam to cram, it has been successfully displayed (http://insectmine.org/jbrowse/index.html?data=FAWMine). Thank you all! best, Pengcheng On 2020-2-12 4:48, Robert Buels wrote: > Another common Apache module that causes this is mod_mime_magic, so > make sure that's not operating on these files either, if you are > indeed running an Apache server > > On Tue, Feb 11, 2020 at 8:48 AM Colin <col...@gm... > <mailto:col...@gm...>> wrote: > > I can see from the Chrome Devtools that the range requests for the > BAM file produce this error > > net::ERR_CONTENT_DECODING_FAILED > > "This can happen when an HTTP request's headers claim that the > content is gzip encoded" > > https://superuser.com/questions/172951/chrome-error-330-neterr-content-decoding-failed > > Doing curl of the file shows that the response has this on the > response > > Content-Encoding: x-gzip > > Basically you do not want this header on your response. Some > common things include having mod_deflate on the server, but it's > hard to know exactly what server side conditions caused this > > > -Colin > > On Tue, Feb 11, 2020 at 11:44 AM Pengcheng Yang <pen...@qq... > <mailto:pen...@qq...>> wrote: > > Hi Colin, > > I have just checked the Network tab in the chrome devtools and > full screen shot is shown below. Please help me check how > could I resolve this problem. > > > Thank you and best, > > pengcheng > > On 2020-2-11 23:17, Colin wrote: >> Could you look at the network tab in the chrome devtools and >> see if there are any indicators of what the network request >> says? Maybe paste a full screenshot of the network tab? >> >> The server itself will never produce "HTTP status that is >> undefined" but sometimes things in the middle e.g. firewall >> or decoding of the request can cause HTTP status to be 0 or >> undefined >> >> An example may be gzip related, as the browser might receive >> a bad response containing the wrong gzip headers, then try to >> ungzip the data, and then maybe fail >> >> -Colin >> >> On Tue, Feb 11, 2020 at 6:32 AM Pengcheng Yang >> <pen...@qq... <mailto:pen...@qq...>> wrote: >> >> Dear JBrowsers: >> >> I am trying loading BAM file as the documentation >> suggested. However, I am failed with the error message >> said "Error: HTTP undefined when fetching http://...." >> >> >> The json configuration information is: >> >> { >> "category": "RNA-Seq", >> "key" : "TR2010b", >> "label": "TR2010b", >> "storeClass" : "JBrowse/Store/SeqFeature/BAM", >> "type" : "JBrowse/View/Track/Alignments2", >> "urlTemplate": "BAM/TR2012b.fa.map.bam", >> "baiUrlTemplate" : "BAM/TR2012b.fa.map.bam.bai" >> } >> >> Could anyone help me out? >> >> Thank you and best, >> >> Pengcheng Yang >> >> >> _______________________________________________ >> Gmod-ajax mailing list >> Gmo...@li... >> <mailto:Gmo...@li...> >> https://lists.sourceforge.net/lists/listinfo/gmod-ajax >> > _______________________________________________ > Gmod-ajax mailing list > Gmo...@li... > <mailto:Gmo...@li...> > https://lists.sourceforge.net/lists/listinfo/gmod-ajax > |