Unhandled exception error while trying to deploy a project

Im kinda new to railway and when I try to deploy my project, I keep getting exception errors when I try to deploy. one of which is: Unhandled exception. System.ArgumentException: Host can't be null at Npgsql.NpgsqlConnectionStringBuilder.PostProcessAndValidate() This is just one of many and most have to do with Npgsql from what I can tell. can someone explain to me how to correct this error and deploy my project?
14 Replies
Percy
Percy2y ago
Project ID: N/A
jaspopejoy
jaspopejoy2y ago
the project name is active-bite
Brody
Brody2y ago
this error wouldn't be specific to railway, so have you tried googling the error?
jaspopejoy
jaspopejoy2y ago
ok I was able to get my project to deploy properly but now when I click the web link I get a page that says Application failed to respond.
jaspopejoy
jaspopejoy2y ago
I must not be doing something right because it still is not working
Brody
Brody2y ago
are you running an http server?
jaspopejoy
jaspopejoy2y ago
I dont believe so Im not sure some of this stuff is kinda new to me. Im just learning
Brody
Brody2y ago
let me know what kind of service you are running
jaspopejoy
jaspopejoy2y ago
I built my ap with .net core MVC using a postgres SQL database
Brody
Brody2y ago
i dont know what that is but i can tell you, it has to start an http server, or you will get application failed. and your app has to be listening on host 0.0.0.0 and environment variable PORT. so it might be a good idea to read over that docs page a few times
jaspopejoy
jaspopejoy2y ago
I did but Im not sure where I need to add that information to make it work.
Brody
Brody2y ago
that would be a question for the .net documentation
jaspopejoy
jaspopejoy2y ago
ok thanks
Want results from more Discord servers?
Add your server