GithubHelp home page GithubHelp logo

Comments (9)

jech avatar jech commented on July 28, 2024 1

@lapineige, no, in this case, the "unexpected EOF" means that a client disconnected without sending the close handshake. This may happen for example if a browser crashes, and is nothing to worry about.

The issue is somewhere else.

from galene_ynh.

lapineige avatar lapineige commented on July 28, 2024

Thanks a lot for the super detailed and structured description of your issue :)

I suppose restarting both Galène and the TURN server did not work ?
Could you share your Galène ICE config file, just in case ?

Do you have any other TURN server running ? (for instance the one from Matrix-Synapse app)

from galene_ynh.

jakobkilian avatar jakobkilian commented on July 28, 2024

Very welcome, it is me to say thx for the development of galene for ynh!

Right, restart didn't change the situation. Just found out that galene has this failure in its logs:
May 03 14:26:39 galene[876]: 2021/05/03 14:26:39 client: websocket: close 1006 (abnormal closure): unexpected EOF
Don't know it it is important...

My ./opt/yunohost/galene/data/ice-servers.json is:

[
    {
        "urls": [
            "turn:myurl.org:1194",
            "turn:myurl.org:1194?transport=tcp"
        ],
        "username": "galene",
        "credential": "XXXX"
    }
]

Two thoughts:

  • Never saw the passwort XXXX (deleted the original) – is it a hash? Because it is definitely not my admin password
  • I use the ynh redirect app to direct subdomains like XY.myurl.org to myurl.org/group/XY – if this is somehow interesting for the investigation into the issue.

Tell me if I can do anything further...

from galene_ynh.

lapineige avatar lapineige commented on July 28, 2024

unexpected EOF

That means that the is an error in the End Of a File. Often an error with wrongly formatted json or such…
Maybe that ICE config file has a bad syntax ?

from galene_ynh.

jakobkilian avatar jakobkilian commented on July 28, 2024

Hmmm, actually it really is the content i posted... Can't see any bad syntax in that file...

from galene_ynh.

jakobkilian avatar jakobkilian commented on July 28, 2024

Ok I tried to get myself deeper into how the turn server should work on my server. When I tried to make the turnserver listen to the default ports I got the message:

admin@XXX:/opt/yunohost/galene$ ./galene -http :8443
2021/05/10 10:23:53 Server: listen tcp :8443: bind: address already in use
admin@XXX:/opt/yunohost/galene$ ./galene -turn :1194
2021/05/10 10:24:06 Starting built-in TURN server on :1194
2021/05/10 10:24:06 Server: listen tcp :8443: bind: address already in use

Is this normal? 8443 is already inn use because of galene itself...

tcp6 0 0 :::8443 :::* LISTEN 29553/galene

Furthermore, even with coturn-galene turned off there seems to be another turnsever running. Where is this coming from (can't imagine another app using turn and din't configure it myself) and can this conflict with the coturn-galene?

tcp        0      0 myIP4ADDR:3478          0.0.0.0:*               LISTEN      951/turnserver      
tcp        0      0 127.0.0.1:3478          0.0.0.0:*               LISTEN      951/turnserver      
tcp        0      0 myIP4ADDR:3478          0.0.0.0:*               LISTEN      951/turnserver      
tcp        0      0 127.0.0.1:3478          0.0.0.0:*               LISTEN      951/turnserver      
tcp        0      0 myIP4ADDR:3478          0.0.0.0:*               LISTEN      951/turnserver      
tcp        0      0 127.0.0.1:3478          0.0.0.0:*               LISTEN      951/turnserver      
tcp        0      0 myIP4ADDR:3478          0.0.0.0:*               LISTEN      951/turnserver      
tcp        0      0 127.0.0.1:3478          0.0.0.0:*               LISTEN      951/turnserver            
tcp        0      0 myIP4ADDR:3479          0.0.0.0:*               LISTEN      951/turnserver      
tcp        0      0 127.0.0.1:3479          0.0.0.0:*               LISTEN      951/turnserver      
tcp        0      0 myIP4ADDR:3479          0.0.0.0:*               LISTEN      951/turnserver      
tcp        0      0 127.0.0.1:3479          0.0.0.0:*               LISTEN      951/turnserver      
tcp        0      0 myIP4ADDR:3479          0.0.0.0:*               LISTEN      951/turnserver      
tcp        0      0 127.0.0.1:3479          0.0.0.0:*               LISTEN      951/turnserver      
tcp        0      0 myIP4ADDR:3479          0.0.0.0:*               LISTEN      951/turnserver      
tcp        0      0 127.0.0.1:3479          0.0.0.0:*               LISTEN      951/turnserver   
tcp6       0      0 ::1:3478                :::*                    LISTEN      951/turnserver      
tcp6       0      0 myIP6ADDR:3478          :::*                    LISTEN      951/turnserver      
tcp6       0      0 ::1:3478                :::*                    LISTEN      951/turnserver      
tcp6       0      0 myIP6ADDR:3478          :::*                    LISTEN      951/turnserver      
tcp6       0      0 ::1:3478                :::*                    LISTEN      951/turnserver      
tcp6       0      0 myIP6ADDR:3478          :::*                    LISTEN      951/turnserver      
tcp6       0      0 ::1:3478                :::*                    LISTEN      951/turnserver      
tcp6       0      0 myIP6ADDR:3478          :::*                    LISTEN      951/turnserver      
tcp6       0      0 ::1:3479                :::*                    LISTEN      951/turnserver      
tcp6       0      0 myIP6ADDR:3479          :::*                    LISTEN      951/turnserver      
tcp6       0      0 ::1:3479                :::*                    LISTEN      951/turnserver      
tcp6       0      0 myIP6ADDR:3479          :::*                    LISTEN      951/turnserver      
tcp6       0      0 ::1:3479                :::*                    LISTEN      951/turnserver      
tcp6       0      0 myIP6ADDR:3479          :::*                    LISTEN      951/turnserver      
tcp6       0      0 ::1:3479                :::*                    LISTEN      951/turnserver      
tcp6       0      0 myIP6ADDR:3479          :::*                    LISTEN      951/turnserver   
udp        0      0 myIP4ADDR:3478          0.0.0.0:*                           951/turnserver      
udp        0      0 myIP4ADDR:3478          0.0.0.0:*                           951/turnserver      
udp        0      0 myIP4ADDR:3478          0.0.0.0:*                           951/turnserver      
udp        0      0 myIP4ADDR:3478          0.0.0.0:*                           951/turnserver      
udp        0      0 127.0.0.1:3478          0.0.0.0:*                           951/turnserver      
udp        0      0 127.0.0.1:3478          0.0.0.0:*                           951/turnserver      
udp        0      0 127.0.0.1:3478          0.0.0.0:*                           951/turnserver      
udp        0      0 127.0.0.1:3478          0.0.0.0:*                           951/turnserver      
udp        0      0 myIP4ADDR:3479          0.0.0.0:*                           951/turnserver      
udp        0      0 myIP4ADDR:3479          0.0.0.0:*                           951/turnserver      
udp        0      0 myIP4ADDR:3479          0.0.0.0:*                           951/turnserver      
udp        0      0 myIP4ADDR:3479          0.0.0.0:*                           951/turnserver      
udp        0      0 127.0.0.1:3479          0.0.0.0:*                           951/turnserver      
udp        0      0 127.0.0.1:3479          0.0.0.0:*                           951/turnserver      
udp        0      0 127.0.0.1:3479          0.0.0.0:*                           951/turnserver      
udp        0      0 127.0.0.1:3479          0.0.0.0:*                           951/turnserver      
udp6       0      0 ::1:3478                :::*                                951/turnserver      
udp6       0      0 ::1:3478                :::*                                951/turnserver      
udp6       0      0 ::1:3478                :::*                                951/turnserver      
udp6       0      0 ::1:3478                :::*                                951/turnserver      
udp6       0      0 myIP6ADDR:3478          :::*                                951/turnserver      
udp6       0      0 myIP6ADDR:3478          :::*                                951/turnserver      
udp6       0      0 myIP6ADDR:3478          :::*                                951/turnserver      
udp6       0      0 myIP6ADDR:3478          :::*                                951/turnserver      
udp6       0      0 ::1:3479                :::*                                951/turnserver      
udp6       0      0 ::1:3479                :::*                                951/turnserver      
udp6       0      0 ::1:3479                :::*                                951/turnserver      
udp6       0      0 ::1:3479                :::*                                951/turnserver      
udp6       0      0 myIP6ADDR:3479          :::*                                951/turnserver      
udp6       0      0 myIP6ADDR:3479          :::*                                951/turnserver      
udp6       0      0 myIP6ADDR:3479          :::*                                951/turnserver      
udp6       0      0 myIP6ADDR:3479          :::*                                951/turnserver      

When co-turn is started the server appears with netstat -tulpn as "9500/turnserver "
I also checked the Firewall and the ports (1194 and 8443) are open.

What could I check next? Or is my knowledge just to low to proceed any further? ;-)

And just to add: issue can also be reproduced by using a guest network of a Fritz.Box (Maybe the higher ports are prohibited there too?

from galene_ynh.

ericgaspar avatar ericgaspar commented on July 28, 2024

@jakobkilian Sorry for the late reply.
You can test this other repo which uses Galène with its integrated TURN server. it doesn't work with ipv6 i believe.
sudo yunohost app install https://github.com/YunoHost-Apps/galene_ynh/tree/without-turn
Tell me if you are able to ping the TURN server with /relay-test

from galene_ynh.

jakobkilian avatar jakobkilian commented on July 28, 2024

Wow. It works out of the box! Thank you so much!
Also tried to set up an own server with instructions by my hoster, but naw, didn't work and I still don't really understand the whole topic -.- But for now, this works, thx!

from galene_ynh.

ericgaspar avatar ericgaspar commented on July 28, 2024

Someone add the same error with a different app this week. I have no idea of the problem...

from galene_ynh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.