Asp.net deployment issues
Hello, I have deployed a asp.net core 8 app to railway and run into multiple problems.
Nixpacks is not able to build the app at all, so I have supplanted a Dockerfile to build the container from the official microsoft base images.
Secondly, the app exhibits a very odd ram usage pattern while running on railway, the RAM constantly keeps growing, which it didn't do in local testing. I am unsure if this might be related to that docker image.
Finally, after running the app for about 5 hours, it randomly crashed due to being unable to connect to the railway-hosted postgres instance I am using.
I conntected the DB via internal networking and the disconnect occurred at around 0:24 GMT+2
Especially the database issue needs investigating as it took down the entire app
2 Replies