我在研究环境中运行,一直卡住不动,是不是聚宽已经连不上了
/opt/conda/lib/python3.6/site-packages/redis/client.py in set(self, name, value, ex, px, nx, xx)
1392 if xx:
1393 pieces.append('XX')
-> 1394 return self.execute_command('SET', *pieces)
1395
1396 def __setitem__(self, name, value):
/opt/conda/lib/python3.6/site-packages/redis/client.py in execute_command(self, *args, **options)
758 if not connection.retry_on_timeout and isinstance(e, TimeoutError):
759 raise
--> 760 connection.send_command(*args)
761 return self.parse_response(connection, command_name, **options)
762 finally:
/opt/conda/lib/python3.6/site-packages/redis/connection.py in send_command(self, *args)
617 def send_command(self, *args):
618 "Pack and send a command to the Redis server"
--> 619 self.send_packed_command(self.pack_command(*args))
620
621 def can_read(self, timeout=0):
/opt/conda/lib/python3.6/site-packages/redis/connection.py in send_packed_command(self, command)
592 "Send an already packed command to the Redis server"
593 if not self._sock:
--> 594 self.connect()
595 try:
596 if isinstance(command, str):
/opt/conda/lib/python3.6/site-packages/redis/connection.py in connect(self)
496 except socket.error:
497 e = sys.exc_info()[1]
--> 498 raise ConnectionError(self._error_message(e))
499
500 self._sock = sock
ConnectionError: Error 110 connecting to redis-12633.c295.ap-southeast-1-1.ec2.redns.redis-cloud.com:12633. Connection timed out.
2024-12-11