Nixpack build error

This is what I've been encountering building my Django app on railway for the past 72 hours. Please I need help
No description
Solution:
If you're looking to implement google login with your app, you'll need to use a custom domain.
Jump to solution
34 Replies
Percy
Percy11mo ago
Project ID: N/A
sambabarinde
sambabarindeOP11mo ago
Is this the same as service ID
sambabarinde
sambabarindeOP11mo ago
It's on the screenshot
Brody
Brody11mo ago
not really, please use the bookmarklet
sambabarinde
sambabarindeOP11mo ago
it is a django app\
Brody
Brody11mo ago
can you share your repo
sambabarinde
sambabarindeOP11mo ago
It's deployed now, but the link to access the app says "application failed to respond." See image attached.
No description
Brody
Brody11mo ago
what did you use for the start command?
sambabarinde
sambabarindeOP11mo ago
Python manage.py
Brody
Brody11mo ago
what folder contains the wsgi.py file?
sambabarinde
sambabarindeOP11mo ago
The main project named giiv_app
Brody
Brody11mo ago
thats the folder within your project that contains the wsgi.py file?
sambabarinde
sambabarindeOP11mo ago
Yes
Brody
Brody11mo ago
then your start command should be gunicorn giiv_app.wsgi
sambabarinde
sambabarindeOP11mo ago
So I should replace all start command with this Without manage.py
Brody
Brody11mo ago
wdym all?
sambabarinde
sambabarindeOP11mo ago
I should remove manage.py
Brody
Brody11mo ago
your new start command should be just gunicorn giiv_app.wsgi
sambabarinde
sambabarindeOP11mo ago
Thanks
sambabarinde
sambabarindeOP11mo ago
This is the error now, while in production the templates are working
No description
Brody
Brody11mo ago
where are your templates stored in the project?
sambabarinde
sambabarindeOP11mo ago
Each project app has a separate template folder in it and a folder named the app name inside which the templates are located Here's an example for an app named core. I have Core > templates > core > template files
Brody
Brody11mo ago
then you may just be using paths wrong, please review your code
sambabarinde
sambabarindeOP11mo ago
Ok
sambabarinde
sambabarindeOP11mo ago
I am receiving this error trying to use the Google login feature
No description
Duchess
Duchess11mo ago
Thread has been flagged to Railway team by @Adam.
Faraz
Faraz11mo ago
Where are you seeing this error?
Adam
Adam11mo ago
^ Railway doesn’t have a google login feature. Are you trying to implement one with your app?
sambabarinde
sambabarindeOP11mo ago
Yes I've done all the settings in the app
Solution
Adam
Adam11mo ago
If you're looking to implement google login with your app, you'll need to use a custom domain.
Adam
Adam11mo ago
Railway's domain won't work, since you don't own it
Ray
Ray11mo ago
You'll need a custom domain for this to work Railway-provided domains do not work w/ Google auth
Want results from more Discord servers?
Add your server