However , when I override the port as below rh --dt="pg" --files=App_data\db --cs="Host=localhost;User Id=postgres;Password=xxxxxx;Database=image2;Port=5435"
I'm getting timeout issue roundhouse.databases.postgresql.PostgreSQLDatabase` with provider Npgsql does not provide a facility for creating a database at this time.
System.TimeoutException: The operation has timed out.
at Npgsql.NpgsqlConnector.Connect(NpgsqlTimeout timeout)
at Npgsql.NpgsqlConnector.RawOpen(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
at Npgsql.ConnectorPool.AllocateLong(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<g__OpenLong|0>d.MoveNext()
The same docker image is pretty accessible and working via docker compose for my integration testing . Not sure why it is timing out with rh .
I have multiple postgres docker images running for different purposes , image pointing out to default port is working fine
However , when I override the port as below
rh --dt="pg" --files=App_data\db --cs="Host=localhost;User Id=postgres;Password=xxxxxx;Database=image2;Port=5435"
I'm getting timeout issue roundhouse.databases.postgresql.PostgreSQLDatabase` with provider Npgsql does not provide a facility for creating a database at this time. System.TimeoutException: The operation has timed out. at Npgsql.NpgsqlConnector.Connect(NpgsqlTimeout timeout) at Npgsql.NpgsqlConnector.RawOpen(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) at Npgsql.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) at Npgsql.ConnectorPool.AllocateLong(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<g__OpenLong|0>d.MoveNext()
The same docker image is pretty accessible and working via docker compose for my integration testing . Not sure why it is timing out with rh .