yokonsan / midjourney-api

midjourney in discord api.
777 stars 176 forks source link

机器人启动报错 #12

Closed GoldThree closed 1 year ago

GoldThree commented 1 year ago

raise client_error(req.connection_key, exc) from exc aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host discord.com:443 ssl:default [Connect call failed ('31.13.88.169', 443)]

看报错应该是连接不上,需要什么配置吗?

GoldThree commented 1 year ago

另外server请求之后也是一直重试,但是我的网络是可以访问discord的,请问是什么原因呢?还有CALLBACK_URL填写的是啥呀?感谢指教

GoldThree commented 1 year ago

网络问题已解决

1615070057 commented 1 year ago

一样的问题, 请问最终是怎么解决的.

1615070057 commented 1 year ago

网络问题已解决

一样的问题, 请问最终是怎么解决的.

tangmi1988 commented 1 year ago

同样的问题,怎么解决的?

a1120235890 commented 1 year ago

所以callback 填什么 网络问题我也测试过了我配置了全局代理而且能正常访问discord 为什么还是超时

a1120235890 commented 1 year ago

Task exception was never retrieved future: <Task finished name='Task-10' coro=<Task.call() done, defined at E:\炼数\midjourney-api-master\util_queue.py:21> exception=MaxRetryError('超出最大重试次数')> Traceback (most recent call last): File "E:\炼数\midjourney-api-master\util_queue.py", line 22, in call await self.func(*self.args, **self.kwargs) File "E:\炼数\midjourney-api-master\lib\api\discord.py", line 138, in generate return await trigger(payload) File "E:\炼数\midjourney-api-master\lib\api\discord.py", line 33, in trigger return await fetch(session, TRIGGER_URL, data=json.dumps(payload)) File "E:\炼数\midjourney-api-master\util\fetch.py", line 30, in connect_n_times raise MaxRetryError("超出最大重试次数") exceptions.MaxRetryError: 超出最大重试次数

momoyaoquaoao commented 7 months ago

网络问题已解决

亲 你怎么解决的呀

momoyaoquaoao commented 7 months ago

网络问题已解决

亲 你怎么解决的呀

@yokonsan 大佬,我本地浏览器可以访问discord.com。