We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Kërkoni te Asistenca

Shmangni karremëzime gjoja asistence. S’do t’ju kërkojmë kurrë të bëni një thirrje apo të dërgoni tekst te një numër telefoni, apo të na jepni të dhëna personale. Ju lutemi, raportoni veprimtari të dyshimtë duke përdorur mundësinë “Raportoni Abuzim”.

Mësoni Më Tepër

network error on local webpage, ok on website

  • 2 përgjigje
  • 1 e ka hasur këtë problem
  • 1 parje
  • Përgjigjja më e re nga john17

more options

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.

Zgjidhje e zgjedhur

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?

Lexojeni këtë përgjigje brenda kontekstit 👍 1

Krejt Përgjigjet (2)

more options

Zgjidhja e Zgjedhur

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?

more options

Thanks jscher2000 - that fixed the problem.