Ohad @ BlockMesh Network
Ohad @ BlockMesh Network
Explore posts from servers
RRailway
Created by Ohad @ BlockMesh Network on 9/20/2023 in #✋|help
Should use require_ssl on PostgreSQL?
Trying to ignore on the app level didn't help, but adding ?sslmode=disable sorted it
36 replies
RRailway
Created by Ohad @ BlockMesh Network on 9/20/2023 in #✋|help
Should use require_ssl on PostgreSQL?
Moved the sleep outside the app, now it's back to the certificate error now, with internal URL and require_ssl: false.
Custom {
kind: InvalidData,
error: InvalidCertificateData(
"invalid peer certificate: UnsupportedCertVersion",
),
}
Custom {
kind: InvalidData,
error: InvalidCertificateData(
"invalid peer certificate: UnsupportedCertVersion",
),
}
36 replies
RRailway
Created by Ohad @ BlockMesh Network on 9/20/2023 in #✋|help
Should use require_ssl on PostgreSQL?
that's a restart? it in the same deployment log.
36 replies
RRailway
Created by Ohad @ BlockMesh Network on 9/20/2023 in #✋|help
Should use require_ssl on PostgreSQL?
actually it's more, 51:27 => 50:13
36 replies
RRailway
Created by Ohad @ BlockMesh Network on 9/20/2023 in #✋|help
Should use require_ssl on PostgreSQL?
27 - 13 = 14
36 replies
RRailway
Created by Ohad @ BlockMesh Network on 9/20/2023 in #✋|help
Should use require_ssl on PostgreSQL?
No description
36 replies
RRailway
Created by Ohad @ BlockMesh Network on 9/20/2023 in #✋|help
Should use require_ssl on PostgreSQL?
not talking about how long it takes, but exposing the issue to the user. as 5 min fix that most will be happy with is the deployment waiting for it and then launching. will reduce support on your side too.
36 replies
RRailway
Created by Ohad @ BlockMesh Network on 9/20/2023 in #✋|help
Should use require_ssl on PostgreSQL?
A loop retrying and sleeping , gonna try longer sleep. Honestly, the deployment system should ping the DNS until it resolved and then start. This shouldn't be in the user space.
36 replies
RRailway
Created by Ohad @ BlockMesh Network on 9/20/2023 in #✋|help
Should use require_ssl on PostgreSQL?
With multiple retry with sleep.
36 replies
RRailway
Created by Ohad @ BlockMesh Network on 9/20/2023 in #✋|help
Should use require_ssl on PostgreSQL?
Without SSL, with the envar set.
error: error communicating with database: failed to lookup address information: Temporary failure in name resolution
error: error communicating with database: failed to lookup address information: Temporary failure in name resolution
36 replies
RRailway
Created by Ohad @ BlockMesh Network on 9/20/2023 in #✋|help
Should use require_ssl on PostgreSQL?
When I tried the internal URL it was unable to resolve it. Not sure it works properly.
36 replies
RRailway
Created by Ohad @ BlockMesh Network on 9/20/2023 in #✋|help
Should use require_ssl on PostgreSQL?
Is this still true to V2 of the plugin?
36 replies
RRailway
Created by Ohad @ BlockMesh Network on 11/18/2023 in #✋|help
Custom build command for rust
I think I'll need to do some very stupid workaround to make yarn run cargo. What a shame.
10 replies
RRailway
Created by Ohad @ BlockMesh Network on 11/18/2023 in #✋|help
Custom build command for rust
Wow, this is basic.
10 replies
RRailway
Created by Ohad @ BlockMesh Network on 11/18/2023 in #✋|help
Custom build command for rust
3fdaec5b-4faa-4a58-aeb0-9c1e92376448
10 replies
RRailway
Created by Ohad @ BlockMesh Network on 9/27/2023 in #✋|help
Sporadic : Error: pool timed out while waiting for an open connection
if a restart doesn't help, not seeing why a code based retry will be different.
20 replies
RRailway
Created by Ohad @ BlockMesh Network on 9/27/2023 in #✋|help
Sporadic : Error: pool timed out while waiting for an open connection
i pass my docker the DATABSE_URL, do I need to explicitly expose the database PORT?
20 replies
RRailway
Created by Ohad @ BlockMesh Network on 9/27/2023 in #✋|help
Sporadic : Error: pool timed out while waiting for an open connection
it repeats and on restart is the same, only redeploy sorts it
20 replies
RRailway
Created by Ohad @ BlockMesh Network on 9/27/2023 in #✋|help
Sporadic : Error: pool timed out while waiting for an open connection
Error: pool timed out while waiting for an open connection
Error: pool timed out while waiting for an open connection
20 replies
RRailway
Created by Ohad @ BlockMesh Network on 9/27/2023 in #✋|help
Sporadic : Error: pool timed out while waiting for an open connection
pub fn get_connection_pool(settings: &DatabaseSettings) -> PgPool {
PgPoolOptions::new()
.acquire_timeout(Duration::from_secs(5))
.connect_lazy_with(settings.with_db())
}
pub fn get_connection_pool(settings: &DatabaseSettings) -> PgPool {
PgPoolOptions::new()
.acquire_timeout(Duration::from_secs(5))
.connect_lazy_with(settings.with_db())
}
20 replies