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

Using udp event provider with multiple sites projects #16

Open
bushradalal opened this issue Nov 7, 2024 · 2 comments
Open

Using udp event provider with multiple sites projects #16

bushradalal opened this issue Nov 7, 2024 · 2 comments

Comments

@bushradalal
Copy link

Assistance Required with UdpMulticastEventProvider for 3-Site Optimizely Project

Hi Stefan,

First, I’d like to express our appreciation for all your hard work and support in creating and maintaining this provider. We’re currently using the UdpMulticastEventProvider in our project and encountering a challenge due to our setup with a 3-site Optimizely configuration.

We're seeing the following error:
System.Net.Sockets.SocketException (10048): Only one usage of each socket address (protocol/network address/port) is normally permitted.

It seems to be a socket address conflict, and we’re wondering if there are any recommended approaches to resolve this, particularly in a multi-site environment like ours. Any advice or workaround would be greatly appreciated.

Thank you for your time and assistance!

Best regards

@TTGeek2
Copy link

TTGeek2 commented Feb 3, 2025

I am guessing that you are running the 3 sites as 3 different sites in the IIS, but using the same files, hence same configuration. If that is the case, each site will run in it's own process so each process will try to listen on the same socket. work-around might be to add different configuration for each site.

@bushradalal
Copy link
Author

Hi!
Thank you for your replay
Yes i Solved the problem with having different configurations for each site Like This using unicast provider:
On server01:
For Site1:

"UdpUnicastEventProvider": {
"BindHost": "0.0.0.0",
"Port": 6000,
"Endpoints": [
{ "Host": "server02", "Port": 6000 }
]
}

On server01:
For Site2:

"UdpUnicastEventProvider": {
"BindHost": "0.0.0.0",
"Port": 6001,
"Endpoints": [
{ "Host": "server02", "Port": 6001 }
]
}

On server01:
For Site3:

"UdpUnicastEventProvider": {
"BindHost": "0.0.0.0",
"Port": 6002,
"Endpoints": [
{ "Host": "server02", "Port": 6002 }
]
}

On server02:
For Site1:

"UdpUnicastEventProvider": {
"BindHost": "0.0.0.0",
"Port": 6000,
"Endpoints": [
{ "Host": "server01", "Port": 6000 }
]
}
On server02:
For Site2:

"UdpUnicastEventProvider": {
"BindHost": "0.0.0.0",
"Port": 6001,
"Endpoints": [
{ "Host": "server01", "Port": 6001 }
]
}

On server02:
For Site3:

"UdpUnicastEventProvider": {
"BindHost": "0.0.0.0",
"Port": 6002,
"Endpoints": [
{ "Host": "server01", "Port": 6002 }
]
}

Thank you so much for your help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants