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

[BUG]: Client Random Port Issue in Notify-Subscribe Example using UDP #826

Open
ayaha55 opened this issue Dec 19, 2024 · 0 comments
Open
Labels

Comments

@ayaha55
Copy link

ayaha55 commented Dec 19, 2024

vSomeip Version

v3.4.10 | the latest version

Boost Version

1.74

Environment

Ubuntu 22.04 LTS

Describe the bug

When running the notify-subscribe example in the vsomeip repository with UDP, the server uses the correct port as configured in the JSON configuration file, but the client randomly assigns a port on each execution. In addition, during each SOME/IP SD (Service Discovery) subscription, the client’s IPv4 endpoint in the option changes the port number, which leads to inconsistencies.

I have tried the port range solution mentioned in Issue #452, but it didn’t work in my case.
The client’s UDP port in Wireshark fluctuates between port ranges, such as from [3xxxx] to [5xxxx], which is not the expected behavior.

Reproduction Steps

No response

Expected behaviour

The client should use a fixed UDP port for communication, as specified in the configuration file, and not randomly change the port or fluctuate within a range.

Logs and Screenshots

No response

@ayaha55 ayaha55 added the bug label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant