Hi,
I m trying to enable SSL connection to azure redis cache with port 6380. Also I added the redis-port 6380 at configuration tab of App services and in codebase at docker-compose.yml file , .env file of the ROR application which is running on azure app service. But I see application is down ever since then. I tried restarting the app service and azure redis cache, but it didnt work. I m able to see redis connection timed out error in logs.
below are the logs:
[a0772e93-2ca4-4e5b-bb9c-54c606a70f50] Redis::TimeoutError (Connection timed out):
[a0772e93-2ca4-4e5b-bb9c-54c606a70f50]
[a0772e93-2ca4-4e5b-bb9c-54c606a70f50] redis (4.0.3) lib/redis/connection/ruby.rb:71:in `rescue in _read_from_socket'
[a0772e93-2ca4-4e5b-bb9c-54c606a70f50] redis (4.0.3) lib/redis/connection/rF, [2023-11-21T11:17:41.757863 #23] FATAL -- : [2702280f-d2ad-4a27-b451-f3ce709e2724]
[2702280f-d2ad-4a27-b451-f3ce709e2724] Redis::ConnectionError (Connection lost (ECONNRESET)):
[2702280f-d2ad-4a27-b451-f3ce709e2724]
[2702280f-d2ad-4a27-b451-f3ce709e2724] redis (4.0.3) lib/redis/client.rb:260:in `rescue in io'
[2702280f-d2ad-4a27-b451-f3ce709e2724] redis (4.0.3) lib/redis/client.rb:252:in `io'
[2702280f-d2ad-4a27-b451-f3ce709e2724] redis (4.0.3) lib/redis/client.rb:264:in `read'
[41m[30mfail[39m[22m[49m: Middleware[0]
2023-11-23T08:42:28.935017702Z Failed to forward request to http://169.254.131.3:3000. Encountered a System.Threading.Tasks.TaskCanceledException exception after 299998.289ms with message: The request was canceled due to the configured HttpClient.Timeout of 300 seconds elapsing.. Check application logs to verify the application is properly handling HTTP traffic.
2023-11-23T08:42:28.947193451Z [41m[30mfail[39m[22m[49m: Middleware[0]
2023-11-23T08:42:28.947228353Z Failed to forward request to http://169.254.131.3:3000. Encountered a System.Threading.Tasks.TaskCanceledException exception after 300004.499ms with message: The request was canceled due to the configured HttpClient.Timeout of 300 seconds elapsing.. Check application logs to verify the application is properly handling HTTP traffic.
2023-11-23T08:42:28.938404230Z [41m[30mfail[39m[22m[49m: Middleware[0]
2023-11-23T08:42:28.938436330Z Failed to forward request to http://169.254.130.3:3000. Encountered a System.Threading.Tasks.TaskCanceledException exception after 300002.847ms with message: The request was canceled due to the configured HttpClient.Timeout of 300 seconds elapsing.. Check application logs to verify the application is properly handling HTTP traffic.