Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't start OME with <P2P> configured #1466

Open
bchah opened this issue Nov 29, 2023 · 7 comments
Open

Can't start OME with <P2P> configured #1466

bchah opened this issue Nov 29, 2023 · 7 comments
Assignees
Labels
investigating Being checked

Comments

@bchah
Copy link
Sponsor Collaborator

bchah commented Nov 29, 2023

Describe the bug
If you have P2P enabled in your server configuration, OME will not start up:

[2023-11-29 22:06:03.913] I [OvenMediaEngine:498] Config | config_manager.cpp:239  | Trying to set logfile in directory... (/log/engine)
[2023-11-29 22:06:03.914] E [OvenMediaEngine:498] OvenMediaEngine | main.cpp:293  | An error occurred while load config: [Config] Unknown item found: Server.P2P in /opt/ovenmediaengine/bin/conf/Server.xml

I haven't tested this feature in a while but it worked well in the past.

@getroot
Copy link
Sponsor Member

getroot commented Nov 30, 2023

This feature hasn't been tested in a very long time. I'll take a look soon. Thank you

@getroot getroot added bug Confirmed as bug investigating Being checked labels Nov 30, 2023
@getroot
Copy link
Sponsor Member

getroot commented Nov 30, 2023

I haven't tested it yet, but P2P config was moved here. Could you modify your Server.xml to <Server><Modules><P2P>

@getroot getroot removed the bug Confirmed as bug label Nov 30, 2023
@bchah
Copy link
Sponsor Collaborator Author

bchah commented Nov 30, 2023

Thank you @getroot, that prevents the crashing. I notice that with the feature enabled, the websocket connection is established but no messages are exchanged. The logs show these clues while the P2P negotiation is attempted:

W [SPICE-t10010:7337] ICE | ice_port.cpp:690  | Could not find agent() information. Dropping... [Packet type : DTLS GateType : SEND_INDICATION]
W [DQICETmout:7334] ICE | ice_port.cpp:527  | Agent [Unknow, 0] has expired

Does this give a good clue? I can dive deeper as needed 🤓

@getroot
Copy link
Sponsor Member

getroot commented Dec 1, 2023

I actually have my mind turned off from the p2p traffic distribution feature (experimental feature). First, I'll put reviving the existing p2p functionality on the backlog and look into it when I have time.
Are you planning to apply this to your service?

@bchah
Copy link
Sponsor Collaborator Author

bchah commented Dec 1, 2023 via email

@getroot getroot self-assigned this Dec 8, 2023
Copy link

stale bot commented Feb 6, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Feb 6, 2024
@stale stale bot closed this as completed Feb 13, 2024
@getroot getroot reopened this Feb 17, 2024
@stale stale bot removed the stale label Feb 17, 2024
Copy link

stale bot commented Apr 18, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Apr 18, 2024
@stale stale bot closed this as completed Apr 26, 2024
@bchah bchah reopened this Apr 26, 2024
@stale stale bot removed the stale label Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigating Being checked
Projects
None yet
Development

No branches or pull requests

2 participants