Giter Site home page Giter Site logo

Comments (6)

orangepeelbeef avatar orangepeelbeef commented on June 11, 2024 1

Well, I blew the container away and rebuilt it and this time the TURN port is listening. Not sure what was going on there, maybe something hosed up in the install process. I used the exact same data directory and config files, so 🤷 Sorry for the noise!

from foundryvtt-docker.

felddy avatar felddy commented on June 11, 2024

I suspect that your container is not publishing all of the ports required by Foundry's internal TURN server.
See: https://foundryvtt.com/article/audio-video/#relay

By default these UDP ports are:33478, 49152-65535

⚠️ A word of warning: Due to an long-standing bug in Docker, publishing large numbers of ports can lead significant performance issues. See: moby/moby#11185

from foundryvtt-docker.

orangepeelbeef avatar orangepeelbeef commented on June 11, 2024

I am publishing the ports, but the service isn't running/listening. I even logged in with a root shell and looked around with netstat, it isn't there.

from foundryvtt-docker.

orangepeelbeef avatar orangepeelbeef commented on June 11, 2024

I did find this note on that page:
To disable Foundry's relay server, simply provide an empty list of turn configurations.

Does this container set blank turn config by default? I am not passing any turnconfigs

from foundryvtt-docker.

felddy avatar felddy commented on June 11, 2024

I am not an expert on the Foundry internals, but I am pretty certain that the TURN server is not a separate process. Foundry v0.7.5 uses version v0.0.6 of the node-turn package. I expect this follows the same single-threading model as the rest of node.

This container does not set a value forturnConfigs in the options.json file unless you set the FOUNDRY_TURN_CONFIGS environment variable. You can confirm this by looking at your options.json file.

If I start up the container and run a netstat -lu in it I do see the UDP TURN listening port listed:

/home/foundry # netstat -lu
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       
udp        0      0 127.0.0.11:53922        0.0.0.0:*                           
udp        0      0 0.0.0.0:33478           0.0.0.0:*                           

Are you seeing startup log entries showing that the RTC server started?

foundry_1  | FoundryVTT | 2020-11-05 22:16:31 | [info] EasyRTC: Starting EasyRTC Server (v2.0.5) on Node (v12.19.0)
foundry_1  | FoundryVTT | 2020-11-05 22:16:31 | [info] EasyRTC: EasyRTC Server Ready For Connections (v2.0.5)
foundry_1  | FoundryVTT | 2020-11-05 22:16:31 | [info] WebRTC Server started successfully

Did you enable Audio/Video in your world's configuration?
image

It would be helpful if you could post any log output, or configurations.

from foundryvtt-docker.

felddy avatar felddy commented on June 11, 2024

Glad you got it working. Feel free to ping me if anything else comes up.

from foundryvtt-docker.

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.