Help us understand the problem. What is going on with this article?

predis [An error has occurred: Error while reading line from the server ~hoge]

More than 5 years have passed since last update.

predisで通信をテストしていたところ、
下記のエラーが出て、一時的に通信が遮断

errorログ
An error has occurred: Error while reading line from the server ~~

redis.confファイルのtimeout を 0にして再起動
predisで接続時にread_write_timeout=0を追加して発生しなくなった

ytake
著: Laravelリファレンス(インプレス) Laravelエキスパート養成読本(技術評論社) PHPフレームワーク Laravel Webアプリケーション開発 バージョン 5.5 LTS対応(ソシム)
https://blog.ytake.jp.net/
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away