Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

My site method getting called twice in firefox browser but not on other browsers

  • 6 réponses
  • 2 ont ce problème
  • 12 vues
  • Dernière réponse par smorele

more options

My site method getting called twice in firefox browser but not on other browsers. When i check the console the it calls twice, one with request header as: Host rapidmicrobiology.dev User-Agent Mozilla/5.0 (Windows NT 6.1; W…) Gecko/20100101 Firefox/56.0 Accept text/html,application/xhtml+xm…plication/xml;q=0.9,*/*;q=0.8 Accept-Language en-US,en;q=0.5 Accept-Encoding gzip, deflate Referer http://rapidmicrobiology.dev/ Cookie XSRF-TOKEN=eyJpdiI6IjJzVlhrQXJ…4YjY2MjcwMjg0MjhkNjUifQ%3D%3D Connection keep-alive Upgrade-Insecure-Requests 1

While the other which is 200 as:

Host rapidmicrobiology.dev User-Agent Mozilla/5.0 (Windows NT 6.1; W…) Gecko/20100101 Firefox/56.0 Accept text/html,application/xhtml+xm…plication/xml;q=0.9,*/*;q=0.8 Accept-Language en-US,en;q=0.5 Accept-Encoding gzip, deflate Referer http://rapidmicrobiology.dev/ Cookie XSRF-TOKEN=eyJpdiI6IjJzVlhrQXJ…4YjY2MjcwMjg0MjhkNjUifQ%3D%3D Connection keep-alive Upgrade-Insecure-Requests 1

My site method getting called twice in firefox browser but not on other browsers. When i check the console the it calls twice, one with request header as: Host rapidmicrobiology.dev User-Agent Mozilla/5.0 (Windows NT 6.1; W…) Gecko/20100101 Firefox/56.0 Accept text/html,application/xhtml+xm…plication/xml;q=0.9,*/*;q=0.8 Accept-Language en-US,en;q=0.5 Accept-Encoding gzip, deflate Referer http://rapidmicrobiology.dev/ Cookie XSRF-TOKEN=eyJpdiI6IjJzVlhrQXJ…4YjY2MjcwMjg0MjhkNjUifQ%3D%3D Connection keep-alive Upgrade-Insecure-Requests 1 While the other which is 200 as: Host rapidmicrobiology.dev User-Agent Mozilla/5.0 (Windows NT 6.1; W…) Gecko/20100101 Firefox/56.0 Accept text/html,application/xhtml+xm…plication/xml;q=0.9,*/*;q=0.8 Accept-Language en-US,en;q=0.5 Accept-Encoding gzip, deflate Referer http://rapidmicrobiology.dev/ Cookie XSRF-TOKEN=eyJpdiI6IjJzVlhrQXJ…4YjY2MjcwMjg0MjhkNjUifQ%3D%3D Connection keep-alive Upgrade-Insecure-Requests 1

Toutes les réponses (6)

more options

hello, hard to explain especially if it's your project behind a local hostname. Check your code, especially javascript, your server settings etc. If your project is only about html/css/javscript (static website) then try to push your sources on a public server if possible, we will try to investigate deeper. In addition, can you reproduce with firefox in safe mode?

more options

But the problem is only with firefox, and not other browsers. My project is in php. I tried in safe mode as well., but the probem exists.

Modifié le par garimarameshsingh

more options

Ok, new browsers built to W3C Standards, implementing that is not easy. So with that said you when making a web page also has to adhere to see thing in your code. So the slightest error in code can break a browser. In this case Firefox. So I am thinking. http://www.rapidmicrobiology.com/ Seems rather a small error here in your code on front page HTML but not going to run each page to see if more. Please check your code 1 more time running your pages through here for HTML https://validator.w3.org/ as per error https://validator.w3.org/nu/?doc=http%3A%2F%2Fwww.rapidmicrobiology.com%2F and CSS through here https://jigsaw.w3.org/css-validator/ errors https://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.rapidmicrobiology.com%2F&profile=css3&usermedium=all&warning=1&vextwarning=&lang=en

So, yes it may still be the browser if you were having other issues on other sites, or something else was going. So suggest that it is the code and Firefox now can not read the incorrect/errors.

Now I may be completely wrong on this altogether.

Please let us know if this solved your issue or if need further assistance.

Modifié le par Shadow110

more options

the site http://www.rapidmicrobiology.com/ is an old one, I have created same website in php-laravel locally. It is not yet public, how can I check errors/bugs on local pages?

more options

Found no error here https://validator.w3.org/nu/#textarea only warnings.

more options

I do not think it comes from HTML but from javascript or request. Do you have a form or a PHP which could send a request automatically? Again, the best way to help you is to get the website and reproduce your issue.