error: stream is not readable
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 (<anonymous>)
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
6 Replies
Project ID:
667fe179-f101-4dcd-9838-bdf2bdca173a
667fe179-f101-4dcd-9838-bdf2bdca173a
are you trying to keep any connections to strapi open for longer than 5 minutes?
Not specific
@Brody can you look into my account? It happened overnight again, egress is exploded...
Looks like requests cannot be processed and start over and over again, endless
this would be a code or a configuration issue, i dont work for railway so theres nothing i can really look into
hmm ok