Hi All,
I want to access to my OT-2 via SSH. I followed every steps from the website support page but when I tried to upload the “public key” I got this error:
Invoke-WebRequest : 500 Internal Server Error Server got itself in trouble
At line:1 char:70
+ ... rtTo-Json | Invoke-WebRequest -Method Post -ContentType 'application/ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
Hi all,
I am controlling OT-2 via Python script through SSH. But I am experiencing a very long delay time. The OT-2 only moves about 3 minutes later after I run my code. In my code, I build SSH connection first, and upload protocols and a few json files to OT-2, and run the protocol finally.
Anyone has any idea why there is a long time control delay or has a better way to control the OT-2?
Is there a reason you chose the SSH over the native opentrons app?
Just interested, since I have always used the app to run my python scripts, but am willing to try different things, if they are better
Hey Eric, Our ssh features are not heavily supported. Code execution time can depend on how many steps the protocol is. The more processing the code has to do, the longer it takes to execute. The connection can also take some time to initialize (time until you see the opentrons logo in the terminal).
I would recommend the user switch to our HTTP API. This is fully supported since our Run Apps are user interfaces that use the HTTP API. It also has much more documentation than ssh.