收藏
回答

webhook提示连接被对方重设?

在一台工控机上执行就是出错,查了下企业微信后台并没有频繁限制,是IP被限制了吗?相同的内容,其他测试机都很正常。

curl -v -H 'Content-Type: application/json'   'https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=1111111111111111111'   -d '{"msgtype": "text", "text": {"content": "测试消息"}}'

*   Trying 140.206.161.227:443...

* Connected to qyapi.weixin.qq.com (140.206.161.227) port 443 (#0)

* ALPN: offers h2,http/1.1

* TLSv1.3 (OUT), TLS handshake, Client hello (1):

*  CAfile: /etc/ssl/certs/ca-certificates.crt

*  CApath: /etc/ssl/certs

* Recv failure: 连接被对方重设

* OpenSSL SSL_connect: 连接被对方重设 in connection to qyapi.weixin.qq.com:443

* Closing connection 0

curl: (35) Recv failure: 连接被对方重设在一台工控机上执行就是出错,查了下企业微信后台并没有频繁限制,是IP被限制了吗?相同的内容,其他测试机都很正常。

curl -v -H 'Content-Type: application/json'   'https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=1111111111111111111'   -d '{"msgtype": "text", "text": {"content": "测试消息"}}'

*   Trying 140.206.161.227:443...

* Connected to qyapi.weixin.qq.com (140.206.161.227) port 443 (#0)

* ALPN: offers h2,http/1.1

* TLSv1.3 (OUT), TLS handshake, Client hello (1):

*  CAfile: /etc/ssl/certs/ca-certificates.crt

*  CApath: /etc/ssl/certs

* Recv failure: 连接被对方重设

* OpenSSL SSL_connect: 连接被对方重设 in connection to qyapi.weixin.qq.com:443

* Closing connection 0

curl: (35) Recv failure: 连接被对方重设


回答关注问题邀请回答
收藏

1 个回答

  • 智能回答 智能回答 本次回答由AI生成
    星期三 14:52
    有用
登录 后发表内容