error: stream is not readable
Anonymous
TRIALOP

2 years ago

I am hosting Strapi CMS on Railway.

The Strapi CMS is connected with my NextJS app, via Graphql.

In my NextJS App I have a revalidate of 60 seconds. I tested it by crawling 100 pages and see what happens.

I see a lot of errors coming in on Railway for Strapi. Do you know how to fix this? Was not expecting this.

It is stuck in some kind of loop…

`

[2024-02-21 14:42:12.854] error: stream is not readable

InternalServerError: stream is not readable

at readStream (/app/node_modules/raw-body/index.js:185:17)

at executor (/app/node_modules/raw-body/index.js:120:5)

at new Promise ()

at getRawBody (/app/node_modules/raw-body/index.js:119:10)

at module.exports [as json] (/app/node_modules/koa-bodyparser/node_modules/co-body/lib/json.js:39:21)

at parseBody (/app/node_modules/koa-bodyparser/index.js:99:26)

at bodyParser (/app/node_modules/koa-bodyparser/index.js:80:25)

at /app/node_modules/apollo-server-koa/dist/ApolloServer.js:15:16

at dispatch (/app/node_modules/koa-compose/index.js:42:32)

at /app/node_modules/apollo-server-koa/dist/ApolloServer.js:18:16`

7 Replies

Anonymous
TRIALOP

2 years ago

667fe179-f101-4dcd-9838-bdf2bdca173a


2 years ago

are you trying to keep any connections to strapi open for longer than 5 minutes?


Anonymous
TRIALOP

2 years ago

Not specific


Anonymous
TRIALOP

2 years ago

<@539512869780455445> can you look into my account? It happened overnight again, egress is exploded...


Anonymous
TRIALOP

2 years ago

Looks like requests cannot be processed and start over and over again, endless


2 years ago

this would be a code or a configuration issue, i dont work for railway so theres nothing i can really look into


Anonymous
TRIALOP

2 years ago

hmm ok


Welcome!

Sign in to your Railway account to join the conversation.

Loading...