Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

לאתר זה תהיה פונקציונליות מוגבלת בזמן שאנו מתחזקים אותו לשיפור החוויה שלך. אם מאמר מסויים לא פותר את הבעיה שלך וברצונך לשאול שאלה, קהילת התמיכה שלנו מחכה לעזור לך ב־Twitter תחת ‎@FirefoxSupport וב־Reddit תחת ‎/r/firefox.

חיפוש בתמיכה

יש להימנע מהונאות תמיכה. לעולם לא נבקש ממך להתקשר או לשלוח הודעת טקסט למספר טלפון או לשתף מידע אישי. נא לדווח על כל פעילות חשודה באמצעות באפשרות ״דיווח על שימוש לרעה״.

מידע נוסף

Suddenly always redirecting to https

  • 4 תגובות
  • 15 have this problem
  • 15 views
  • תגובה אחרונה מאת GPraz

more options

I am running a local apache server for website development. I have always accessed these local sites with http://

Suddenly today firefox is redirecting to https:// and I receive the "Secure Connection Failed" error.

I have completely removed the firefox profile by deleting the ~/.mozilla and ~/.cache/mozilla directories, but the problem persists.

I have set browser.urlbar.autoFill to false, but the problem persists.

I am not running any extensions or add ons.

No changes to the apache configuration have been made.

No system updates have been installed since it was working yesterday.

Even with apache stopped, the local sites still immediately redirect to https://

The sites are directed to localhost via the /etc/hosts file, for example: 127.0.0.1 examplelocalsite.dev

I have restarted the computer and the problem persists.

The problem is not occurring in Chrome.

The problem is not occurring with external http:// websites.

I am not running any type of security software other than a basic firewall configuration with ufw

The problem persists with ufw disabled.

I have purged the firefox installation with apt purge firefox and reinstalled fresh but the problem persists.

I am running a local apache server for website development. I have always accessed these local sites with http:// Suddenly today firefox is redirecting to https:// and I receive the "Secure Connection Failed" error. I have completely removed the firefox profile by deleting the ~/.mozilla and ~/.cache/mozilla directories, but the problem persists. I have set browser.urlbar.autoFill to false, but the problem persists. I am not running any extensions or add ons. No changes to the apache configuration have been made. No system updates have been installed since it was working yesterday. Even with apache stopped, the local sites still immediately redirect to https:// The sites are directed to localhost via the /etc/hosts file, for example: 127.0.0.1 examplelocalsite.dev I have restarted the computer and the problem persists. The problem is not occurring in Chrome. The problem is not occurring with external http:// websites. I am not running any type of security software other than a basic firewall configuration with ufw The problem persists with ufw disabled. I have purged the firefox installation with apt purge firefox and reinstalled fresh but the problem persists.

השתנתה ב־ על־ידי tekhi

פתרון נבחר

hi, in case you're using a .dev domain as local development environment - that's a top level domain belonging to google and enforcing a valid ssl certificate since recently: https://ma.ttias.be/chrome-force-dev-domains-https-via-preloaded-hsts/ https://medium.engineering/use-a-dev-domain-not-anymore-9521977

Read this answer in context 👍 6

כל התגובות (4)

more options

פתרון נבחר

hi, in case you're using a .dev domain as local development environment - that's a top level domain belonging to google and enforcing a valid ssl certificate since recently: https://ma.ttias.be/chrome-force-dev-domains-https-via-preloaded-hsts/ https://medium.engineering/use-a-dev-domain-not-anymore-9521977

more options

That was it. Strange that it is working in chrome since google is responsible.

השתנתה ב־ על־ידי tekhi

more options

Hi the solution is simple and it's detailed here : How to prevent firefox from redirecting to https. Be cafeful as you will be modifiying sensitive configuration.

more options

philipp said

hi, in case you're using a .dev domain as local development environment - that's a top level domain belonging to google and enforcing a valid ssl certificate since recently: https://ma.ttias.be/chrome-force-dev-domains-https-via-preloaded-hsts/ https://medium.engineering/use-a-dev-domain-not-anymore-9521977

It took me 3 hours before I finally found this answer. Too bad they published this in the end of 2017; my colleagues was having problem why their local .dev host suddenly stopped working.

השתנתה ב־ על־ידי GPraz