-
Notifications
You must be signed in to change notification settings - Fork 13
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
Question Regarding Development with Simulation #42
Comments
Hi @biosero-simon , can you be more specific around what method you are calling and what is happening? What version of the software are you using?
|
Hi George, I'm trying to simulate a MinION using version 5.2.13 Using Windows 10, C#, .NET 6.
--> Status(StatusCode="Internal", Detail="Error starting gRPC call. HttpRequestException: The SSL connection could not be established, see inner exception. AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: PartialChain", DebugException="System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. |
End goal is to integrate into an existing project using .NET Framework 4.8, seeing that .NET Framework 4.8 does not support gRPC over HTTP/2, a second question would be whether this is even possible using .NET Framework |
Hi @biosero-simon ,
I cant really comment here - I am not a .NET expert. It looks like you are having issues connecting to minknow even before you get a simulated device setup. Where is minknow running? on the local device, or a remote device? When you dont use our python support library, you must handle the gRPC SSL setup yourself, this is your current issue. See https://github.com/nanoporetech/minknow_api/blob/master/python/minknow_api/__init__.py#L344 for how we handle this. Once you have a connection I can assist you setting up simulation, if required.
|
Minknow is running locally. Is it possible to set up an insecure connection with the server? |
It is not, the minknow service requires a secure connection - gRPC does natively support these. |
Hi George, I have a connection and am attempting to use a simulated device. The device however is reporting back no port on which I can connect the protocol channel to. Can you guide me on fixing this? |
Can you describe more what youve done to get a simulated device, and what specific responses from API's you are seeing please? Thanks,
|
Can you share your mk_manager log file, and a script youve run to trigger this? Are you providing time for the sequencer to initialise after adding the sequencer? Thanks,
|
Would be happy to hop on a call and share my screen to walk you through the code. The project consists of multiple different classes to manage the calls, similar to the python client within the repo. |
Can push meetings this morning |
From your log:
You can see the device is added, then 1s later ports are assigned, then its eventually stopped (I assume your code stops the device). How are you monitoring for device connections? do you watch a stream, or query the flow cell info once? What happens if you add the device, then poll flow_cell_positions() once a second for a minute? I suspect your code is not waiting long enough for the device to initialise - but cant say more without a clear reproducible segment of code. Thanks,
|
I've got no idea how to escape github and setup a call - I'm around in 1h to talk through your code - if we can work out a call!
|
Great, I can send you an invite if there is a good email I can use? |
My email is simoncoelho@biosero.com if it's easier for you to email me too |
I've emailed a zoom link |
Hello @0x55555555,
|
Hi,
I'm currently working on a driver for the device and do not have access to the physical machine.
Is there documentation around using a simulated device? I'm having issues with the method call.
Best,
Simon
The text was updated successfully, but these errors were encountered: