R
Railway13mo ago
GenKG

Java app trying to start and crushed

Hi. I found out about railway and decided to deploy my pet-project. My project is just a simple api which uses a database. I use connection for database in railway and github actions for CI. My app has a docker file and I use special enviroment for connections railway database. Everthying looks fine when I try to deploy my app, but at some point my application starts cycling run, which eventually leads to crashing. I don't see any information in log, and can't understand why it's happening. Could anyone help me with this trouble ? My project id: 7bb73243-87ec-42dd-a598-a8ee7feb1fd1 Plan: trial My app in github: https://github.com/GenKG/simpleapi
GitHub
GitHub - GenKG/simpleapi: first CRUD api on java and Springboot
first CRUD api on java and Springboot. Contribute to GenKG/simpleapi development by creating an account on GitHub.
No description
6 Replies
Percy
Percy13mo ago
Project ID: 7bb73243-87ec-42dd-a598-a8ee7feb1fd1
Brody
Brody13mo ago
what do your memory metrics look like?
GenKG
GenKGOP13mo ago
there is a small memory spike when I run the application
No description
Brody
Brody13mo ago
alright no wild memory metrics, that's always a good start, but to me this is just looks like your app is crashing without any proper error logging, and unfortunately without anything to go of off there's not much the community can do for you here
Lelebees
Lelebees13mo ago
I dont think that's the problem here, though it certainly won't hurt. The app crashes before spring is even done initializing. What is odd is that no exceptions are logged to the console, which java should do by default. You said the app crashes after a while. Does the last "iteration" yield an exception? Another question: Does the app boot normal locally?
GenKG
GenKGOP13mo ago
Yes, locally the application works fine, I deployed this app in heroku before, and had't problem. I tried configuration log level with debug mode, but it can't help. I don't see any help information in log and it's weird
Want results from more Discord servers?
Add your server