<div dir="ltr"><div>You can export NICE_DEBUG=all with the G_MESSAGES_DEBUG=all environment variables to get full debugging messages from libnice.<br></div><div>It is possible that the two machines can't communicate for some reason. although they seem to have the same IP address.</div>
<div>If you don't enable NICE_DEBUG=all, you'll at least see the state changes from the simple-example program.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 5, 2014 at 1:47 AM, B Andrei <span dir="ltr"><<a href="mailto:yo8tot@yahoo.com" target="_blank">yo8tot@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:10pt">
<div>Hi,</div><div><br></div><div style="color:rgb(0,0,0);font-size:13.3333px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal">I
try to run the simple-example program to test hole punching between two
computers. Unfortunately it is not possible to get a connection unless I
run both sessions on the same machine. Please let me know if there is a
way to debug or if you have any other information that might help. I
build libnice in OpenSuse 13.1 inside a Oracle VirtualBox. Bellow I
paste the output result of one machine. After I add the remote data both
programs wait ~6 sec and then quit.<br></div><div style="color:rgb(0,0,0);font-size:13.3333px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal">
<br></div><div style="color:rgb(0,0,0);font-size:13.3333px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal">Thanks in advance</div><div style="color:rgb(0,0,0);font-size:13.3333px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal">
Andrei<br><br><br></div><div style="color:rgb(0,0,0);font-size:13.3333px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><br></div>linux-dj3q:/home/andrei/libnice-0.1.7/examples # ./simple-example 0 $(host -4 -t A <a href="http://stun.stunprotocol.org" target="_blank">stun.stunprotocol.org</a> | awk '{
print $4 }')<br>Copy this line to remote client:<br><br> GWg4 qfbTNnhPvt9U383aHRtY4d 1,<a href="tel:2013266431" value="+12013266431" target="_blank">2013266431</a>,10.0.2.15,44971,host 2,1677721855,86.124.49.178,51255,srflx<br>
<br>Enter remote data (single line, no wrapping):<br>> BHyP U+p/t10JnSrF02/xR9y+sC 1,<a href="tel:2013266431" value="+12013266431" target="_blank">2013266431</a>,10.0.2.15,44422,host 2,1677721855,86.124.49.178,60416,srflx<br>
linux-dj3q:/home/andrei/libnice-0.1.7/examples #<br><br><br><br><br>linux-dj3q:/home/andrei/libnice-0.1.7/examples # ./simple-example 1 $(host -4 -t A <a href="http://stun.stunprotocol.org" target="_blank">stun.stunprotocol.org</a> | awk '{ print $4 }')<br>
Copy this line to remote client:<br><br> BHyP U+p/t10JnSrF02/xR9y+sC 1,<a href="tel:2013266431" value="+12013266431" target="_blank">2013266431</a>,10.0.2.15,44422,host 2,1677721855,86.124.49.178,60416,srflx<br><br>Enter remote data (single line, no wrapping):<br>
> GWg4 qfbTNnhPvt9U383aHRtY4d 1,<a href="tel:2013266431" value="+12013266431" target="_blank">2013266431</a>,10.0.2.15,44971,host 2,1677721855,86.124.49.178,51255,srflx<br>linux-dj3q:/home/andrei/libnice-0.1.7/examples #<br>
<div><br></div></div></div><br>_______________________________________________<br>
nice mailing list<br>
<a href="mailto:nice@lists.freedesktop.org">nice@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/nice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/nice</a><br>
<br></blockquote></div><br></div>