Skip to content

Port binding does not seem released after OMMProvider exists scope (Linux only) #192

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

Closed
zfarberov opened this issue Mar 12, 2022 · 2 comments

Comments

@zfarberov
Copy link

Hello @Real-Time-SDK team,

I am following up on client report on dev forums:
https://community.developers.refinitiv.com/questions/91318/port-not-closed-after-destroying-ommprovider.html

Having tested this on windows RTSDK first, and not found the issue as described, I have consequently re-tested on Linux Oracle 7.4, RTSDK versions 2.0.0 and 2.0.4, I am seeing/reproducing the non-release with both versions.

Can use the code supplied by the client to reproduce (please find in dev forums question) or just introducing loop into IProv100 example (attached) and run example Consumer100 against it (unmodified) and exit:
IProvider.zip see "Unable to bind socket" on provider at the next iteration of the loop:

"root@45684e27c875 Optimized]# ./IProv100

Iteration: 0 coming in...
Exception Type='OmmInvalidUsageException', Text='Attempt to submit UpdateMsg with non existent Handle = 139779509414192.', ErrorCode='-22'

Iteration: 0 coming out...

Iteration: 1 coming in...
Exception Type='OmmInvalidUsageException', Text='Failed to initialize OmmServerBaseImpl (Unable to bind RSSL server).' Error Id='-1' Internal sysError='98' Error Location='' Error Text='</opt/refinitiv/Real-Time-SDK/Cpp-C/Eta/Impl/Transport/ripcutils.c:1248> Error: 1002 Unable to bind socket. System errno: (98)
'. ', ErrorCode='-1'

"

Is there perhaps an additional cleanup step, that needs to be handled by IProvider app on Linux?
Let me know what you think?
Thanks,
-Zoya

@fogol
Copy link
Contributor

fogol commented Mar 14, 2022

@zfarberov Thank you for bringing this to our attention. We will investigate and get back to you with questions and provide a fix as needed in an upcoming release.

@vlevendel
Copy link
Contributor

Addressed with release 2.0.6.L1. Please reopen if there are additional issues.

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

3 participants