Giter VIP home page Giter VIP logo

chaoxing_sign's Introduction

chaoxing_sign's People

Contributors

exqlnet avatar kingcanfish avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

chaoxing_sign's Issues

启动容器卡住

docker-compose up -d
在上面那个代码运行的时候,会卡住下载
Creating network "chaoxing_default" with the default driver
Pulling redis (redis:3.2)...
3.2: Pulling from library/redis
f17d81b4b692: Pull complete
b32474098757: Pull complete
8980cabe8bc2: Pull complete
58af19693e78: Pull complete
a977782cf22d: Pull complete
9c1e268980b7: Pull complete
Building cx_web
Step 1/4 : FROM python:3.8
3.8: Pulling from library/python
e22122b926a1: Pull complete
f29e09ae8373: Pull complete
e319e3daef68: Pull complete
e499244fe254: Pull complete
5a6ebed20e89: Downloading [> ] 3.214MB/192.3MB
56b703a5a371: Download complete
dec810778c22: Download complete
505aac614a24: Download complete
36deae172a15: Download complete
我大概知道事因为服务器连接外网的问题,我是想问问怎么能解决下。麻烦大佬了

云函数调用失败 求解

日志:

ERROR RequestId:e563c248-acbd-4dc1-9315-3990536cd3ad Result:{"errorCode":1,"errorMessage":"user code exception caught","stackTrace":"Traceback (most recent call last):\n File "/var/user/redis/connection.py", line 585, in _connect\n socket.SOCK_STREAM):\n File "/var/lang/python3/lib/python3.6/socket.py", line 743, in getaddrinfo\n for res in _socket.getaddrinfo(host, port, family, type, proto, flags):\nsocket.gaierror: [Errno -2] Name or service not known\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/var/runtime/python3/bootstrap.py", line 176, in handle\n ret = self.real_handler(event, context)\n File "/var/user/cx_tx_scf.py", line 15, in main_handler\n s = AutoSign(username, password, server_chan_key, redis_host="\u003credis-host\u003e", redis_port=6379)\n File "/var/user/cx.py", line 31, in init\n if not self.check_cookies_status():\n File "/var/user/cx.py", line 45, in check_cookies_status\n cookies_byte = self.cache.get(self.username + "_cookies")\n File "/var/user/redis/client.py", line 1606, in get\n return self.execute_command('GET', name)\n File "/var/user/redis/client.py", line 898, in execute_command\n conn = self.connection or pool.get_connection(command_name, **options)\n File "/var/user/redis/connection.py", line 1192, in get_connection\n connection.connect()\n File "/var/user/redis/connection.py", line 563, in connect\n raise ConnectionError(self._error_message(e))\nredis.exceptions.ConnectionError: Error -2 connecting to \u003credis-host\u003e:6379. Name or service not known.","statusCode":430}

Report RequestId:e563c248-acbd-4dc1-9315-3990536cd3ad Duration:71ms Memory:512MB MemUsage:23.976562MB

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.