Giter Club home page Giter Club logo

Comments (7)

Wang1Big avatar Wang1Big commented on June 11, 2024

这个问题我也遇到了,应该是企业微信的API还不支持IPV6,所以无法完成回调。

from chatgpt-on-wechat.

dsosy avatar dsosy commented on June 11, 2024

我是ipv4,openapi回调地址不通过困扰着

from chatgpt-on-wechat.

kilimro avatar kilimro commented on June 11, 2024

我也遇到了相同的问题,怎么破呢

from chatgpt-on-wechat.

kyeo-hub avatar kyeo-hub commented on June 11, 2024

给一个解题思路,花10元随便买个域名,把域名给到cloudflare托管,IPV6利用cloudflare的隧道绑定到域名上面,应该就可以了。上面错误日志里面的是企业微信回调会带的信息,你这里是空,说明根本没有收到企业微信的回调。
另外通过企业微信回调的地址,并不一定要在你这台机器上,也可以利用其他有IPV4的机器部署回调,别问我怎么知道的,最近部署青龙的通知服务时用企业微信回调也是研究了半天,结果使用这个项目回调成功,直接可信IP绑定了青龙的IP,也可以成功接收到青龙的信息(我的青龙和chatgpt-on-wechat不是部署在同一个IP上),不过即使你回调成功,我估计企业微信可信IP哪里还是不能使用IPV6,所以利用cloudflare的隧道加域名应该是比较便宜且方便的办法。
不用cloudflare也可以直接用域名解析IPV6,但是那样就怕你自己的IPV6地址改变了,不稳定。
总结原理就是域名绑定:
1.IPV4利用脚本动态绑定域名
2.IPV6直接绑定域名
3.IPV6+cloudflare隧道绑定域名(这一种重启服务器不怕IP改变)

from chatgpt-on-wechat.

kilimro avatar kilimro commented on June 11, 2024

from chatgpt-on-wechat.

lm379 avatar lm379 commented on June 11, 2024

我也遇到相同的问题了,域名解析到阿里云新加坡的机器上无法通过,但是在广州的服务器就能通过验证,是不是只能境内的ip才能通过校验啊,两台机器都是纯ipv4

from chatgpt-on-wechat.

kilimro avatar kilimro commented on June 11, 2024

from chatgpt-on-wechat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.