diay
diay
RRailway
Created by diay on 8/13/2024 in #✋|help
Failing requests on V2 Runtime `net::ERR_HTTP2_PROTOCOL_ERROR 400`
I tried to switch to using the V2 runtime on one of my apps recently and was frequently getting the following error when I make any request to my nodejs express server: net::ERR_HTTP2_PROTOCOL_ERROR 400 This issue was resolved when I switched back to using the legacy runtime. I've attached a video showing the error
8 replies
RRailway
Created by diay on 6/18/2024 in #✋|help
Redis failing to connect with `ECONNREFUSED`
Hi team, today our apps started getting the error when trying to connect with our redis instance:
{"code":"ECONNREFUSED","error":"connect ECONNREFUSED 127.0.0.1:6379","errorLevel":"standard","label":"WorkerClientRedis","name":"Error","stack":"Error: connect ECONNREFUSED 127.0.0.1:6379\n at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1495:16)"}
{"code":"ECONNREFUSED","error":"connect ECONNREFUSED 127.0.0.1:6379","errorLevel":"standard","label":"WorkerClientRedis","name":"Error","stack":"Error: connect ECONNREFUSED 127.0.0.1:6379\n at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1495:16)"}
We've read through a couple threads and tried the following: 1. We are using private redis, so we've ensured we have family=0 set on the connections 2. We tried switching to the public connection. We're able to connect and run on app with the public connection locally, but we still get errors in prod. We're using ioredis with the following settings:
const BASE_REDIS_OPTIONS: RedisOptions = {
reconnectOnError: () => true,
connectTimeout: 5000,
retryStrategy: (times) => Math.min(times * 50, 2000),
maxRetriesPerRequest: 0,
enableReadyCheck: true,
autoResubscribe: true,
keepAlive: 1000 * 30,
family: 0,
const BASE_REDIS_OPTIONS: RedisOptions = {
reconnectOnError: () => true,
connectTimeout: 5000,
retryStrategy: (times) => Math.min(times * 50, 2000),
maxRetriesPerRequest: 0,
enableReadyCheck: true,
autoResubscribe: true,
keepAlive: 1000 * 30,
family: 0,
This was working for us until today
9 replies