turnutils_uclient

344 views
Skip to first unread message

Matthew Robertson

unread,
Jun 12, 2013, 3:46:38 PM6/12/13
to turn-server-project...@googlegroups.com
I am having some trouble getting the turnutils_uclient to connect to my turnserver over UDP. I am sure I am making a simple mistake but I can't figure out what is wrong. I have a turnserver running on AWS and I am booting it with this command:

sudo turnserver -v --fingerprint --relay-threads=1 --lt-cred-mech --static-auth-secret=SECRET --realm=ip-10-12-0-105 --external-ip=54.244.14.244

When I try to use the turnutils_uclient with the -T option is seems to work fine:

eg: turnutils_uclient -T -u1370978170 -wnAYSEc0vdpVU1JpEeBwmHkcQLSo= 54.244.14.244

But, when I leave off the -T option I get the following error message: "channel bind: error 443 (Peer Address Family Mismatch)"

Any hints on what I might be doing wrong? 

Thanks, 
Matthew

Oleg Moskalenko

unread,
Jun 12, 2013, 4:03:36 PM6/12/13
to turn-server-project...@googlegroups.com
The program turnutils_uclient must have either one of two exclusive options:

1) -e <peer-address> option.
2) -y option that means back-to-back clients connection (through their relay endpoints).

I do not see either one. So the behavior is undefined. You have to define either one of the options.

Oleg Moskalenko

unread,
Jun 12, 2013, 5:26:17 PM6/12/13
to turn-server-project...@googlegroups.com

... And -T works only because it invokes -y automatically. Without -T you have to set -y or -e explicitly.

--
You received this message because you are subscribed to the Google Groups "TURN Server project rfc5766-turn-server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turn-server-project-rfc57...@googlegroups.com.
To post to this group, send email to turn-server-project...@googlegroups.com.
Visit this group at http://groups.google.com/group/turn-server-project-rfc5766-turn-server?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Matthew Robertson

unread,
Jun 12, 2013, 5:42:17 PM6/12/13
to turn-server-project...@googlegroups.com
Thanks Oleg, this makes tons of sense. I have it working now, I new it had to be something simple :)


On Wednesday, June 12, 2013 2:26:17 PM UTC-7, Oleg Moskalenko wrote:

... And -T works only because it invokes -y automatically. Without -T you have to set -y or -e explicitly.

On Jun 12, 2013 1:03 PM, "Oleg Moskalenko" <mom0...@gmail.com> wrote:
The program turnutils_uclient must have either one of two exclusive options:

1) -e <peer-address> option.
2) -y option that means back-to-back clients connection (through their relay endpoints).

I do not see either one. So the behavior is undefined. You have to define either one of the options.

On Wednesday, June 12, 2013 12:46:38 PM UTC-7, Matthew Robertson wrote:
I am having some trouble getting the turnutils_uclient to connect to my turnserver over UDP. I am sure I am making a simple mistake but I can't figure out what is wrong. I have a turnserver running on AWS and I am booting it with this command:

sudo turnserver -v --fingerprint --relay-threads=1 --lt-cred-mech --static-auth-secret=SECRET --realm=ip-10-12-0-105 --external-ip=54.244.14.244

When I try to use the turnutils_uclient with the -T option is seems to work fine:

eg: turnutils_uclient -T -u1370978170 -wnAYSEc0vdpVU1JpEeBwmHkcQLSo= 54.244.14.244

But, when I leave off the -T option I get the following error message: "channel bind: error 443 (Peer Address Family Mismatch)"

Any hints on what I might be doing wrong? 

Thanks, 
Matthew

--
You received this message because you are subscribed to the Google Groups "TURN Server project rfc5766-turn-server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turn-server-project-rfc5766-turn-server+unsubscribe@googlegroups.com.
To post to this group, send email to turn-server-project-rfc5766-turn-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages