Coder Social home page Coder Social logo

Comments (10)

yokonsan avatar yokonsan commented on July 24, 2024

海外服务器吗,能正常访问 discord 吗

from midjourney-api.

skrleo avatar skrleo commented on July 24, 2024

海外服务器吗,能正常访问 discord 吗

我觉得 可以弄个代理,在国内也可以访问的那种

from midjourney-api.

tangmi1988 avatar tangmi1988 commented on July 24, 2024

海外服务器吗,能正常访问 discord 吗

香港服务器,可以正常ping通

from midjourney-api.

yokonsan avatar yokonsan commented on July 24, 2024

海外服务器吗,能正常访问 discord 吗

香港服务器,可以正常ping通

看描述是证书验证不过,你可以试下在请求的时候加上verify_ssl=False
在文件util/fetch.py第48行:

...
    async with session.request(method, url, verify_ssl=False, **kwargs) as resp:
...

from midjourney-api.

tugers avatar tugers commented on July 24, 2024

加了 verify_ssl=False 还是报错,有其他解决办法吗

from midjourney-api.

tugers avatar tugers commented on July 24, 2024

File "D:\ProgramData\Anaconda3\lib\site-packages\aiohttp\connector.py", line 1175, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
File "D:\ProgramData\Anaconda3\lib\site-packages\aiohttp\connector.py", line 988, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host discord.com:443 ssl:default [信号灯超时时间已到]

from midjourney-api.

tugers avatar tugers commented on July 24, 2024

用的是代理,能正常访问discord

from midjourney-api.

yokonsan avatar yokonsan commented on July 24, 2024

参考:https://stackoverflow.com/questions/63347818/aiohttp-client-exceptions-clientconnectorerror-cannot-connect-to-host-stackover

from midjourney-api.

Ghostlll avatar Ghostlll commented on July 24, 2024

遇到同样的问题,上面两个办法都解决不了呢。
File "C:\Users\liulong\AppData\Roaming\Python\Python39\site-packages\aiohttp\connector.py", line 1175, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
File "C:\Users\liulong\AppData\Roaming\Python\Python39\site-packages\aiohttp\connector.py", line 988, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host discord.com:443 ssl:default [信号灯超时时间已到]

from midjourney-api.

momoyaoquaoao avatar momoyaoquaoao commented on July 24, 2024

遇到同样的问题,上面两个办法都解决不了呢。 File "C:\Users\liulong\AppData\Roaming\Python\Python39\site-packages\aiohttp\connector.py", line 1175, in _create_direct_connection transp, proto = await self._wrap_create_connection( File "C:\Users\liulong\AppData\Roaming\Python\Python39\site-packages\aiohttp\connector.py", line 988, in _wrap_create_connection raise client_error(req.connection_key, exc) from exc aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host discord.com:443 ssl:default [信号灯超时时间已到]

后来解决了吗

from midjourney-api.

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.