Help in server implementation, urgent

I need help me to resume my implementation
60 Replies
Percy
Percy7mo ago
Project ID: N/A
Brody
Brody7mo ago
please provide your project id
Alex_Ram
Alex_Ram7mo ago
Excuse me where I find it where I see it
Alex_Ram
Alex_Ram7mo ago
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.
Fragly
Fragly7mo ago
b9720549-4272-40c4-b760-c685b60e3390 ^ this would be your project id
Alex_Ram
Alex_Ram7mo ago
Gracias 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
Brody
Brody7mo ago
please give this a try to redoploy your app https://bookmarklets.up.railway.app/service-redeploy/ @thomas
thomas
thomas7mo ago
!remind me to help in 5 minutes
Duchess
Duchess7mo ago
Got it, I will remind you to help at Fri, 01 Dec 2023 21:29:06 GMT
thomas
thomas7mo ago
working on another users project for now
Alex_Ram
Alex_Ram7mo ago
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
Brody
Brody7mo ago
please follow the instructions on the site
thomas
thomas7mo ago
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
Alex_Ram
Alex_Ram7mo ago
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
Brody
Brody7mo ago
if you would give permission to Thomas he can restart it for you
Alex_Ram
Alex_Ram7mo ago
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 ​
thomas
thomas7mo ago
B9720549-4272-40C4-B760-C685B60E3390
Alex_Ram
Alex_Ram7mo ago
Thomas, do you have any response?
thomas
thomas7mo ago
No description
Alex_Ram
Alex_Ram7mo ago
What does that mean, what should I do?
thomas
thomas7mo ago
"El servicio no tiene acceso al repositorio." I don't know
Alex_Ram
Alex_Ram7mo ago
I must make a redeploy to my application, I can do it
Brody
Brody7mo ago
while Thomas may have access to your service, it seems like that still doesn't give him perms to redeploy your repo
thomas
thomas7mo ago
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?
Alex_Ram
Alex_Ram7mo ago
I don't understand what you ask me
thomas
thomas7mo ago
¿Puedo tener permiso para compartir públicamente el registro de su servicio en Discord?
Alex_Ram
Alex_Ram7mo ago
Gentlemen this link https://servidormoralisdc-production.up.railway.app/server ' It tells me this: APPLICATION FAILED TO RESPECT If they will solve the problem
thomas
thomas7mo ago
Si o No?
Brody
Brody7mo ago
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
Alex_Ram
Alex_Ram7mo ago
SI
thomas
thomas7mo ago
No description
Alex_Ram
Alex_Ram7mo ago
That's what I see too 5c70647a-9c26-4cba-bd80-74fd62331348
Brody
Brody7mo ago
is the service trying to connect to its own url?
thomas
thomas7mo ago
yes, but I think what happened here is: Your github is no longer linked with your railway account
Brody
Brody7mo ago
that would explain the error from the alert box
Alex_Ram
Alex_Ram7mo ago
And that I must do gentlemen
thomas
thomas7mo ago
Please go to: https://railway.app/account Go to here:
thomas
thomas7mo ago
No description
Alex_Ram
Alex_Ram7mo ago
ready and now
thomas
thomas7mo ago
No description
thomas
thomas7mo ago
disconnect your github and reconnect it
Alex_Ram
Alex_Ram7mo ago
ok I eliminate it?
thomas
thomas7mo ago
Yes Then connect it again
Alex_Ram
Alex_Ram7mo ago
listo y ahora ready and now
thomas
thomas7mo ago
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.
thomas
thomas7mo ago
No description
thomas
thomas7mo ago
click this:
No description
Alex_Ram
Alex_Ram7mo ago
ready and now Nothing yet
thomas
thomas7mo ago
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
Brody
Brody7mo ago
are they using a mongodb on railway? maybe that went down too?
thomas
thomas7mo ago
It's hooked up to: mongodb.net
Brody
Brody7mo ago
gotcha
Alex_Ram
Alex_Ram7mo ago
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
thomas
thomas7mo ago
Alex, your translation is hard to understand. Is everything working now?
Alex_Ram
Alex_Ram7mo ago
Nothing yet
thomas
thomas7mo ago
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
Alex_Ram
Alex_Ram7mo ago
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.
Brody
Brody7mo ago
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
Alex_Ram
Alex_Ram7mo ago
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