ibmdbanalytics/ibmdbpy

odbc connection hangs without any error when you are not connected to vpn

Closed this issue · 2 comments

I wasn't connected to vpn and was trying to use odbc apis (to reach an internal IBM server). Instead of returning an error message, pypyodbc.connect seems to hang.

mineo commented

If pypyodbc.connect hangs, please report that against the pypyodbc project.

mineo commented

Or set a connection timeout for pypyodbc: https://github.com/jiangwen365/pypyodbc/wiki/Setting-Time-Out