2018年6月21日 星期四

解決 307 Internal Redirect

某個網址原本有https被拿掉後,chrome輸入http的網址自動轉跳到https然後顯示 ERR_CONNECTION_REFUSED
開發者工具勾選Preserve Log看,發現是 307 Internal Redirect

如何解決?
https://stackoverflow.com/questions/25277457/google-chrome-redirecting-localhost-to-https/28586593#28586593
chrome瀏覽器打開 chrome://net-internals/#hsts 
先在 Query HSTS/PKP domain 查你被 307 Internal Redirect 的域名,如果是Not Found,這邊就不是你要的答案
如果有內容,如下圖
那就到 Delete domain security policies 輸入你被 307 Internal Redirect 的網址,然後Delete 他
現在你能使用HTTP訪問該網址了






2 則留言:

  1. 感謝你的文章,有效解決我的問題!想不到解法是這麼隱密,啥清除瀏覽記錄都沒用。。。

    回覆刪除