X
Tap here to go to the mobile version of the site.

ஆதரவு மன்றம்

network error on local webpage, ok on website

  • 2 replies
  • 1 இந்த பிரச்சனை உள்ளது
  • Last reply by john17
பதிவிடப்பட்டது

I have a website (oakmontwx.eu5.net) and the front page shows up properly, but when I open the front page locally I get a network error. I am not using localhost on my computer, but I have a javascript routine which reads a text file every 10 seconds. The network error occurs when the page tries to read the file, and only half the webpage appears. On the website there is no problem.

This only started occurring today after Firefox did an auto update. I have refreshed FF and also reinstalled it but the problem persists. The page shows up properly in MS Edge and Safari.

I have a website (oakmontwx.eu5.net) and the front page shows up properly, but when I open the front page locally I get a network error. I am not using localhost on my computer, but I have a javascript routine which reads a text file every 10 seconds. The network error occurs when the page tries to read the file, and only half the webpage appears. On the website there is no problem. This only started occurring today after Firefox did an auto update. I have refreshed FF and also reinstalled it but the problem persists. The page shows up properly in MS Edge and Safari.

தீர்வு தேர்ந்தெடுக்கப்பட்டது

john17 said

I am not using localhost on my computer, but I have a javascript routine which reads a text file every 10 seconds. The network error occurs when the page tries to read the file, and only half the webpage appears. On the website there is no problem.

A security fix in Firefox 68 limits access from file:// pages to other file:// pages. I don't know the exact details of what the restrictions are. Please see the following thread for a workaround, although you might only want to enable it during development:

https://support.mozilla.org/questions/1264312

Does that work for your page?

Read this answer in context 1
மேற்கோள்

Additional System Details

நிறுவப்பட்ட நிரல்கள்

  • Shockwave Flash 32.0 r0

பயன்பாடு

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0

கூடுதல் தகவல்

jscher2000
  • Top 10 Contributor
8635 தீர்வுகள் 70627 பதில்கள்
பதிவிடப்பட்டது

தீர்வு தேர்ந்தெடுக்கப்பட்டது

john17 said

I am not using localhost on my computer, but I have a javascript routine which reads a text file every 10 seconds. The network error occurs when the page tries to read the file, and only half the webpage appears. On the website there is no problem.

A security fix in Firefox 68 limits access from file:// pages to other file:// pages. I don't know the exact details of what the restrictions are. Please see the following thread for a workaround, although you might only want to enable it during development:

https://support.mozilla.org/questions/1264312

Does that work for your page?

''john17 [[#question-1264335|said]]'' <blockquote> I am not using localhost on my computer, but I have a javascript routine which reads a text file every 10 seconds. The network error occurs when the page tries to read the file, and only half the webpage appears. On the website there is no problem. </blockquote> A security fix in Firefox 68 limits access from file:// pages to other file:// pages. I don't know the exact details of what the restrictions are. Please see the following thread for a workaround, although you might only want to enable it during development: https://support.mozilla.org/questions/1264312 Does that work for your page?
இது உங்களுக்கு பயனுள்ளதாக இருந்ததா? 1
மேற்கோள்
பதிவிடப்பட்டது

கேள்வியின் உரிமையாளர்

Thanks jscher2000 - that fixed the problem.

Thanks jscher2000 - that fixed the problem.
இது உங்களுக்கு பயனுள்ளதாக இருந்ததா?
மேற்கோள்
கேள்வி எழுப்பு

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.