sagit

Results 15 comments of sagit

1.2.0-rc.2也是一样的报错

这个问题已经解决了,是Python版本的问题,用3.7就好了

但是我手动进入网页填数据库信息就可以链接数据库 ![image](https://user-images.githubusercontent.com/36596628/161461538-92d26fe5-9ee8-4f63-b870-085baa926f45.png) ![image](https://user-images.githubusercontent.com/36596628/161461442-fb1129d2-53d0-4ce5-8469-cba5b7b66ab7.png)

更奇怪的是CI测试是正常的 https://github.com/truecharts/apps/runs/5805738136?check_suite_focus=true#step8:1781

![image](https://user-images.githubusercontent.com/36596628/161471860-79cd7416-ba01-4492-8666-ae2c90da6278.png) 不行,你这个得放到CMD吧?

``` Typecho 1.2.0 2022-04-04 04:15:09.648920+00:00PHP 8.0.17 2022-04-04 04:15:09.648930+00:00Typecho\Db\Adapter\ConnectionException Object 2022-04-04 04:15:09.648939+00:00( 2022-04-04 04:15:09.648946+00:00[message:protected] => SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution 2022-04-04 04:15:09.648959+00:00[string:Exception:private] => 2022-04-04 04:15:09.648967+00:00[code:protected] =>...

奇怪了,可能是系统BUG吧,我问问TrueCharts那边吧

![图片](https://user-images.githubusercontent.com/36596628/168408191-c006b1f5-1bea-4543-82e3-6833e56e4f68.png) ![图片](https://user-images.githubusercontent.com/36596628/168408197-8b6107c6-f6a8-4cb8-844c-4ca6712a2c70.png) ![图片](https://user-images.githubusercontent.com/36596628/168408351-24d9b557-a788-44cd-b921-fe7b9ecf08f8.png) 我昨天把博客迁移到k3s里也发现了类似的问题,typecho不解析这样的域名,而像docker的短的域名是正常的,换成k8s这种域名就报错了,最后一张图是因为没有ping 我就用curl试了一下,是正确解析的