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

无效ip,公众号白名单报错 #112

Open
BetaLeev opened this issue Nov 4, 2020 · 0 comments
Open

无效ip,公众号白名单报错 #112

BetaLeev opened this issue Nov 4, 2020 · 0 comments

Comments

@BetaLeev
Copy link

BetaLeev commented Nov 4, 2020

[2020-11-04T16:54:56.017] [INFO] default - fetching access token
[40164] invalid ip 120.244.112.8 ipv6 ::ffff:120.244.112.8, not in whitelist rid: 5fa26c60-1a0ebdd5-32fd1cd0
Error: cannot get access_token
at WechatSpider.getAccessToken (/Users/vlee/Desktop/artipub-master/spiders/wechat.js:88:15)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async WechatSpider.run (/Users/vlee/Desktop/artipub-master/spiders/wechat.js:44:5)
at async ArticlePublisher.run (/Users/vlee/Desktop/artipub-master/lib/ArticlePublisher.js:27:9)
at async ArticlePublisher.start (/Users/vlee/Desktop/artipub-master/lib/BaseExecutor.js:30:5)
at async /Users/vlee/Desktop/artipub-master/exec.js:38:11
(node:65485) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'close' of undefined

40164 调用接口的IP地址不在白名单中,请在接口IP白名单中进行设置。(小程序及小游戏调用不要求IP地址在白名单内。)

image

ip 地址白名单,无论是写了内网,还是外网, 本地,全都试过了,都报错。

请先生给个方向!

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

1 participant