I tried running a libnice client on the bases of the one share by Tiago in the forum. For the relay server I downloaded and configured the one at turnserver.org. The candidate addresses for host, reflexive and relay are getting created and I am able to exchange them by dumping them in a file. Though I am not able to make an ICE connection, the wireshark logs says Refresh Error Response error-code: 437 (Allocation Mismatch) Allocation mismatch. Attached are the lib nice debug output logs and wireshark logs. Please suggest if anyone has come across this issue and a possible fix for it. Thanks, Gurpreet Singh
Hi,
I'm not sure what could cause this. the log doesn't say much and the wireshark
dump was all text, you need to save it in .pcap format if it is to be useful.
Try to see also what turnserver says, maybe it has some information on what's wrong.
Good luck.On 08/01/2012 01:56 AM, Gurpreet Sachdeva wrote:
> I tried running a libnice client on the bases of the one share by Tiago in the
> forum. For the relay server I downloaded and configured the one at
> turnserver.org <http://turnserver.org>. The candidate addresses for host,
> reflexive and relay are getting created and I am able to exchange them by
> dumping them in a file.
>
>
>
> Though I am not able to make an ICE connection, the wireshark logs says Refresh
> Error Response error-code: 437 (Allocation Mismatch) Allocation mismatch.
>
>
>
> Attached are the lib nice debug output logs and wireshark logs. Please suggest
> if anyone has come across this issue and a possible fix for it.
>
>
> Thanks,
>
> Gurpreet Singh
>
>
>
> _______________________________________________
> nice mailing list
>
> http://lists.freedesktop.org/mailman/listinfo...
I further tried to investigate the issue. It seems there was no Allocation
request made to the TURN server from the libnice.
Am I missing something to get libnice work with a relay sever?
Thanks,
Gurpreet Singh
---------- Forwarded message ----------
From: Gurpreet Sachdeva
Date: Mon, Aug 6, 2012 at 5:15 PM
Subject: Re: [Nice] Relay error 437 (Allocation Mismatch) with libnice
client
To: Youness Alaoui
Thanks Youness for your suggestions but unfortunately the server logs
didn't help much too.
Please find attached the turnserver output logs and wireshark (.pcap) logs.
Any clue would be welcomed.
What is the default mode of TURN in libnice? RFC5766 or DRAFT9? I am using
TurnServer 0.6 from turnserver.org.
Thanks,
Gurpreet SinghOn Fri, Aug 3, 2012 at 7:50 PM, Youness Alaoui <
wrote:
> Hi,
> I'm not sure what could cause this. the log doesn't say much and the
> wireshark
> dump was all text, you need to save it in .pcap format if it is to be
> useful.
> Try to see also what turnserver says, maybe it has some information on
> what's wrong.
> Good luck.
>
>
> On 08/01/2012 01:56 AM, Gurpreet Sachdeva wrote:
> > I tried running a libnice client on the bases of the one share by Tiago
> in the
> > forum. For the relay server I downloaded and configured the one at
> > turnserver.org <http://turnserver.org>. The candidate addresses for
> host,
> > reflexive and relay are getting created and I am able to exchange them by
> > dumping them in a file.
> >
> >
> >
> > Though I am not able to make an ICE connection, the wireshark logs says
> Refresh
> > Error Response error-code: 437 (Allocation Mismatch) Allocation mismatch.
> >
> >
> >
> > Attached are the lib nice debug output logs and wireshark logs. Please
> suggest
> > if anyone has come across this issue and a possible fix for it.
> >
> >
> > Thanks,
> >
> > Gurpreet Singh
> >
> >
> >
> > _______________________________________________
> > nice mailing list
> >
> > http://lists.freedesktop.org/mailman/listinfo...
>
>
>
> _______________________________________________
> nice mailing list
>
> http://lists.freedesktop.org/mailman/listinfo...
>
>
Hi,
Did you properly call nice_agent_set_relay_info with all the required information ?
From the log you attached, it seemed the allocation is happening, but data can't
be sent because of a permission problem, I'm not entirely sure what happens here
to be honest.On 08/14/2012 02:31 AM, Gurpreet Sachdeva wrote:
> I further tried to investigate the issue. It seems there was no Allocation
> request made to the TURN server from the libnice.
>
> Am I missing something to get libnice work with a relay sever?
>
> Thanks,
> Gurpreet Singh
>
> ---------- Forwarded message ----------
> From: *Gurpreet Sachdeva*
> >
> Date: Mon, Aug 6, 2012 at 5:15 PM
> Subject: Re: [Nice] Relay error 437 (Allocation Mismatch) with libnice client
> To: Youness Alaoui
> >
>
>
> Thanks Youness for your suggestions but unfortunately the server logs didn't
> help much too.
>
> Please find attached the turnserver output logs and wireshark (.pcap) logs. Any
> clue would be welcomed.
>
> What is the default mode of TURN in libnice? RFC5766 or DRAFT9? I am using
> TurnServer 0.6 from turnserver.org <http://turnserver.org>.
>
> Thanks,
> Gurpreet Singh
>
>
> On Fri, Aug 3, 2012 at 7:50 PM, Youness Alaoui
> > wrote:
>
> Hi,
> I'm not sure what could cause this. the log doesn't say much and the wireshark
> dump was all text, you need to save it in .pcap format if it is to be useful.
> Try to see also what turnserver says, maybe it has some information on
> what's wrong.
> Good luck.
>
>
> On 08/01/2012 01:56 AM, Gurpreet Sachdeva wrote:
> > I tried running a libnice client on the bases of the one share by Tiago in the
> > forum. For the relay server I downloaded and configured the one at
> > turnserver.org <http://turnserver.org> <http://turnserver.org>. The
> candidate addresses for host,
> > reflexive and relay are getting created and I am able to exchange them by
> > dumping them in a file.
> >
> >
> >
> > Though I am not able to make an ICE connection, the wireshark logs says
> Refresh
> > Error Response error-code: 437 (Allocation Mismatch) Allocation mismatch.
> >
> >
> >
> > Attached are the lib nice debug output logs and wireshark logs. Please suggest
> > if anyone has come across this issue and a possible fix for it.
> >
> >
> > Thanks,
> >
> > Gurpreet Singh
> >
> >
> >
> > _______________________________________________
> > nice mailing list
> >
> > http://lists.freedesktop.org/mailman/listinfo...
>
>
>
> _______________________________________________
> nice mailing list
>
> http://lists.freedesktop.org/mailman/listinfo...
>
>
>
>
>
> _______________________________________________
> nice mailing list
>
> http://lists.freedesktop.org/mailman/listinfo...
I am doing nice_agent_set_relay_info (agent, stream_d, 1, "1.1.1.2", 8085,
"toto", "password", NICE_RELAY_TYPE_TURN_UDP); before calling
nice_agent_gather_candidates.
Does that seems correct?
Thanks,
Gurpreet SinghOn Wed, Aug 15, 2012 at 7:40 PM, Youness Alaoui <
wrote:
> Hi,
>
> Did you properly call nice_agent_set_relay_info with all the required
> information ?
> From the log you attached, it seemed the allocation is happening, but data
> can't
> be sent because of a permission problem, I'm not entirely sure what
> happens here
> to be honest.
>
> On 08/14/2012 02:31 AM, Gurpreet Sachdeva wrote:
> > I further tried to investigate the issue. It seems there was no
> Allocation
> > request made to the TURN server from the libnice.
> >
> > Am I missing something to get libnice work with a relay sever?
> >
> > Thanks,
> > Gurpreet Singh
> >
> > ---------- Forwarded message ----------
> > From: *Gurpreet Sachdeva*
> > >
> > Date: Mon, Aug 6, 2012 at 5:15 PM
> > Subject: Re: [Nice] Relay error 437 (Allocation Mismatch) with libnice
> client
> > To: Youness Alaoui
> > >
> >
> >
> > Thanks Youness for your suggestions but unfortunately the server logs
> didn't
> > help much too.
> >
> > Please find attached the turnserver output logs and wireshark (.pcap)
> logs. Any
> > clue would be welcomed.
> >
> > What is the default mode of TURN in libnice? RFC5766 or DRAFT9? I am
> using
> > TurnServer 0.6 from turnserver.org <http://turnserver.org>.
> >
> > Thanks,
> > Gurpreet Singh
> >
> >
> > On Fri, Aug 3, 2012 at 7:50 PM, Youness Alaoui <
>
> > > wrote:
> >
> > Hi,
> > I'm not sure what could cause this. the log doesn't say much and the
> wireshark
> > dump was all text, you need to save it in .pcap format if it is to
> be useful.
> > Try to see also what turnserver says, maybe it has some information
> on
> > what's wrong.
> > Good luck.
> >
> >
> > On 08/01/2012 01:56 AM, Gurpreet Sachdeva wrote:
> > > I tried running a libnice client on the bases of the one share by
> Tiago in the
> > > forum. For the relay server I downloaded and configured the one at
> > > turnserver.org <http://turnserver.org> <http://turnserver.org>.
> The
> > candidate addresses for host,
> > > reflexive and relay are getting created and I am able to exchange
> them by
> > > dumping them in a file.
> > >
> > >
> > >
> > > Though I am not able to make an ICE connection, the wireshark logs
> says
> > Refresh
> > > Error Response error-code: 437 (Allocation Mismatch) Allocation
> mismatch.
> > >
> > >
> > >
> > > Attached are the lib nice debug output logs and wireshark logs.
> Please suggest
> > > if anyone has come across this issue and a possible fix for it.
> > >
> > >
> > > Thanks,
> > >
> > > Gurpreet Singh
> > >
> > >
> > >
> > > _______________________________________________
> > > nice mailing list
> > >
> > > http://lists.freedesktop.org/mailman/listinfo...
> >
> >
> >
> > _______________________________________________
> > nice mailing list
> >
> > http://lists.freedesktop.org/mailman/listinfo...
> >
> >
> >
> >
> >
> > _______________________________________________
> > nice mailing list
> >
> > http://lists.freedesktop.org/mailman/listinfo...
>
>
>
> _______________________________________________
> nice mailing list
>
> http://lists.freedesktop.org/mailman/listinfo...
>
>
Yes, it looks fine.
Make sure you use the latest version of both turnserver and libnice. Also, you'd
need to be using the RFC compatibility mode on the nice agent.On 08/20/2012 12:47 AM, Gurpreet Sachdeva wrote:
> I am doing nice_agent_set_relay_info (agent, stream_d, 1, "1.1.1.2", 8085,
> "toto", "password", NICE_RELAY_TYPE_TURN_UDP); before calling
> nice_agent_gather_candidates.
>
> Does that seems correct?
>
> Thanks,
> Gurpreet Singh
>
> On Wed, Aug 15, 2012 at 7:40 PM, Youness Alaoui
> > wrote:
>
> Hi,
>
> Did you properly call nice_agent_set_relay_info with all the required
> information ?
> From the log you attached, it seemed the allocation is happening, but data can't
> be sent because of a permission problem, I'm not entirely sure what happens here
> to be honest.
>
> On 08/14/2012 02:31 AM, Gurpreet Sachdeva wrote:
> > I further tried to investigate the issue. It seems there was no Allocation
> > request made to the TURN server from the libnice.
> >
> > Am I missing something to get libnice work with a relay sever?
> >
> > Thanks,
> > Gurpreet Singh
> >
> > ---------- Forwarded message ----------
> > From: *Gurpreet Sachdeva*
>
> > >>
> > Date: Mon, Aug 6, 2012 at 5:15 PM
> > Subject: Re: [Nice] Relay error 437 (Allocation Mismatch) with libnice client
> > To: Youness Alaoui
>
> >
> >>
> >
> >
> > Thanks Youness for your suggestions but unfortunately the server logs didn't
> > help much too.
> >
> > Please find attached the turnserver output logs and wireshark (.pcap)
> logs. Any
> > clue would be welcomed.
> >
> > What is the default mode of TURN in libnice? RFC5766 or DRAFT9? I am using
> > TurnServer 0.6 from turnserver.org <http://turnserver.org>
> <http://turnserver.org>.
> >
> > Thanks,
> > Gurpreet Singh
> >
> >
> > On Fri, Aug 3, 2012 at 7:50 PM, Youness Alaoui
>
> >
> >> wrote:
> >
> > Hi,
> > I'm not sure what could cause this. the log doesn't say much and the
> wireshark
> > dump was all text, you need to save it in .pcap format if it is to be
> useful.
> > Try to see also what turnserver says, maybe it has some information on
> > what's wrong.
> > Good luck.
> >
> >
> > On 08/01/2012 01:56 AM, Gurpreet Sachdeva wrote:
> > > I tried running a libnice client on the bases of the one share by
> Tiago in the
> > > forum. For the relay server I downloaded and configured the one at
> > > turnserver.org <http://turnserver.org> <http://turnserver.org>
> <http://turnserver.org>. The
> > candidate addresses for host,
> > > reflexive and relay are getting created and I am able to exchange
> them by
> > > dumping them in a file.
> > >
> > >
> > >
> > > Though I am not able to make an ICE connection, the wireshark logs says
> > Refresh
> > > Error Response error-code: 437 (Allocation Mismatch) Allocation
> mismatch.
> > >
> > >
> > >
> > > Attached are the lib nice debug output logs and wireshark logs.
> Please suggest
> > > if anyone has come across this issue and a possible fix for it.
> > >
> > >
> > > Thanks,
> > >
> > > Gurpreet Singh
> > >
> > >
> > >
> > > _______________________________________________
> > > nice mailing list
> > >
> >
> > > http://lists.freedesktop.org/mailman/listinfo...
> >
> >
> >
> > _______________________________________________
> > nice mailing list
> >
> >
> > http://lists.freedesktop.org/mailman/listinfo...
> >
> >
> >
> >
> >
> > _______________________________________________
> > nice mailing list
> >
> > http://lists.freedesktop.org/mailman/listinfo...
>
>
>
> _______________________________________________
> nice mailing list
>
> http://lists.freedesktop.org/mailman/listinfo...
>
>
>
>
> _______________________________________________
> nice mailing list
>
> http://lists.freedesktop.org/mailman/listinfo...