druso12
druso12
RRailway
Created by druso12 on 8/12/2023 in #✋|help
Application failed to respond
thank you very much, I thought it was a generic error but actually it was quite specific and could have look it up myself. I solved it by adding this to the app.js config : const port = process.env.PORT || 8080; // Starting the server and listening on port 8080 app.listen(port, () => { console.log(Server is running on port ${port}); }); thank you very much for your support.
8 replies
RRailway
Created by druso12 on 8/12/2023 in #✋|help
Application failed to respond
project id: 844577de-e491-4f14-ace1-d5f869c15582
8 replies
RRailway
Created by druso12 on 8/7/2023 in #✋|help
Installing Server Certificates
Thanks!
18 replies
RRailway
Created by druso12 on 8/7/2023 in #✋|help
Installing Server Certificates
I see. From https://www.cockroachlabs.com/docs/stable/connection-parameters sslmode=require "Force a secure connection. An error occurs if the secure connection cannot be established." Since I'm not seeing any error it should be connecting securely. I learned something new, thank you for your patience Brody. My requirement of installing a certificate is not necessary anymore for this case. But, to get a better understanding of the topic: would it be necessary for other cases, what would be the way to go? Is it a remote case?
18 replies
RRailway
Created by druso12 on 8/7/2023 in #✋|help
Installing Server Certificates
Just checked: if I set sslmode=require in the connection it works, but the connection is not secure... now I have the connection set with sslmode=require
18 replies
RRailway
Created by druso12 on 8/7/2023 in #✋|help
Installing Server Certificates
thank you for your response Brody. When the application tries to write on one my my tables I get  2023-08-08 00:07:44: Error uploading interaction to database: (psycopg2.OperationalError) connection to server at "gpt-cluster-9009.8nj.cockroachlabs.cloud" (35.205.46.41), port 26257 failed: root certificate file "/root/.postgresql/root.crt" does not exist Either provide the file or change sslmode to disable server certificate verification. (Background on this error at: https://sqlalche.me/e/20/e3q8)
18 replies
RRailway
Created by druso12 on 8/7/2023 in #✋|help
Installing Server Certificates
Project ID: 844577de-e491-4f14-ace1-d5f869c15582
18 replies
RRailway
Created by druso12 on 8/7/2023 in #✋|help
Installing Server Certificates
I think...
18 replies
RRailway
Created by druso12 on 8/7/2023 in #✋|help
Installing Server Certificates
bloody-crown
18 replies