R
Railway

✋|help

Response Pending with OpenAI

Iinufe8/27/2023
Hi I have SAAS website running on Railway using OpenAI with Next js , the problem is the endpoint not responding after a couple of hours from restarting server but when I restart the server again the endpoint come back and run as excepted , I don't why I have to restart the server each time to make service running I got a lot of issues from my clients , each time they talked to me about the service is not there I restart the server then service it's working -_-
BBrody8/27/2023
project id
Iinufe8/27/2023
1fd25b39-88d9-45c9-b56f-1a62c88aede1
BBrody8/27/2023
so what technologies are involved in your project?
Iinufe8/27/2023
Next js & OpenAI
I deployed the website on another self-hosted and working fine for 2 months
but with Railway I have to restart the server a lot to make endpoint work
BBrody8/27/2023
what do your metrics look like
are you deploying to railway with nixpacks?
Iinufe8/27/2023
Iinufe8/27/2023
yes
BBrody8/27/2023
what version of node is it using?
Iinufe8/27/2023
how I can know ?
BBrody8/27/2023
build table at the top of the build logs
when you say not responding, can you be more specific? do you get a 404, 503, timeout?
Iinufe8/27/2023
nodejs-16_x,
and Nixpacks v1.13.0
just on PENDING status
BBrody8/27/2023
what is pending, please be more specific
Iinufe8/27/2023
now the service is working on the second time when it shows I will see the status more specific
BBrody8/27/2023
okay
Iinufe8/29/2023
@Brody Hi can you see the video please
https://drive.google.com/file/d/1rz4KFGVG8mRyOA7m4iLj_KK-nXeFK1az/view?usp=sharing
As you see the endpoint is pending , when I restart the server it's working
BBrody8/29/2023
what type of request is that? get, post, websockets?
Iinufe8/29/2023
POST with openAI
BBrody8/29/2023
whats the full url of that request
that the browser makes
BBrody8/29/2023
and i assume thats the custom domain for your app
Iinufe8/29/2023
yes
BBrody8/29/2023
is there anything in the error logs when that happens?
Iinufe8/29/2023
no
just pending
BBrody8/29/2023
what do the metrics look like when you get the pending thing

Looking for more? Join the community!

Recommended Posts
Django backend fails to respondWhen I click on the url for my django backend (I am using react frontend in a separate service) I geReflexHi, someone deploy reflex.dev in railway? do you have a guide?The new log explorer is great, Is it possible to show the service name in there ?Currently in the log explorer the service name is an ID and I was wondering if you plan to show the What is a good / recommended resource use for a web app? Plus question about scaling.I am deploying a few applications for a client of mine. It is a multi-tenant app made in sveltekit. How to put site on maintenance mode in railway?hello everyone how do i put a site on maintenance mode in railway or 'page can not be reached' mode Service not updating to Hobby specshey! I don't know if I'm doing something wrong but I paid for the hobby plan but my service still haerror on index fileI have an index file in a folder that exports all the components in that folder for easier importinOdoo Community EditionI would like to know if we can setup Odoo in railway? The odoo image is built with docker using thiWebsocket disconnectingHey, I have an app that uses a websocket (hosted on railway) but for some reason every once in a whinpm WARN config production Use `--omit=dev` instead when trying to start Nestjs appI'm trying to deploy my app (https://github.com/Omniforce-Technologies/omniforce-asset-store/tree/deDjangoHello good people of Railway! I would like to ask for a bit of help and advice about Django deploymeI have a custom domain from SuperHostingI have this doman briefeats.eu and I want to configure it to point to my angular app Currently I haDNS settings not being accepted by domain host.I'm finalizing a deployment of a React.js frontend only site, I got the green confirmation of the siWinston logs not appearing in deployment logsIn my node.js deployment if I do a console.log it appears normally in deployment logs, but using windeploy logs say nuxt "start" is an unknown command. Production and development sites both crashed.😫CMD Line accessI freaking swear I hate this so much I JUST WANT TO BE ABLE TO USE THE COMMAND LINE <:sadcat:7868689Laravel cron jobsHow can I run php artisan schedule:work every minute?Postgres drops connection when inactive, is this by default?I'm developing a node app using AdonisJS@5 and on a prolonged inactivity period (more than 5 hours) Fontconfig to canvasHi, I've been using the node-canvas in default railway when I use that, only libuuid and libGL are ivolumehey guys! quick question, I've got a golang project. I need it to create a json file on railway and