Help in server implementation, urgent
I need help me to resume my implementation
60 Replies
Project ID:
N/A
please provide your project id
Excuse me where I find it where I see it
Railway
404 - Page not found
Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.
b9720549-4272-40c4-b760-c685b60e3390
^ this would be your project idGracias
This implementation does not answer me, I can't enter my website
This link
https://servidormoralisdc-production.up.railway.app/server '
It shows me this:
APPLICATION FAILED TO RESPECT
please give this a try to redoploy your app https://bookmarklets.up.railway.app/service-redeploy/
@thomas
!remind me to help in 5 minutes
Got it, I will remind you to
help
at Fri, 01 Dec 2023 21:29:06 GMT
working on another users project for now
No se como hacer esto: please give this a try to redoploy your app https://bookmarklets.up.railway.app/service-redeploy/
I do not know how to implement this: please Give This a try to Rabelyo your app
please follow the instructions on the site
Hey @thomas, remember to help - https://discord.com/channels/713503345364697088/1180256051875037204/1180258049995321374
https://chat.openai.com/
Los productos de ChatGPT ofrecen las traducciones más claras, recomendaría usarlo para entender esto mejor.
ChatGPT produces the clearest translations.s I would recommend using it to understand this better.
No puedo proporcionar soporte en español ya que mi español aún no es lo suficientemente bueno. Por favor, continúe traduciendo al inglés aquí.
I can't provide support in Spanish as my Spanish is not good enough yet. Please continue to translate to English here.
ChatGPT
A conversational AI system that listens, learns, and challenges
My project is still not implemented:
ID: B9720549-4272-40C4-B760-C685B60E3390
Use the link you had: This Will Trigger to Redeploy and still nothing
if you would give permission to Thomas he can restart it for you
Yes of course go ahead
Please let me know
Gentlemen, I have to present something important at 6:00 pm and I am with the end of the website since I can't enter my website
B9720549-4272-40C4-B760-C685B60E3390
Thomas, do you have any response?
What does that mean, what should I do?
"El servicio no tiene acceso al repositorio."
I don't know
I must make a redeploy to my application, I can do it
while Thomas may have access to your service, it seems like that still doesn't give him perms to redeploy your repo
weird because in Admin view I am them. I use whatever github token is needed.
@Alex_Ram May I post logs here from your service?
There are some type errors in the logs
Brody how can you tell if its deployed an older version?
I don't understand what you ask me
¿Puedo tener permiso para compartir públicamente el registro de su servicio en Discord?
Gentlemen this link
https://servidormoralisdc-production.up.railway.app/server '
It tells me this:
APPLICATION FAILED TO RESPECT
If they will solve the problem
Si o No?
I actually don't have a surefire way to know, I've never experienced it first hand, I have only ever used my bookmarklet. what you can try is doing exactly what the bookmarklet does, by manually, copying down the source repo and branch, removing them from the service, and then re-adding them
SI
That's what I see too
5c70647a-9c26-4cba-bd80-74fd62331348
is the service trying to connect to its own url?
yes, but I think what happened here is: Your github is no longer linked with your railway account
that would explain the error from the alert box
And that I must do gentlemen
ready and now
disconnect your github
and reconnect it
ok
I eliminate it?
Yes
Then connect it again
listo y ahora
ready and now
Railway
404 - Page not found
Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.
click this:
ready and now
Nothing yet
looking
I think your application code has errors:
"TypeError: type.startsWith is not a function
"
"at mongoFieldToParseSchemaField (/app/node_modules/parse-server/lib/Adapters/Storage/Mongo/MongoSchemaCollection.js:34:12)"
I would recommend going to github and commiting a tiny change to main.
Something like a new comment
are they using a mongodb on railway? maybe that went down too?
It's hooked up to: mongodb.net
gotcha
This link that is yours should not give me this error:
https://servidormoralisdc-production.up.railway.app/
APPLICATION FAILED TO RESPECT
Solved that, everything works well
Alex, your translation is hard to understand. Is everything working now?
Nothing yet
Can you go to your github for this project and commit something to main? That will cause a redeploy.
There are two things that might be happening:
Your application could be running an old version of your code that is breaking.
Or your code might be broken
I can't help you if your code is broken
You could help me with this?
Check Railway's documentation: Review Railway's official documentation to obtain information on how to handle Cors policies in your applications implemented with your service. They can provide specific instructions or examples on how to configure Cors on your server.
Communicate with technical support: If you do not find relevant information in the documentation, get in touch with Railway's technical support team. They will be able to provide you with specific assistance and guide you in the configuration of Cors on your server.
setting up cors on your app would not be specific to railway, you would want to consult the documentation for your framework, they likely already have some middleware to handle cors for you
Good morning gentlemen,
I have not yet been able to lift my application.
Consulting Bard de Google, the following re -ome me:
The mistake you are receiving is a Corsa error. CORS is a security measure that prevents web pages from making applications to other domains. In your case, your React application is housed at the domain https://dinocapital.io, and is trying to make a request to domain https://servidormoralisdc-production.up.railway.app. As these two domains are different, Cors is blocking the application.
To solve this error, you must enable Cors on the server that houses the resource https://servidormoralisdc-production.up.railway.app. This implies adding the access-control-allow-origin heading to the server response. The value of this heading must be the origin of your React application, which is https://dinocapital.io.
To enable Cors on the Railway server, you must follow these steps:
Log in your Railway account.
Click on the project that contains the service that is causing the error.
Click on the service.
Click the "Configuration" tab.
In the "Cors" section, it activates the option "Allow Cors".
In the "allowed origins" field, enter https://dinocapital.io.
Click "Save".
Once you have enabled Cors on the server, the error should disappear and your React application should be able to make requests to the resource https://servidormoralisdc-production.up.railway.app without any problem.
Here is an example of how Cors configuration in Railway server would be:
{
"Cors": {
"Allowcors": True,
"Alloworigins": ["https://dinocapital.io"]
}
}
I hope this helps you solve the error.
Dino Capital
Web site created using create-react-app