fad
fad
RRailway
Created by Devmoha on 7/31/2023 in #✋|help
Service or Project for front end with backend project
Could you perhaps give us a bit more details in what you're trying to accomplish and what part you're struggling with? Are you confused about how to create multiple services within one project? Or perhaps just trying to figure out how to connect the two services through environment variables? Or is there something else you're not sure of?
11 replies
RRailway
Created by Devmoha on 7/31/2023 in #✋|help
Service or Project for front end with backend project
You should be able to just create a single project, but multiple services within that project. One service for the back-end and another service for the front-end.
11 replies
RRailway
Created by reimakesgames on 7/31/2023 in #✋|help
some error that i don't know how to explain
Honestly from my point of view your issue is more of a transpiler config issue.
90 replies
RRailway
Created by reimakesgames on 7/31/2023 in #✋|help
some error that i don't know how to explain
It seems really weird that the error message shows the full path to the module.
90 replies
RRailway
Created by reimakesgames on 7/31/2023 in #✋|help
some error that i don't know how to explain
Oh nevermind then
90 replies
RRailway
Created by reimakesgames on 7/31/2023 in #✋|help
some error that i don't know how to explain
You don't have to type the full path to the module. Just type the module name.
90 replies
RRailway
Created by reimakesgames on 7/31/2023 in #✋|help
some error that i don't know how to explain
I think you're importing the class the wrong way
90 replies
RRailway
Created by reimakesgames on 7/31/2023 in #✋|help
some error that i don't know how to explain
Try npm install --save pg @types/pg
90 replies
RRailway
Created by reimakesgames on 7/31/2023 in #✋|help
some error that i don't know how to explain
You probably don't want to use that package anyway. The popular option is pg not postgres
90 replies
RRailway
Created by Samuel Sousa on 7/30/2023 in #✋|help
Cookie is set on insomnia, but not on production app
9 replies
RRailway
Created by _kaiss on 7/30/2023 in #✋|help
Django apps not responding anymore...
Could you perhaps post some logs from the build/deployment process? I know you said nothing on your logs, but I assume you were talking about the logs from the app.
78 replies
RRailway
Created by aydin26532 on 7/28/2023 in #✋|help
Icons can not be shown
IIRC a typical Django installation would have separate directories for serving static files when in development and in production. In production you'd want to run the python manage.py collectstatic command to move the static files from the dev directories and into the production one. So likely that's what you're missing right now. This command is also executed as part of the start command in the template that Brody posted.
18 replies
RRailway
Created by balwindersingh on 7/28/2023 in #✋|help
Node js server crashing with in five minutes or less
It looks like your database provider is closing the connection to the database unexpectedly. Your app doesn't seem to know how to handle this situation causing an exception to be raised which causes the program to crash.
7 replies
RRailway
Created by balwindersingh on 7/28/2023 in #✋|help
Node js server crashing with in five minutes or less
Relevant log that was posted in the chit chat channel
node:events:491
throw er; // Unhandled 'error' event
^
Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:217:20)
Emitted 'error' event on Connection instance at:
at Connection._handleProtocolError (/app/node_modules/mysql/lib/Connection.js:423:8)
at Protocol.emit (node:events:513:28)
at Protocol._delegateError (/app/node_modules/mysql/lib/protocol/Protocol.js:398:10)
at Protocol.handleNetworkError (/app/node_modules/mysql/lib/protocol/Protocol.js:371:10)
at Connection._handleNetworkError (/app/node_modules/mysql/lib/Connection.js:418:18)
at Socket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -104,
code: 'ECONNRESET',
syscall: 'read',
fatal: true
}
node:events:491
throw er; // Unhandled 'error' event
^
Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:217:20)
Emitted 'error' event on Connection instance at:
at Connection._handleProtocolError (/app/node_modules/mysql/lib/Connection.js:423:8)
at Protocol.emit (node:events:513:28)
at Protocol._delegateError (/app/node_modules/mysql/lib/protocol/Protocol.js:398:10)
at Protocol.handleNetworkError (/app/node_modules/mysql/lib/protocol/Protocol.js:371:10)
at Connection._handleNetworkError (/app/node_modules/mysql/lib/Connection.js:418:18)
at Socket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -104,
code: 'ECONNRESET',
syscall: 'read',
fatal: true
}
7 replies
RRailway
Created by xgloser on 7/28/2023 in #✋|help
Monorepo deployment help - react frontend + express backend
I think you'll want to deploy two services using the same repository but with different start commands (i.e. one starts the backend service and another to start the frontend)
5 replies
RRailway
Created by Jannik on 7/27/2023 in #✋|help
.well known error
9 replies
RRailway
Created by Jannik on 7/27/2023 in #✋|help
.well known error
It should be harmless and can be ignored. Just your Android requesting some metadata about your app. https://developers.google.com/digital-asset-links/v1/getting-started
9 replies
RRailway
Created by MIGHTY_MIDHUN on 7/27/2023 in #✋|help
where does railway.app store user uploaded media files
Are you perhaps trying to figure out how to move the uploaded files to a more permanent location (which you can then access) or are you actually looking for a way to download/view them directly from Railway?
10 replies
RRailway
Created by Nico on 7/27/2023 in #✋|help
After uploading a file to volume, further files result in 'server unexpectedly dropped connection'.
San Francisco probably
83 replies
RRailway
Created by qxh on 7/27/2023 in #✋|help
(Python) Can't send HTTP requests properly within railway
Seems like Cloudflare is blocking the request
14 replies