Not getting response from server on local network

38 views
Skip to first unread message

Róbert Rimóczi

unread,
Dec 9, 2015, 3:53:00 AM12/9/15
to TURN Server (Open-Source project)
Hi!

I started the turn server with the example script restapi/secure_relay_secret_with_db_sqlite.sh . I modified a bit so it uses a preconfigured shared secret. Everything seems good when I start it. Server log when I staart: http://pastebin.com/2EpF0548

I made a user with turnadmin -a -u test -u test -r north.gov

After that I try to test the server with the command: turnutils_uclient -u test -w test -W <shared_secret> <local_ip>

Then I get 100% packet loss, with no response from the server. If I set the -T flag in the uclient, SOMETIMES I get back response. But only sometimes, like 2 packet from 10. Log from client: http://pastebin.com/nMfMjAwK

Server log when I try with the first uclient command: http://pastebin.com/yqr697gJ

Oleg Moskalenko

unread,
Dec 9, 2015, 4:15:46 AM12/9/15
to Róbert Rimóczi, TURN Server (Open-Source project)
you did not forget to run the script peer.sh, right ?
> --
> You received this message because you are subscribed to the Google Groups
> "TURN Server (Open-Source project)" 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.
> For more options, visit https://groups.google.com/d/optout.

Róbert Rimóczi

unread,
Dec 9, 2015, 4:34:01 AM12/9/15
to TURN Server (Open-Source project), rimoczi...@kattintas.net
So, yeah, I forgot.

Now the process was this:

1, start server
2, start peer.sh
3, start the test client

still the same, no response, no log from the peer script or anything, even when -v used only 

0: udp_create_server_socket:66:start

0: udp_create_server_socket:98:end


gets on the output


2015. december 9., szerda 10:15:46 UTC+1 időpontban Oleg Moskalenko a következőt írta:
you did not forget to run the script peer.sh, right ?


On Wed, Dec 9, 2015 at 12:53 AM, Róbert Rimóczi
<rimoczi...@kattintas.net> wrote:
> Hi!
>
> I started the turn server with the example script
> restapi/secure_relay_secret_with_db_sqlite.sh . I modified a bit so it uses
> a preconfigured shared secret. Everything seems good when I start it. Server
> log when I staart: http://pastebin.com/2EpF0548
>
> I made a user with turnadmin -a -u test -u test -r north.gov
>
> After that I try to test the server with the command: turnutils_uclient -u
> test -w test -W <shared_secret> <local_ip>
>
> Then I get 100% packet loss, with no response from the server. If I set the
> -T flag in the uclient, SOMETIMES I get back response. But only sometimes,
> like 2 packet from 10. Log from client: http://pastebin.com/nMfMjAwK
>
> Server log when I try with the first uclient command:
> http://pastebin.com/yqr697gJ
>
> --
> You received this message because you are subscribed to the Google Groups
> "TURN Server (Open-Source project)" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
> To post to this group, send email to

Oleg Moskalenko

unread,
Dec 9, 2015, 4:46:29 AM12/9/15
to Róbert Rimóczi, TURN Server (Open-Source project)
First, run the unmodified scripts and make sure that they work. They
are very well locally tested and they work always.
Then, start modifying them and see what happens.

On Wed, Dec 9, 2015 at 1:34 AM, Róbert Rimóczi
>> > turn-server-project-rfc57...@googlegroups.com.
>> > To post to this group, send email to
>> > turn-server-project...@googlegroups.com.
> --
> You received this message because you are subscribed to the Google Groups
> "TURN Server (Open-Source project)" 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.
Reply all
Reply to author
Forward
0 new messages