Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于开启https无法访问的问题 #2184

Open
Martinxux opened this issue Feb 27, 2024 · 8 comments
Open

关于开启https无法访问的问题 #2184

Martinxux opened this issue Feb 27, 2024 · 8 comments

Comments

@Martinxux
Copy link

Martinxux commented Feb 27, 2024

我使用的是泛域名申请的SSL证书有 “*” 符号在开启https时配置文件需要注意什么吗?

docker日志下显示获取不到
image
image

 2024-02-27 22:22:12	{"ExtInfo":{"ClientIP":"xxxx:xxxx::xxxx:xxxx:xxxx:xxxx","Host":"aria2.xxx.top","Method":"POST","RemoteIP":"xxxx:xxxx::xxxx:xxxx:xxxx:xxxx","URL":"/jsonrpc","UserAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0"},"level":"info","msg":"[aria2.xxx.top] 指向后端地址[http://192.168.1.102:16800/jsonrpc]"}

2024-02-27 22:22:12	{"ExtInfo":{"ClientIP":"xxxx:xxxx::xxxx:xxxx:xxxx:xxxx","Host":"aria2.xxx.top","Method":"POST","RemoteIP":"xxxx:xxxx::xxxx:xxxx:xxxx:xxxx","URL":"/jsonrpc","UserAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0"},"level":"info","msg":"Upgrade [] Connection[]"}

2024-02-27 22:22:12	{"ExtInfo":{},"level":"error","msg":"proxy ErrorHandler : dial tcp 192.168.1.102:16800: connect: connection refused"}

2024-02-27 22:22:15	{"ExtInfo":{"ClientIP":"xxxx:xxxx::xxxx:xxxx:xxxx:xxxx","Host":"aria2.xxx.top","Method":"POST","RemoteIP":"xxxx:xxxx::xxxx:xxxx:xxxx:xxxx","URL":"/jsonrpc","UserAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0"},"level":"info","msg":"[aria2.xxx.top] 指向后端地址[http://192.168.1.102:16800/jsonrpc]"}

2024-02-27 22:22:15	{"ExtInfo":{"ClientIP":"xxxx:xxxx::xxxx:xxxx:xxxx:xxxx","Host":"aria2.xxx.top","Method":"POST","RemoteIP":"xxxx:xxxx::xxxx:xxxx:xxxx:xxxx","URL":"/jsonrpc","UserAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0"},"level":"info","msg":"Upgrade [] Connection[]"}

2024-02-27 22:22:15	{"ExtInfo":{},"level":"error","msg":"proxy ErrorHandler : dial tcp 192.168.1.102:16800: connect: connection refused"}

2024-02-27 22:22:18	{"ExtInfo":{"ClientIP":"xxxx:xxxx::xxxx:xxxx:xxxx:xxxx","Host":"aria2.xxx.top","Method":"POST","RemoteIP":"xxxx:xxxx::xxxx:xxxx:xxxx:xxxx","URL":"/jsonrpc","UserAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0"},"level":"info","msg":"[aria2.xxx.top] 指向后端地址[http://192.168.1.102:16800/jsonrpc]"}

2024-02-27 22:22:18	{"ExtInfo":{"ClientIP":"xxxx:xxxx::xxxx:xxxx:xxxx:xxxx","Host":"aria2.xxx.top","Method":"POST","RemoteIP":"xxxx:xxxx::xxxx:xxxx:xxxx:xxxx","URL":"/jsonrpc","UserAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0"},"level":"info","msg":"Upgrade [] Connection[]"}

2024-02-27 22:22:18	{"ExtInfo":{},"level":"error","msg":"proxy ErrorHandler : dial tcp 192.168.1.102:16800: connect: connection refused"}

2024-02-27 22:22:21	{"ExtInfo":{"ClientIP":"xxxx:xxxx::xxxx:xxxx:xxxx:xxxx","Host":"aria2.xxx.top","Method":"POST","RemoteIP":"xxxx:xxxx::xxxx:xxxx:xxxx:xxxx","URL":"/jsonrpc","UserAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0"},"level":"info","msg":"[aria2.xxx.top] 指向后端地址[http://192.168.1.102:16800/jsonrpc]"} 
@IAALAI
Copy link

IAALAI commented Mar 14, 2024

证书路径错误,路径没有对应的文件

@Martinxux
Copy link
Author

证书路径错误,路径没有对应的文件

报错是这么说的吗?但是我已经放到了对应路径中了

@IAALAI
Copy link

IAALAI commented Mar 14, 2024

是的,你确定是放到对了吗?

@Martinxux
Copy link
Author

是的,你确定是放到对了吗?

是的,我在没放对的时候会提示can't find
刚开始我是直接下载证书放进去,后来我用的lucky 把证书映射出来的(可以避免我三个月替换一次证书),可是无论哪种方法好像都有问题,我在用ariang下载的时候,会提示我域名解析错误

@Martinxux
Copy link
Author

我看后台日志最后报了phase error ,说我的config文件有语法错误,我实在找不出来是哪里错误了,我是在初始的基础上改的,所以我会怀疑是不是*的问题呢,毕竟是特殊符号。

@IAALAI
Copy link

IAALAI commented Mar 15, 2024

我看后台日志最后报了phase error ,说我的config文件有语法错误,我实在找不出来是哪里错误了,我是在初始的基础上改的,所以我会怀疑是不是*的问题呢,毕竟是特殊符号。

有可能

@zhengqwe
Copy link

zhengqwe commented Mar 19, 2024

可以用符号连接把证书文件映射到没有特殊字符的文件名上

@qianbinbin
Copy link

qianbinbin commented Mar 21, 2024

* 前加个反斜杠 \ 试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants