Connection Issues with ElastiCache Serverless for Redis on Large Data Packets Using Predis with SSL

0

I'm facing issues trying to connect and send data to an ElastiCache Serverless for Redis instance using the Predis library in PHP. Specifically, when attempting to send data packets around 20kb, I encounter the following errors:

ERROR: fgets(): SSL: Connection reset by peer
Error while writing bytes to the server.

I'm using SSL connections to ensure data security, but it seems that when sending larger packets, the connection is interrupted or reset.

Additionally, I would like to clarify whether it's necessary to enable cluster mode in Predis to effectively use ElastiCache Serverless for Redis, even though my application is not explicitly configured to use Redis in cluster mode.

Here are some additional details about my configuration:

Use of the Predis library for Redis connection.
Connection via SSL to ensure security.
Attempts to send data packets of approximately 20kb result in errors.
Uncertainty about the need to enable cluster mode in the Predis configuration for ElastiCache Serverless.
질문됨 3달 전99회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인