Hello Alex,

The pymonetdb developer merged a patch with IPv6 support, which will be available at pymonetdb's next release. As for the R client, it is maintained by a volunteer that has not been active in the MonetDB community lately. I can ask him for it.

Beset regards,

Pedro

On 2/1/20 1:28 AM, ALEX OSSIPOV wrote:
Hi Pedro
I also found R code has the same problem. I hope it will be addressed in upcoming release as well.

Thanks
Alex
On January 7, 2020 at 9:22 AM ferreira <pedro.ferreira@monetdbsolutions.com> wrote:

Hello Alex,

I just looked at pymonetdb source code and indeed it does not support IPv6 yet. I'm going to create an issue to request for it. The reason is because in the past, the MAPI protocol (which MonetDB uses for socket connections) didn't support IPv6, so the clients (Python, Ruby, JDBC, etc.) never had to implemented them. However they can now add this option.

Best regards,

Pedro

On 12/22/19 5:30 AM, ALEX OSSIPOV wrote:
Hi All
I installed pymonetdb v 1.2.1 and trying to connect to remote server MonetDB v11.35.3 (Nov2019) listening on IPV6 only. I have got next error in python client:
>>> mapi_connection.connect(hostname="<server_name>", port=xxxxx, username="monetdb", password="monetdb", database="demo", language="sql", unix_socket=None, connect_timeout=-1)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.7/site-packages/pymonetdb/mapi.py", line 143, in connect
self.socket.connect((hostname, port))
socket.gaierror: [Errno -2] Name or service not known
>>>
My pc client is also using ipv6 to connect to MonetDB server. I also have jdbc connection that works fine. 
Question:
Does it mean pymonetdb does not support ipv6 only environment?
What would be the reason if it has nothing to do with protocol?

Thanks
Alex


_______________________________________________
users-list mailing list
users-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/users-list