cheprasov / php-redis-client

RedisClient is a fast, fully-functional and user-friendly client for Redis, optimized for performance. RedisClient supports the latest versions of Redis starting from 2.6 to 6.0
MIT License
126 stars 41 forks source link

An error occurred while saving a sufficiently long string #67

Closed yakovkravtsov closed 6 years ago

yakovkravtsov commented 6 years ago

Hello!

Redis server: 3.2.100 ( OpenServer, Windows )

PHP 7.1 x64

String length === 14000 ( Serialized multilevel array )

Timeout = 60 (!!!)

Method = $Redis->set()

Result: Uncaught RedisClient\Exception\EmptyResponseException: Empty response. Please, check connection timeout.

Why??? What am I doing wrong?

cheprasov commented 6 years ago

Hey @darksoftware Please provide more information about the error:

  1. RedisClient configuration.
  2. Example of code which throws the error.
  3. Try to execute the same command in redis-cli
  4. Try to execute simple command like $Redis->set('foo', 'bar');, does it work fine?
  5. Check timeout and connection.timeout in config, check php ini value for ini_get("default_socket_timeout").
  6. Check firewall settings.
  7. Please show trace of the error.

Please provide maximum description of the error.

cheprasov commented 6 years ago

It looks like the question in not actual anymore.