当前位置:论坛首页 > Linux面板 > 求助

【已完成】宝塔面板开通了SSL证书但是使用https无法访问网站

发表在 Linux面板2023-2-10 14:14 [复制链接] 13 8360

本帖最后由 堡塔运维小林 于 2023-3-29 11:57 编辑

服务器开通的443端口

宝塔面板也开通了

数据库改了

面板证书也不熟离开

求大神指点,服务器在亚马逊AWS上
下载.png
下载 (1).png
下载 (2).png
下载 (3).png
下载 (4).png
使用道具 举报 只看该作者 回复
发表于 2023-2-10 14:42:39 | 显示全部楼层
补充,服务器是在亚马逊的香港服务器,SSl证书在阿里云申请的,(单http国内外都可以访问,设置了SSl国内就无法访问)
使用道具 举报 回复 支持 反对
发表于 2023-2-10 14:43:26 | 显示全部楼层
宝塔用户_rlfifb 发表于 2023-2-10 14:42
补充,服务器是在亚马逊的香港服务器,SSl证书在阿里云申请的,(单http国内外都可以访问,设置了SSl国内就 ...

请问各大神们,如何解决此问题
使用道具 举报 回复 支持 反对
发表于 2023-2-10 15:00:18 | 显示全部楼层
有无使用到CDN、云加速这类的设置?如果有用到则检查这类设置是否未设置正确
使用道具 举报 回复 支持 反对
发表于 2023-2-10 15:06:27 | 显示全部楼层
谢花郎 发表于 2023-2-10 15:00
有无使用到CDN、云加速这类的设置?如果有用到则检查这类设置是否未设置正确 ...

没有使用CDN和云加速
使用道具 举报 回复 支持 反对
发表于 2023-2-10 15:10:37 | 显示全部楼层

那就结合网站日志和PHP日志进行一个排查,这个错误是链接重置导致返回的。
使用道具 举报 回复 支持 反对
发表于 2023-2-10 15:41:54 | 显示全部楼层
谢花郎 发表于 2023-2-10 15:10
那就结合网站日志和PHP日志进行一个排查,这个错误是链接重置导致返回的。 ...

国外可以正常访问,不再面板开通SSL证书仅仅使用Http的话  也可以国内外都可以正常访问,日志的话看不太懂
使用道具 举报 回复 支持 反对
发表于 2023-2-10 15:48:29 | 显示全部楼层
谢花郎 发表于 2023-2-10 15:10
那就结合网站日志和PHP日志进行一个排查,这个错误是链接重置导致返回的。 ...

2023/02/10 13:26:03 [error] 865#0: *9496 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /www/wwwroot/mco.com.sg/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php on line 963PHP message: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 524288 bytes) in /www/wwwroot/mco.com.sg/wp-includes/pomo/translations.php on line 101PHP message: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 524288 bytes) in /www/wwwroot/mco.com.sg/wp-content/plugins/gravityforms/gravityforms.php on line 6722" while reading response header from upstream, client: 157.55.39.119, server: mco.com.sg, request: "GET /zh_cn/category/audit-related-information/ HTTP/2.0", upstream: "fastcgi://unix:/tmp/php-cgi-74.sock:", host: "mco.com.sg"
2023/02/10 14:03:53 [error] 865#0: *9735 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /www/wwwroot/mco.com.sg/wp-includes/class-wp-theme-json.php on line 799" while reading response header from upstream, client: 112.32.119.148, server: mco.com.sg, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi-74.sock:", host: "mco.com.sg"
2023/02/10 14:12:43 [error] 2043#0: *9813 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /www/wwwroot/mco.com.sg/wp-includes/functions.php on line 4802PHP message: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /www/wwwroot/mco.com.sg/wp-content/plugins/translatepress-multilingual/includes/class-languages.php on line 96PHP message: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 176128 bytes) in /www/wwwroot/mco.com.sg/wp-content/plugins/gravityforms/includes/libraries/class-dom-parser.php on line 93" while reading response header from upstream, client: 50.7.252.75, server: mco.com.sg, request: "GET /wp-json/contact-form-7/v1/contact-forms/2506/feedback/schema HTTP/2.0", upstream: "fastcgi://unix:/tmp/php-cgi-74.sock:", host: "mco.com.sg", referrer: "https://mco.com.sg/"
2023/02/10 14:17:56 [error] 2043#0: *9844 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /www/wwwroot/mco.com.sg/wp-content/plugins/all-in-one-seo-pack/app/Common/Options/DynamicOptions.php on line 92PHP message: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 176128 bytes) in /www/wwwroot/mco.com.sg/wp-content/plugins/gravityforms/includes/libraries/class-dom-parser.php on line 93" while reading response header from upstream, client: 50.7.252.75, server: mco.com.sg, request: "GET /wp-json/contact-form-7/v1/contact-forms/2506/feedback/schema HTTP/2.0", upstream: "fastcgi://unix:/tmp/php-cgi-74.sock:", host: "mco.com.sg", referrer: "https://mco.com.sg/"
2023/02/10 14:17:56 [error] 2043#0: *9844 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0" while reading upstream, client: 50.7.252.75, server: mco.com.sg, request: "GET /wp-json/contact-form-7/v1/contact-forms/2506/feedback/schema HTTP/2.0", upstream: "fastcgi://unix:/tmp/php-cgi-74.sock:", host: "mco.com.sg", referrer: "https://mco.com.sg/"
2023/02/10 14:29:37 [error] 2043#0: *10000 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /www/wwwroot/mco.com.sg/wp-includes/class-wpdb.php on line 2153PHP message: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /www/wwwroot/mco.com.sg/wp-includes/class-wp-fatal-error-handler.php on line 74PHP message: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 176128 bytes) in /www/wwwroot/mco.com.sg/wp-content/plugins/gravityforms/includes/libraries/class-dom-parser.php on line 93" while reading response header from upstream, client: 107.170.240.10, server: mco.com.sg, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi-74.sock:", host: "18.162.133.227"




这是网站的错误日志  能否帮忙看下
使用道具 举报 回复 支持 反对
发表于 2023-2-10 17:42:26 | 显示全部楼层
服务器没有开443端口 1676022113926.png
使用道具 举报 回复 支持 反对
发表于 2023-2-10 17:58:48 | 显示全部楼层

开了的  没有开的话国外应该也访问不了的,但是现在是部署ssl证书后,国外可以访问,国内访问不了
使用道具 举报 回复 支持 反对
发表于 2023-2-10 18:02:39 | 显示全部楼层
宝塔用户_rlfifb 发表于 2023-2-10 17:58
开了的  没有开的话国外应该也访问不了的,但是现在是部署ssl证书后,国外可以访问,国内访问不了
...

联系服务器商更换IP试试
应该是IP被墙了 1676023313254.png
使用道具 举报 回复 支持 反对
发表于 2023-2-10 18:21:33 | 显示全部楼层
宝塔用户_tnnywc 发表于 2023-2-10 18:02
联系服务器商更换IP试试
应该是IP被墙了

我换到自己的服务器上也是不可以的。国外可以访问,国内不可以。会不会是域名被墙了或者拉黑啥的  有种说法吗
使用道具 举报 回复 支持 反对
发表于 2023-2-10 18:23:09 | 显示全部楼层
宝塔用户_rlfifb 发表于 2023-2-10 18:21
我换到自己的服务器上也是不可以的。国外可以访问,国内不可以。会不会是域名被墙了或者拉黑啥的  有种说 ...

您可以试试使用新ip访问 但是如果是被墙问题 80端口理论上也是不能访问的 建议您更换一个服务器厂商 推荐:nansaiidc.cn
使用道具 举报 回复 支持 反对
发表于 2023-3-29 11:56:51 | 显示全部楼层
宝塔用户_rlfifb 发表于 2023-2-10 18:21
我换到自己的服务器上也是不可以的。国外可以访问,国内不可以。会不会是域名被墙了或者拉黑啥的  有种说 ...

您好,您的问题解决是否解决了呢?如果还未解决,可重新发帖咨询
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表