skip to Main Content

I can not connect redis pod to webapp pod

Here are logs of webapp pod {"date":"Mon Oct 09 2023 11:50:54 GMT+0530 (India Standard Time)","process":{"pid":1,"uid":0,"gid":0,"cwd":"/sails","execPath":"/root/.nvm/versions/node/v14.17.1/bin/node","version":"v14.17.1","argv":["/root/.nvm/versions/node/v14.17.1/bin/node","/sails/app.js","--prod","--port","8080"],"memoryUsage":{"rss":255209472,"heapTotal":187183104,"heapUsed":154731976,"external":78028716,"arrayBuffers":76383815}},"os":{"loadavg":[0.65,0.25,0.18],"uptime":2744194.54},"trace":[{"column":24,"file":"/sails/node_modules/redis/index.js","function":"RedisClient.on_error","line":196,"method":"on_error","native":false},{"column":14,"file":"/sails/node_modules/redis/index.js","function":null,"line":106,"method":null,"native":false},{"column":28,"file":"events.js","function":"Socket.emit","line":375,"method":"emit","native":false},{"column":12,"file":"domain.js","function":"Socket.emit","line":470,"method":"emit","native":false},{"column":8,"file":"internal/streams/destroy.js","function":"emitErrorNT","line":106,"method":null,"native":false},{"column":3,"file":"internal/streams/destroy.js","function":"emitErrorCloseNT","line":74,"method":null,"native":false},{"column":21,"file":"internal/process/task_queues.js","function":"processTicksAndRejections","line":82,"method":null,"native":false}],"stack":["Error: Redis connection to pv-redis:6379 failed - getaddrinfo ENOTFOUND pv-redis"," at RedisClient.on_error (/sails/node_modules/redis/index.js:196:24)"," at Socket. (/sails/node_modules/redis/index.js:106:14)"," at Socket.emit (events.js:375:28)"," at Socket.emit (domain.js:470:12)"," at emitErrorNT (internal/streams/destroy.js:106:8)"," at…

VIEW QUESTION

Redis – After upgrading Spring Boot from 2.5 to 3.1.2 version, package org.cache2k.integration is not found

While building the project getting below error: error: package org.cache2k.integration does not exist import org.cache2k.integration.CacheLoader; Screenshot of error Setup details under build.gradle file: targetCompatibility = '17' sourceCompatibility = '17' plugins { id 'java' id 'org.springframework.boot' version '3.1.2' apply false id…

VIEW QUESTION

How to instantiate a python connection pool from cloud run with redis.StrictRedis to connect securely to google cloud Redis (Memstore)

From a cloud run service, I successfully create a connection to google cloud Redis with: redis_webhooks = redis.StrictRedis( host=redis_webhooks_host, port=redis_webhooks_port, password=redis_webhooks_authstring, ssl=True, db=1, ssl_cert_reqs="required", ssl_ca_certs=f"/tmp/{redis_webhooks_server_ca_pem_name}", ) I am now trying to instantiate a connection pool, for better performance, I am…

VIEW QUESTION
Back To Top
Search