Closed bartscheers closed 4 years ago
The behaviour changed slightly, and monetdb now supports IPv6 and IPv4, and also retrying with a new IP address if a hostname points to multiple IP addresses. My guess is that you are running a service on a machine with IPv6 but MonetDB is running on IPv4 only. Can you confirm this? If so, the solution to this confusion would be a better log message and a change of loglevel.
@bartscheers is this issue resolved for you?
Switching off the IPv6 service removed the connection messages. So it seems to be resolved or origin known.
ok so my analysis was correct and the error message is confusing. I'll change the message and log-level.
Fixed in master and 1.4.0
Hi Gijs,
In the 1.3.1 release I noticed a
INFO:pymonetdb.mapi:Connection refused
message when everything is fine. Try this script for example on a clean instance (running on port 53001):and you'll see a log file output like:
Logging goes fine with the pymonetdb 1.1.1 version, without
Connection refused
messages.Cheers