On segunda-feira, 26 de fevereiro de 2018 11:07:26 PST Schulhof, Gabriel wrote: > Hey, all! > > I'm running into https://jira.iotivity.org/browse/IOT-2705 with iotivity > 1.3.1. > > TL;DR: > > When IPv6 is turned on in powershell via > > Get-NetAdapterBinding | where {$_.componentid -like "ms_tcpip6"} | > Enable-NetAdapterBinding > > connecting over coaps fails, whereas when it's turned off via [cut]
Hi Gabriel Can you test where the connection is failing? It would help us isolate the problem: 1) are the server and client on the same machine? Or over the network? 2) did the server receive the client's multicast query? Was it over IPv6? 3) did the server reply? Was the reply empty ("come talk to me in secured mode") or did it contain a reply with the resources? If it contained a payload, can you check with IoTivity logging enabled to see which IP addresses it reported in the "eps" field? >From your description, it looks like all of the above should be working. Then 4) what IP address did the client attempt to initiate a connection to? Does that IP address show in "ipconfig /all" ? >From your description, it sounds like we included an IPv6 address from an interface that wasn't active, so the client attempted to connect to it and failed. It could also be a link-local address coming from the wrong interface. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ iotivity-dev mailing list iotivity-dev@lists.iotivity.org https://lists.iotivity.org/mailman/listinfo/iotivity-dev