Comments (9)
我遇到了类似的错误,除了已经提到的不支持 TLSv1.3
外,还有一点是:LuatTools
下载时不要勾选 添加默认lib
,而是手动导入作者提供的所有脚本
合宙提供的脚本(截至 2024.01.03)在请求 HTTPS
时如果没有配置客户端证书,则在 TLS
握手时不会发送 server_name
扩展,目前绝大多数开启 strictSni
的服务器会直接断开连接。如果需要使用新版本的官方脚本,需要手动修改 hostNameFlag
参数:
--- socket4G.lua
+++ socket4G.lua
@@ -161,7 +161,7 @@
elseif self.protocol == 'TCPSSL' then
local cert = {hostName = address}
local insist = 1
- local hostNameFlag = 0
+ local hostNameFlag = 1
if self.cert then
if self.cert.caCert then
if self.cert.caCert:sub(1, 1) ~= "/" then self.cert.caCert = "/lua/" .. self.cert.caCert end
或者像作者一样直接将 socket_connect_fnc
的最后一个参数固定为 1
air724ug-forwarder/script/lib/socket4G.lua
Line 155 in d1fd021
from air724ug-forwarder.
from air724ug-forwarder.
有试过换 http 吗
from air724ug-forwarder.
证书没配置好,是不是用了自签名证书或者缺少证书中级根
from air724ug-forwarder.
证书没配置好,是不是用了自签名证书或者缺少证书中级根
域名证书是Letsencrypt,但是我看代码中请求http.request(method, url, nil, headers, body, timeout, callback),证书是忽略的,第三个参数
from air724ug-forwarder.
有试过换 http 吗
用https://api.day.app,没问题的。我自己又试了下http倒是可以了请求成功了,看来问题出在证书上面
from air724ug-forwarder.
检查一下服务器 TLS 最低版本是不是 TLSv1.3
Air724UG 好像最高支持到 1.2
from air724ug-forwarder.
检查一下服务器 TLS 最低版本是不是 TLSv1.3 Air724UG 好像最高支持到 1.2
检查了也不是1.3,暂时懒得折腾了,http先用着吧。感谢解惑
from air724ug-forwarder.
cloudflare 是不是开了 tlsv1.3 关掉就行
from air724ug-forwarder.
Related Issues (20)
- 请问录音上传是默认开启的吗 HOT 6
- 同种配置支持多个? HOT 2
- 已经用cloudflare代理了Telegram机器人,该如何修改使用呢 HOT 4
- 请求增加对繁体字的支持 HOT 2
- Air724UG配置合宙官方推送,请求有时成功有时失败 HOT 5
- 请问作者大大,可否增加根据不同短信种类以不同优先级发送的功能?
- 大佬能否将demo中采用 multipart/form-data 上传文件的方式集成到里面,用作上传Alist网盘,这样就可以免费了 HOT 5
- 724UG是否支持wifi-calling?希望能增加wifi calling HOT 1
- 724开发板支持双卡短信转发么? HOT 1
- 作者您好,想咨询一下卡死的情况 HOT 8
- 请问导入脚本,提示文件总数量超过了固件脚本区空间 HOT 2
- 新的问题 HOT 5
- 请教一下录音上传的方式是否支持webdav方式?还有就是录音功能能否关闭? HOT 1
- 短信控制双卡切换 HOT 1
- 本地存储历史短信功能
- 钉钉加签方式推送实现
- 添加扬声器支持
- 添加一些通知渠道
- 求:加个wifi模块连接wifi使用 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from air724ug-forwarder.