javascript - What is missing that I get an NS_BASE_STREAM_CLOSED error? - Stack Overflow

I just recently joined a website project. In order to work on it, I cloned the git repo and set up a fr

I just recently joined a website project. In order to work on it, I cloned the git repo and set up a fresh LEMP stack on a VPS to serve the page. It took a surprising amount of work to get the thing running (my first attempt had been on a laptop on it wouldn't even serve the first index.php properly). I've now got it to show the homepage and everything but a font seems to load up alright.

There are a number of links that go to dynamically generated pages. On the final product, these will be created with fresh data; for now the data is just pulled from a database so that we can tweak how it's displayed. My problem is these pages won't bloody load. It doesn't matter if I try this in Firefox, Chrome, Brave, or Konqueror, on Windows 7, Fedora, or Debian.

Wactching FF's dev tools, the server approves the request and serves the page (code 200), but nothing is rendered on the page (blank white screen) and nothing shows up in the console. Even the JS debugger won't show anything unless I run a JS based extension like AdBlock Ultimate. If I have AdBlock running, the page's name shows up under Sources and the only error in there is this:

    Error loading this URL: Could not load the source for http://dubyahdubyah/reports/view/506.
[Exception... "Component returned failure code: 0x80470002 (NS_BASE_STREAM_CLOSED) [nsIInputStream.available]"  nsresult: "0x80470002 (NS_BASE_STREAM_CLOSED)"  location: "JS frame :: resource://gre/modules/monjs/toolkit/loader.js -> resource://devtools/shared/DevToolsUtils.js :: onResponse :: line 453"  data: no]
Stack: onResponse@resource://gre/modules/monjs/toolkit/loader.js -> resource://devtools/shared/DevToolsUtils.js:453:23
onStopRequest@resource://gre/modules/NetUtil.jsm:128:17
Line: 453, column: 0

I've been googling all day and I'm tired of beating my head against the keyboard.

I just recently joined a website project. In order to work on it, I cloned the git repo and set up a fresh LEMP stack on a VPS to serve the page. It took a surprising amount of work to get the thing running (my first attempt had been on a laptop on it wouldn't even serve the first index.php properly). I've now got it to show the homepage and everything but a font seems to load up alright.

There are a number of links that go to dynamically generated pages. On the final product, these will be created with fresh data; for now the data is just pulled from a database so that we can tweak how it's displayed. My problem is these pages won't bloody load. It doesn't matter if I try this in Firefox, Chrome, Brave, or Konqueror, on Windows 7, Fedora, or Debian.

Wactching FF's dev tools, the server approves the request and serves the page (code 200), but nothing is rendered on the page (blank white screen) and nothing shows up in the console. Even the JS debugger won't show anything unless I run a JS based extension like AdBlock Ultimate. If I have AdBlock running, the page's name shows up under Sources and the only error in there is this:

    Error loading this URL: Could not load the source for http://dubyahdubyah/reports/view/506.
[Exception... "Component returned failure code: 0x80470002 (NS_BASE_STREAM_CLOSED) [nsIInputStream.available]"  nsresult: "0x80470002 (NS_BASE_STREAM_CLOSED)"  location: "JS frame :: resource://gre/modules/monjs/toolkit/loader.js -> resource://devtools/shared/DevToolsUtils.js :: onResponse :: line 453"  data: no]
Stack: onResponse@resource://gre/modules/monjs/toolkit/loader.js -> resource://devtools/shared/DevToolsUtils.js:453:23
onStopRequest@resource://gre/modules/NetUtil.jsm:128:17
Line: 453, column: 0

I've been googling all day and I'm tired of beating my head against the keyboard.

Share Improve this question asked Jul 25, 2017 at 4:41 pyansharppyansharp 2953 silver badges10 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 5

Had the same problem with FireFox 55.0.2: a single site/page wasn't working whereas other sites were fine.

I tried multiple things such as: disabling Firefox extensions, removing cookies, which didn't work. But the problem didn't appear under a different Firefox profile. The built-in web developer tools showed that the webpage responded with a HTTP 200 and was loaded from cache.

I then cleared the cache and the page was working again. So maybe the cache was corrupted somehow.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745243241a4618292.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信