Hello,
we have a problem while executing our unit tests on our jenkins server.
The unit tests are run via the Nunit Console Runner.
In one specific Test project the unit test aborts with a “SocketException”.
The output looks like this:
Test Files D:\dev\jenkins\workspace\c\build\test....\source\Exec64_Release\Test.dll
Writing out DLLs to C:\Users\user\AppData\Local\SciChart\Dependencies\v8.1.0.27856\x64
System.Net.Sockets.SocketException : No connection could be made because the target machine actively refused it 127.0.0.1:65018
So because there is the line with “Writing out Dlls ….” which contains SciChart and the next line is the SocketException I just wanted to ask if there is something in SciChart which tries to connect to the localhost, I don’t know e.g. the licensing?
I don’t want to blame SciChart, I just want to ask if it could be possible. Because it is not easy to debug this scenario reliantly.
Best Regards,
Nick
- Nick Müller asked 2 months ago
-
Hi Nick, Thanks for your inquiry. Please accept my apologies for the late response. I’m forwarding this to our team for further discussion and we’ll get back to you as soon as we have an update. Kind regards, Lex, SciChart Technical Support Engineer
- You must login to post comments
Hi Nick,
Hope you are doing well.
We discussed the reported issue.
Based on the provided output we can assume that SciChart unpacks native dependencies and tries to copy them to the disk. However, the container should have access to the destination folder.
Using the NativeDllLoader.DependenciesPathRoot property you can specify the path to native dependencies.
Please also note that unpacking of native dependencies occurs only when you access or create SciChart objects in code.
If you do not use SciChart in code (e.g. you only have it referenced) this should not happen.
Kind regards,
Lex
- Lex answered 1 month ago
- You must login to post comments
Please login first to submit.