Predis: Error while reading line from the server

1,035 views
Skip to first unread message

2ge

unread,
Sep 24, 2010, 4:17:26 AM9/24/10
to Redis DB
Hi all,

I am using PHP library Predis - http://github.com/nrk/predis/, and I
am seeing in log:

[24-Sep-2010 10:11:31] PHP Fatal error: Uncaught exception 'Predis
\CommunicationException' with message 'Error while reading line from
the server' in Predis.php:1303
Stack trace:
#0 Predis.php(1372): Predis\Connection-
>onCommunicationException('Error while rea...')
#1 Predis.php(689): Predis\Connection->readLine()
#2 Predis.php(1312): Predis\ResponseReader->read(Object(Predis
\Connection))
#3 Predis.php(1297): Predis\Connection->readResponse(Object(Predis
\Commands\SelectDatabase))
#4 Predis.php(1278): Predis\Connection->sendInitializationCommands()
#5 Predis.php(1382): Predis\Connection->connect()
#6 Predis.php(1335): Predis\Connection->getS in Predis.php on line
1303

it means, PHP can not connect to Redis server, or there was error with
communication (network error) ?

FreeBSD 8.0, Redis server version 2.0.1

Thanks

Daniele Alessandri

unread,
Sep 24, 2010, 5:02:45 AM9/24/10
to redi...@googlegroups.com
On Fri, Sep 24, 2010 at 10:17, 2ge <geg...@gmail.com> wrote:
Hi all,

I am using PHP library Predis - http://github.com/nrk/predis/, and I
am seeing in log:


If you don't see the same behavior using redis-cli, then please file a bug on the bug tracker of Predis (http://github.com/nrk/predis/issues) with more details about what your script is doing when you experience such problems, frequency and such. This mailing list is not meant for client libraries issues.

Thanks,
Daniele

--
Daniele Alessandri
http://clorophilla.net/
http://twitter.com/JoL1hAHN
Reply all
Reply to author
Forward
0 new messages