# Galène log file folder, TURN "negociation failed"

**URL:** https://forum.yunohost.org/t/galene-log-file-folder-turn-negociation-failed/16735
**Category:** Apps
**Tags:** galene, english
**Created:** [August 1, 2021, 2:11pm UTC](https://forum.yunohost.org/t/galene-log-file-folder-turn-negociation-failed/16735 "2021-08-01T14:11:10Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Vanitarium](https://forum.yunohost.org/user_avatar/forum.yunohost.org/vanitarium/32/3482_2.png) [@Vanitarium](https://forum.yunohost.org/u/Vanitarium)
#### Post date: [August 1, 2021, 2:11pm UTC](https://forum.yunohost.org/t/galene-log-file-folder-turn-negociation-failed/16735/1 "2021-08-01T14:11:11Z")

</div>

I am running galena videoconferencing on my videochat.\*\*\*\*.ynh.fr server.  
The app works well but after a few minutes it disconnects remote users with the error “negotiation failed”.  
I need to find the log files but the /var/log/galene/galene.log is always empty.  
Is there a conf file or .go file I need to activate the log or does it mean there are no errors in galene? I would really appreciate some help with this.Thanks for a great server distro!

---

<div class="post-metadata">

### Author: ![Vanitarium](https://forum.yunohost.org/user_avatar/forum.yunohost.org/vanitarium/32/3482_2.png) [@Vanitarium](https://forum.yunohost.org/u/Vanitarium)
#### Post date: [August 1, 2021, 1:54pm UTC](https://forum.yunohost.org/t/galene-log-file-folder-turn-negociation-failed/16735/2 "2021-08-01T13:54:46Z")

</div>

> [@\[Galène\] Videoconferencing server](https://forum.yunohost.org/t/galene-videoconferencing-server/14730/2):
>
> New stable version tv 27 April 2021 - [#41](https://github.com/YunoHost-Apps/galene_ynh/pull/41) Upgrade to upstream version 0.3.4

Hiya  
just a quick question about the galena.log file which I found in /opt/yunohost/galena but it is empty.  
Where do I have to tell galena to write to the log file,please?  
Merci for your help

---

<div class="post-metadata">

### Author: ![ericg](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ericg/32/1543_2.png) [@ericg](https://forum.yunohost.org/u/ericg)
#### Post date: [August 1, 2021, 4:18pm UTC](https://forum.yunohost.org/t/galene-log-file-folder-turn-negociation-failed/16735/3 "2021-08-01T16:18:03Z")

</div>

Hello,  
Galène logs should be accessible with YunoHost webadmin → Services → galene  
and for coturn: webadmin → Services → coturn-galene

---

<div class="post-metadata">

### Author: ![ericg](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ericg/32/1543_2.png) [@ericg](https://forum.yunohost.org/u/ericg)
#### Post date: [August 1, 2021, 7:51pm UTC](https://forum.yunohost.org/t/galene-log-file-folder-turn-negociation-failed/16735/4 "2021-08-01T19:51:06Z")

</div>

@Vanitarium Following the issue with Turn on Galène mailing list, you can try to install Galène from this branch.

```auto
sudo yunohost app install https://github.com/YunoHost-Apps/galene_ynh/tree/without-turn

```

This branch don’t install coturn but uses the one provided by Galène.

---

<div class="post-metadata">

### Author: ![Vanitarium](https://forum.yunohost.org/user_avatar/forum.yunohost.org/vanitarium/32/3482_2.png) [@Vanitarium](https://forum.yunohost.org/u/Vanitarium)
#### Post date: [August 2, 2021, 9:07am UTC](https://forum.yunohost.org/t/galene-log-file-folder-turn-negociation-failed/16735/5 "2021-08-02T09:07:38Z")

</div>

@ericg thank you… I have to try that today.  
Do I need to completely uninstall galene first? Will that also remove Turn server?  
By the way I have been discussing with Juliusz Chroboczek about this and he emailed me this explanantion for the “Negotiating failed” error:

> And, indeed, the log that you sent indicates that you’ve got some  
> networking issues:
> 
> Aug 01 15:20:09 galene[516]: 2021/08/01 15:20:09 Relay test failed: timeout  
> Aug 01 15:20:09 galene[516]: 2021/08/01 15:20:09 Perhaps you didn’t configure a TURN server?
> 
> The sequence of events is as follows:
> 
> 1. the client starts a video by sending an offer;
> 2. the server sends an answer and starts ICE candidate gathering;
> 3. the client detects the failure after 30s or so and sends an ICE restart;
> 4. the candidate gathering at the server isn’t done yet, hence the error.
> 
> There are two things here that shouldn’t happen if the network is  
> functioning: the candidate gathering shouldn’t take so long, and the  
> client shouldn’t be attempting to restart ICE. Both of these indicate  
> that there’s a firewall in the way and that no TURN server is accessible.

So, I am about to remove galene from my yuno server and because of your message, I shall try the no turn version of galene. If that fails or kills my server I shall abandon galene since I am NOT a developer or coder of any sort and feel at the edge of my knowledge with this!  
Thanks for caring and helping!

---

<div class="post-metadata">

### Author: ![Vanitarium](https://forum.yunohost.org/user_avatar/forum.yunohost.org/vanitarium/32/3482_2.png) [@Vanitarium](https://forum.yunohost.org/u/Vanitarium)
#### Post date: [August 2, 2021, 9:51am UTC](https://forum.yunohost.org/t/galene-log-file-folder-turn-negociation-failed/16735/6 "2021-08-02T09:51:13Z")

</div>

> [@ericg](#):
>
> `https://github.com/YunoHost-Apps/galene_ynh/tree/without-turn`

OK I am reporting back:

1. Uninstalled galene
2. Rebooted server
3. Installed galene-without-turn as by @ericg post
4. Install went OK no errors reported
5. Login to galene OK from my PC to yunoserver
6. Run /relay-test command and it returned error due to timeout
7. Login from iphone via phone network (not wifi): The server error negotiation failed appears almost instantly and iphone is not showing video on PC and vice versa

Log is here:  
[https://paste.yunohost.org/esirexicab](https://paste.yunohost.org/esirexicab)

I am at the end of my knowledge…  
NOTE: I have opened all the ports required by galene in server firewall and my modem.  
Log is here:  
[https://paste.yunohost.org/liziqocava](https://paste.yunohost.org/liziqocava)

If there is anymore info required your questions are welcome: I really want to become independent of [zoom.us](http://zoom.us) by using galene!!

---

<div class="post-metadata">

### Author: ![Vanitarium](https://forum.yunohost.org/user_avatar/forum.yunohost.org/vanitarium/32/3482_2.png) [@Vanitarium](https://forum.yunohost.org/u/Vanitarium)
#### Post date: [August 2, 2021, 10:00am UTC](https://forum.yunohost.org/t/galene-log-file-folder-turn-negociation-failed/16735/7 "2021-08-02T10:00:57Z")

</div>

Some more testing info:  
1.Negotiation error appears about 14-15 sec after activating video on iPhone using Safari  
2. Connecting with my Tuxedo laptop via wifi (same LAN as server) works very well but relay-test fails by timeout

---

<div class="post-metadata">

### Author: ![ericg](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ericg/32/1543_2.png) [@ericg](https://forum.yunohost.org/u/ericg)
#### Post date: [August 2, 2021, 10:38am UTC](https://forum.yunohost.org/t/galene-log-file-folder-turn-negociation-failed/16735/8 "2021-08-02T10:38:58Z")

</div>

Galène own turn server is using port `1194`. Is it open in you box? (just trying to guess…)

---

<div class="post-metadata">

### Author: ![Vanitarium](https://forum.yunohost.org/user_avatar/forum.yunohost.org/vanitarium/32/3482_2.png) [@Vanitarium](https://forum.yunohost.org/u/Vanitarium)
#### Post date: [August 2, 2021, 10:46am UTC](https://forum.yunohost.org/t/galene-log-file-folder-turn-negociation-failed/16735/9 "2021-08-02T10:46:02Z")

</div>

Yep it is open in firewall of yunohost server

---

<div class="post-metadata">

### Author: ![ericg](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ericg/32/1543_2.png) [@ericg](https://forum.yunohost.org/u/ericg)
#### Post date: [August 2, 2021, 10:55am UTC](https://forum.yunohost.org/t/galene-log-file-folder-turn-negociation-failed/16735/10 "2021-08-02T10:55:40Z")

</div>

Just mentioning this because in your [logs](https://paste.yunohost.org/liziqocava) the port 1194 doesn’t show as open…

---

<div class="post-metadata">

### Author: ![ericg](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ericg/32/1543_2.png) [@ericg](https://forum.yunohost.org/u/ericg)
#### Post date: [August 2, 2021, 11:02am UTC](https://forum.yunohost.org/t/galene-log-file-folder-turn-negociation-failed/16735/11 "2021-08-02T11:02:29Z")

</div>

I don’t know you setup but you may need to open the ports used by galène in your internet box.

---

<div class="post-metadata">

### Author: ![Vanitarium](https://forum.yunohost.org/user_avatar/forum.yunohost.org/vanitarium/32/3482_2.png) [@Vanitarium](https://forum.yunohost.org/u/Vanitarium)
#### Post date: [August 2, 2021, 11:05am UTC](https://forum.yunohost.org/t/galene-log-file-folder-turn-negociation-failed/16735/12 "2021-08-02T11:05:44Z")

</div>

Hi I opened all the ports shown in log on the internet modem box . Will post screenshots in a while for others to understand . Thank you merci for pointing this out to me!

---

<div class="post-metadata">

### Author: ![Vanitarium](https://forum.yunohost.org/user_avatar/forum.yunohost.org/vanitarium/32/3482_2.png) [@Vanitarium](https://forum.yunohost.org/u/Vanitarium)
#### Post date: [August 2, 2021, 12:59pm UTC](https://forum.yunohost.org/t/galene-log-file-folder-turn-negociation-failed/16735/13 "2021-08-02T12:59:34Z")

</div>

![Screenshot 2021-08-02 at 12.52.02](https://forum.yunohost.org/uploads/default/original/2X/e/e78489d721f72f5c382a7bf05cb7bd621db36f93.png)  
Herewith the screenshot from modem

SUCCESS: the relay test now worked …  
here is the screenshot

 ![Screenshot 2021-08-02 at 14.08.38](https://forum.yunohost.org/uploads/default/original/2X/5/501e379a9873c228afe6ea91bb1c08b623108f82.png)

@ericg can we put this on the forum discussions? I had not realised it was a message between you and me… sorry et merci

---

<div class="post-metadata">

### Author: ![Vanitarium](https://forum.yunohost.org/user_avatar/forum.yunohost.org/vanitarium/32/3482_2.png) [@Vanitarium](https://forum.yunohost.org/u/Vanitarium)
#### Post date: [August 2, 2021, 5:10pm UTC](https://forum.yunohost.org/t/galene-log-file-folder-turn-negociation-failed/16735/14 "2021-08-02T17:10:08Z")

</div>

@ericg thank you very much for making this public… there is some useful information here for other users! And thanks for making galene available for yunohost!

---

<div class="post-metadata">

### Author: ![Vanitarium](https://forum.yunohost.org/user_avatar/forum.yunohost.org/vanitarium/32/3482_2.png) [@Vanitarium](https://forum.yunohost.org/u/Vanitarium)
#### Post date: [September 5, 2021, 7:02am UTC](https://forum.yunohost.org/t/galene-log-file-folder-turn-negociation-failed/16735/15 "2021-09-05T07:02:03Z")

</div>

@ericg just another question…  
Is the branch [https://github.com/YunoHost-Apps/galene\_ynh/tree/without-turn](https://github.com/YunoHost-Apps/galene_ynh/tree/without-turn) being updated or is it dormant?  
Any suggestions to go back to the new version with-turn?  
Thanks again for helping

---

<div class="post-metadata">

### Author: ![ericg](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ericg/32/1543_2.png) [@ericg](https://forum.yunohost.org/u/ericg)
#### Post date: [September 5, 2021, 8:00am UTC](https://forum.yunohost.org/t/galene-log-file-folder-turn-negociation-failed/16735/16 "2021-09-05T08:00:27Z")

</div>

I am waiting for the version 0.4 to come to set the version “without Turn” as master branch and keep a version with “Turn installed alongside” Glène in another branch.  
Galène will have to be removed and reinstalled.

---

<div class="post-metadata">

### Author: ![Vanitarium](https://forum.yunohost.org/user_avatar/forum.yunohost.org/vanitarium/32/3482_2.png) [@Vanitarium](https://forum.yunohost.org/u/Vanitarium)
#### Post date: [September 5, 2021, 8:31am UTC](https://forum.yunohost.org/t/galene-log-file-folder-turn-negociation-failed/16735/17 "2021-09-05T08:31:27Z")

</div>

Merci I shall wait for your reply when it happens …

---

<div class="post-metadata">

### Author: ![lsjmhar](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/l/94ad74/32.png) [@lsjmhar](https://forum.yunohost.org/u/lsjmhar)
#### Post date: [September 9, 2021, 11:33pm UTC](https://forum.yunohost.org/t/galene-log-file-folder-turn-negociation-failed/16735/18 "2021-09-09T23:33:12Z")

</div>

I have just updated yunohost and galene (0.4) and the app has stopped working. ICE agent not working and the log mentions Turn server issue. Relay test failed.

It worked fine up until this update. Any ideas what is wrong?

Thanks

---

<div class="post-metadata">

### Author: ![ericg](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ericg/32/1543_2.png) [@ericg](https://forum.yunohost.org/u/ericg)
#### Post date: [September 10, 2021, 6:36am UTC](https://forum.yunohost.org/t/galene-log-file-folder-turn-negociation-failed/16735/19 "2021-09-10T06:36:13Z")

</div>

> [@lsjmhar](#):
>
> It worked fine up until this update. Any ideas what is wrong?

Without context and logs not really

Are you behind a box, on a VPS. Are you ports open?  
Have you read the README: [GitHub - YunoHost-Apps/galene\_ynh: Galène package for YunoHost](https://github.com/YunoHost-Apps/galene_ynh)

---

<div class="post-metadata">

### Author: ![Vanitarium](https://forum.yunohost.org/user_avatar/forum.yunohost.org/vanitarium/32/3482_2.png) [@Vanitarium](https://forum.yunohost.org/u/Vanitarium)
#### Post date: [September 10, 2021, 6:52am UTC](https://forum.yunohost.org/t/galene-log-file-folder-turn-negociation-failed/16735/20 "2021-09-10T06:52:15Z")

</div>

Maybe install from the branch without Turn?? It solved similar issue for me but cannot be updated via yunohost after that.

[Next page](https://forum.yunohost.org/t/galene-log-file-folder-turn-negociation-failed/16735.md?page=2)
