PgSqlConnection.ConnectionTimeout seems to be ignored
PgSqlConnection.ConnectionTimeout seems to be ignored
Hello,
I'm using the PostgreSQLDirect .NET Data Provider Mobile version on a Win CE 4.2 OS. The device is connected to the LAN via a WIFI connection.
I've specified the ConnectionTimeout at 5 seconds, but each time I try to connect (I've turned the WIFI off for testing, so it should reach the timeout every time) it takes 40+ seconds to come up with an exception (resource assembly not found).
Anything I'm missing here?
King regards,
Dirk
I'm using the PostgreSQLDirect .NET Data Provider Mobile version on a Win CE 4.2 OS. The device is connected to the LAN via a WIFI connection.
I've specified the ConnectionTimeout at 5 seconds, but each time I try to connect (I've turned the WIFI off for testing, so it should reach the timeout every time) it takes 40+ seconds to come up with an exception (resource assembly not found).
Anything I'm missing here?
King regards,
Dirk
2.55.25.1Alexey wrote:Unfortunately, we were unable to reproduce such problem.
What is the full version of PostgreSQLDirect .NET you use?
Yes, this happens on the emulator and the device (a Psion Workabout Pro).Alexey wrote:Does this take place when you use an emulator?
"A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to response"Alexey wrote:What is the exact error message?
Note that for timeout testing purposes I've put the wrong IP-address in the connection object, making sure every connection attempt fails.
Resolved ?
Have you found a solution for your problem?m_dirk wrote:Thanks for the reply Alexey, I will do some further investigation on the matter and will post results, if any.