admin interface (HTTPS) results in "Segmentation fault" error

341 views
Skip to first unread message

Omar Khalil

unread,
Jun 14, 2017, 7:19:32 AM6/14/17
to TURN Server (Open-Source project)

Hello,


I'm facing a problem trying to log to admin interface over HTTPS.

I built coturn 4.5.0.6 from source code on Debian 8.8.

Everything is working proberly from stun and my all webrtc applicatons.


trying to access the web interface at: http://mydomain:3478 
works good and returns the TURN SERVER.

Now trying to access the web interface at https://mydomain:3478.
will kill the whole coturn process.

From the turnserver as verbose and even extra verbose, I get only this message when trying to access https:
"Segmentation fault"

So what could this mean?



Conf file is:

listening-port=3478
tls-listening-port=5349                #I tried with tls port and without, and the same issue remains
listening-ip=SERVER_IP
relay-ip=SERVER_IP
external-ip=SERVER_IP
min-port=50000
max-port=65000
lt-cred-mech
server-name=SERVER_FDQN
mysql-userdb="host=localhost dbname=turn user=turn password=pass port=3306 connect_timeout=15 read_timeout=5"
realm=SERVER_FDQN 
cert= path of wildcard certificate of the domain name                            # Tried with self generated cert too, but the issue also remains
pkey=path of private key of the domain name


Starting turnserver:

turnserver -v



Any idea is highly appreciated and thanks for reading.

Oleg Moskalenko

unread,
Jun 14, 2017, 7:28:33 PM6/14/17
to Omar Khalil, TURN Server (Open-Source project)
The information that you provided is saying that you have a mismatch
of OpenSSL and other tools libraries (like libevent2).

Oleg
> --
> 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
> https://groups.google.com/group/turn-server-project-rfc5766-turn-server.
> For more options, visit https://groups.google.com/d/optout.

Oleg Moskalenko

unread,
Jun 14, 2017, 7:29:07 PM6/14/17
to Omar Khalil, TURN Server (Open-Source project)
... try to build libevent2 manually

Omar Khalil

unread,
Jun 16, 2017, 8:29:37 PM6/16/17
to TURN Server (Open-Source project), mc9...@gmail.com
You were totally right, everything is working like charm now, Thanks a lot.

For other people who may read this and have this problem, I have Debian Jessie, and also had this problem with other machines which are different Debian based os too.

You should build Libevent before building coturn and then all will work fine,

Regards,
Omar

>> To post to this group, send email to
Message has been deleted

Zana Mustafa

unread,
Nov 5, 2018, 6:24:51 PM11/5/18
to TURN Server (Open-Source project)
I have same issue. I cannot use Admin interface via HTTPS when using it like this https://ip-address:5349 I GOT THIS ERR_SSL_PROTOCOL_ERROR

Could you please explain how did you solved it?

Mészáros Mihály

unread,
Nov 7, 2018, 2:59:44 AM11/7/18
to turn-server-project...@googlegroups.com

Which version do you use?

Try the latest 4.5.0.8.

Misi

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