I have a gurux server based on the example 2, I'm using the python gurux library in order to query it, it works flawlessly when I'm using ipv4 but as soon as I try to query the server using ipv6 I get this error on the server side "java.io.IOException: Invalid argument (sendto failed)"
Is there something specific to be able to have a server use ipv6 ? Did I miss something ?
I just test this and worked without problems.
I used Java server and Python client with command line parameters:
-h fe80::79a4:6eb5:561e:743d%5 -p 4061 -t Verbose
Check that your gurux.net version is 1.0.21 in pom.xml
Did you try using UDP ? It's basically the only diff between the reference example and the one I'm using
in GXDLMSBase.java:
134c134
< media = new gurux.net.GXNet(NetworkType.TCP, port);
---
> media = new gurux.net.GXNet(NetworkType.UDP, port);
Hi,
Hi,
I just test this and worked without problems.
I used Java server and Python client with command line parameters:
-h fe80::79a4:6eb5:561e:743d%5 -p 4061 -t Verbose
Check that your gurux.net version is 1.0.21 in pom.xml
BR,
Mikko
Hello,
Hello,
Did you try using UDP ? It's basically the only diff between the reference example and the one I'm using
in GXDLMSBase.java:
134c134
< media = new gurux.net.GXNet(NetworkType.TCP, port);
---
> media = new gurux.net.GXNet(NetworkType.UDP, port);
BR
Hi,
Hi,
I was using TCP/IP. I'll check this.
BR,
Mikko
Thanks
Thanks
Hello, have you found time to
Hello, have you found time to do the test ?
Hi,
Hi,
This is fixed in version 1.0.22.
BR,
Mikko
Thanks, it does seem to work
Thanks, it does seem to work though when I've tried with the ipv6 localhost (::1) the server was responding on the ipv4 localhost (127.0.0.1)
Hi,
Hi,
Have you changed gurux.net dependency from 1.0.21 to 1.0.22 in the server pom file?
BR,
Mikko