【Azure 应用服务】访问App Service突然出现 ERR_SSL_PROTOCOL_ERROR错误的解答
问题描述
在中国区的Azure App Service服务中,新创建的站点突然访问出现 “ This site can’t provide a secure connection,xxxxxx.chinacloudsites.cn sent an invalid response. ERR_SSL_PROTOCOL_ERROR”
问题分析
从网络方面分析,先通过nslookup对域名进行解析,然后使用tcping 域名。 如果结果没有有效的发现,就需要使用WireShark来抓取网络包。分析包中内容。
1) nslookup xxxxxx.chinacloudsites.cn or nameresolver xxxxxx.chinacloudsites.cn
2)tcpping xxxxxx.chinacloudsites.cn or tcpping xxxxxx.chinacloudsites.cn:443
3) 抓取网络包, Window环境中可以参考文章( 在Windows环境中抓取网络包(netsh trace)后,如何转换为Wireshark格式以便进行分析 ), 而Linux中,可以使用指令:tcpdump
How can I capture a network trace?
####################################
On Windows • Wireshark https://www.wireshark.org/download.html • Netsh (if wireshark cannot be installed) https://techcommunity.microsoft.com/t5/iis-support-blog/capture-a-network-trace-without-installing-anything-amp-capture/ba-p/376503 On Linux • TCPDump sudo apt-get install tcpdump (Debian) //installation command yum install tcpdump –y (RedHat) //installation command https://www.tcpdump.org/manpages/tcpdump.1.html tcpdump –D //list network interface sudo tcpdump -i eth0 -w capture.pcap //capture all traffic from interface eth0 CTLR+C to stop capturing
分析后,就发现一个关键信息:TLS连接被403 Forbiden,而显示的内容位上海蓝云阻断页面27.
通过HTTP的方式访问站点,果然,获取到ICP备案提醒。
后续,就需要根据法律要求,进行ICP备案。
参考文档
应用服务备案消息:https://www.azure.cn/support/icp/WebApp/index.html
ICP备案网站:https://icp.cloud.21vianet.com/
ICP Registration Website: https://icp.cloud.21vianet.com/
ICP备案热点问题: https://www.azure.cn/support/icp/icp-faq/
ICP Registration FAQ: https://www.azure.cn/support/icp/icp-faq/
- 【Azure 应用服务】FTP 部署 Vue 生成的静态文件至 Linux App Service 后,访问App Service URL依旧显示Azure默认页面问题
- 【应用服务 App Service】在Azure Web App的部署文件中,是否可以限制某些文件无法被访问?(如json)
- 游览器出现net::ERR_SSL_PROTOCOL_ERROR错误的解决
- 【Azure 应用服务】App Service 配置 Application Settings 访问Storage Account得到 could not be resolved: '*.file.core.windows.net'的报错。没有解析成对应中国区 Storage Account地址 *.file.core.chinacloudapi.cn
- 【Azure 应用服务】App Service中,为Java应用配置自定义错误页面,禁用DELETE, PUT方法
- 【Azure 应用服务】Azure App Service (Windows) 使用Flask框架部署Python应用,如何在代码中访问静态文件呢?如何设置文件路径?是相对路径还是绝对路径呢?
- 【Azure 应用服务】App Service中运行Python 编写的 Jobs,怎么来安装Python包 (pymssql)呢?
- 【Azure 应用服务】App Service For Linux 如何在 Web 应用实例上住抓取网络日志
- 【Azure 应用服务】App Service 通过配置web.config来添加请求返回的响应头(Response Header)
- 【Azure 应用服务】VS2019发布应用到正在运行的App Service时失败问题的解决
- 安装Mysql后,服务启动不了,出现"Could not start the service mysql error"错误
- 【应用服务 App Service】App Service For Linux 中如何挂载一个共享文件夹呢? Mount Azure Storage Account File Share
- 【Azure 应用服务】App Service站点Header头中的中文信息显示乱码?当下载文件时,文件名也是乱码?
- windows安装Apache,注册服务出现“(OS 5)拒绝访问。 : AH00369: Failed to open the WinNT service manager..."错误 [转]
- 【Azure 应用服务】遇见“无法创建hybrid connection for App Service”的解决办法
- 安装完MySQL 5.1,在最后配置启动服务时,出现could not start the service MySQL.Error:0 错误
- windows安装Apache,注册服务出现“(OS 5)拒绝访问。 : AH00369: Failed to open the WinNT service manager..."错误
- 【Azure 应用程序见解】在Azure门户中,创建App Service(应用服务)时,无法一起创建Application Insights的问题
- 【Azure 应用服务】App Service .NET Core项目在Program.cs中自定义添加的logger.LogInformation,部署到App Service上后日志不显示Log Stream中的问题
- Firefox访问https出现 ssl_error_weak_server_ephemeral_dh_key错误