Troubleshooting of HTTP errors: Difference between revisions
Jump to navigation
Jump to search
m (→References) |
|||
| Line 19: | Line 19: | ||
例如:RESTful API 遇到該錯誤,可能解決方式是 HTTP Headers 加入 | 例如:RESTful API 遇到該錯誤,可能解決方式是 HTTP Headers 加入 | ||
== 502 Bad Gateway == | |||
解決方法:因為是網路設備間發生錯誤,使用者並無法處理<ref>[https://hostingpill.com/zh-TW/502%E9%8C%AF%E8%AA%A4%E7%9A%84%E7%B6%B2%E9%97%9C/ 什麼是502 Bad Gateway錯誤以及如何解決(輕鬆修復指南)]</ref>。所以可以採用的解決方式是 | |||
* [https://zh.wikipedia.org/zh-tw/Help:%E7%BB%95%E8%BF%87%E6%B5%8F%E8%A7%88%E5%99%A8%E7%BC%93%E5%AD%98 繞過瀏覽器快取],瀏覽器重新整理頁面 | |||
* 過一陣子再重新連線 | |||
參考資料 | |||
* [https://developer.mozilla.org/zh-TW/docs/Web/HTTP/Status/502 502 Bad Gateway - HTTP | MDN] | |||
== Error 1020: Access Denied == | == Error 1020: Access Denied == | ||
Revision as of 10:25, 21 April 2022
HTTP status code
403 Forbidden Error
404 File Not Found
405 Method Not Allowed Error
解決方法:檢查存取的文件或資源支援呼叫使用的 HTTP protocol [1],例如限制使用 POST ,卻使用 GET 存取。
415 Unsupported Media Type
解決方法:「於請求中設置的 Content-Type 或 Content-Encoding 或對資料的直接訪問」。參考資料:415 Unsupported Media Type - HTTP | MDN
例如:RESTful API 遇到該錯誤,可能解決方式是 HTTP Headers 加入
502 Bad Gateway
解決方法:因為是網路設備間發生錯誤,使用者並無法處理[2]。所以可以採用的解決方式是
- 繞過瀏覽器快取,瀏覽器重新整理頁面
- 過一陣子再重新連線
參考資料
Error 1020: Access Denied
Content-Type: application/json

- From HTTP Cats
Related websites
Related pages
References
Troubleshooting of ...
- PHP, cUrl, Python, selenium, HTTP status code errors
- Database: SQL syntax debug, MySQL errors, MySQLTuner errors or PostgreSQL errors
- HTML/Javascript: Troubleshooting of javascript, XPath
- Software: Mediawiki, Docker, FTP problems, online conference software
- Test connectivity for the web service, Web Ping, Network problem, Web user behavior, Web scrape troubleshooting
Template