drogon icon indicating copy to clipboard operation
drogon copied to clipboard

Better error messages

Open arkena00 opened this issue 4 years ago • 1 comments

Check the existence of pem files when reading the configuration.

It will provide a better error than the one in trantor (FATAL No such file or directory - TcpConnectionImpl.cc:140 )

arkena00 avatar Oct 10 '20 18:10 arkena00

I solve this error in the following way ..., in the .json that you load in the main of your project, note that it brings an "ssl", you must eliminate the content of "cert" and "key". Before: "ssl": { "cert": "../../trantor/trantor/tests/server.pem", "key": "../../trantor/trantor/tests/server.pem", "conf": [ ] }, After: "ssl": { "cert": "", "key": "", "conf": [ ] },

rodyherrera avatar Aug 14 '21 18:08 rodyherrera