gpt4 book ai didi

ssl - 如何修复 GCloud App Engine ERR_SSL_PROTOCOL_ERROR?

转载 作者:行者123 更新时间:2023-12-04 22:43:06 27 4
gpt4 key购买 nike

我希望有一个我一直忽略的简单解决方案。我用 Python 在 Google Cloud App Engine 上创建了一个应用程序,其中包含一些 REST API。每当我尝试使用 API 时,都会收到 ssl 错误。
使用 HTTPClient 时我收到握手错误,当我进入浏览器时,我得到 ERR_SSL_PROTOCOL_ERROR .有趣的是,如果我先使用 HTTP,然后使用 HTTPS,它至少可以在短时间内完美运行。
这是我第一次使用谷歌云。根据我在文档中阅读的内容,App Engine 负责处理所有 HTTPS 内容,包括证书。有什么我想念的吗?
任何帮助将不胜感激。
更新:
Comcast 实际上阻止了与我的 Web 服务的所有连接。我可以通过 VPN 完美访问它。有谁知道我如何解决问题以通过康卡斯特?否则,只要涉及 Comcast,我的 Web 服务就毫无用处。

最佳答案

什么是 ERR_SSL_PROTOCOL_ERROR?

The ERR_SSL_PROTOCOL_ERROR occurs when the website you’re trying toopen is facing a problem which is preventing the mandatory exchange ofcertificate.


是什么导致了这个错误?

This issue can be caused by:

  1. Invalid System Time
  2. Clear Browsing Data
  3. Clear Your SSL State
  4. Disable QUIC Protocol of Chrome
  5. Check Your Antivirus Settings
  6. Check Your Firewall
  7. Disable Extensions

如何解决这个问题?
  • 检查系统日期

  • When the date of your computer is not in sync with the date of theserver that you’re trying to access you’ll face the problem ofERR_SSL_PROTOCOL_ERROR on your Chrome browser.To fix this, adjust the date of your system to current date and then try opening the site.


  • 清除浏览数据

  • Sometimes browsing data may also come in the way of your internet surfingexperience, thus giving you that nasty SSL error again andagain. If the date on your computer is right, follow the steps givenbelow to delete browsing data from your Chrome browser:

    • Launch Chrome;
    • Press Ctrl + Shift + Delete;
    • Ensure that the time range is set to “All Time”;
    • Check the checkbox for “Cookies and other site data”;
    • Check the checkbox for “Cached images and files”;
    • Hit Clear Data
    • Wait for it to complete, and once it has been done try loading the website again in your browser.

  • 清除您的 SSL 状态

  • If your problem still persists, the next thing you should try is clearing the SSL >state of your computer. Follow the steps given below to do that:

    • Click on the 3 dots showing next to the address bar in Chrome, right below the close button of the browser.
    • Click Settings and scroll all the way down to Advanced Click on the button to expand Advanced settings;
    • Now scroll down to “Open Proxy Settings” option under System section and click on it;
    • A window named “Internet Properties” will open. Go to Content tab in that window and click on Clear SSL State.

  • 禁用 Chrome 的 QUIC 协议(protocol)

  • Try disabling the QUIC Protocol of Google Chrome browser. To do that,paste:

    chrome://flags/#enable-quic

    in the address bar of your Chrome browser and hit Enter; UnderExperimental QUIC Protocol option, you’ll see that it’s set to“Default”. Disable it.


  • 检查您的防病毒设置

  • Sometimes your antivirus may also be the cause behind an SSL error.Antivirus programs scan the websites for malicious elementsand other security threats, which also includes checking the SSL/TLSversion of a site. If a website is using an outdated version of SSL,the antivirus blocks it and doesn’t allow us to visit it. In thiscase, the problem can be solved by disabling the antivirustemporarily.


  • 检查您的防火墙

  • Check your Firewall to ensure that the website you’re trying to visitis not present in its blocklist. If you find it there, remove it andtry loading the website again.


  • 禁用扩展

  • Make sure that your website is not blocked by any extension. Disableyour Chrome extensions one by one and open the error generatingwebsite again and again as you do that.


    如果错误仍然存​​在,那么我建议您使用 Google Cloud Platform technical support 开票。为了通过检查您的项目来进一步调查。

    关于ssl - 如何修复 GCloud App Engine ERR_SSL_PROTOCOL_ERROR?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63498404/

    27 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com