I am Getting this error when i am running the bot in vm machine but in my local its working fine.I have placed the profile path in project package itself and i am using relative path.(\xyz\abc.WS)
Error Code: There was an error connecting to terminal. Error code: ErrorCreatingTerminalProxy
Hi @praneethpeyyeti
Can you share some of your code?
Sounds like an connection to Orchestrator issue due to proxy.
Did you set up your network and access as on your local machine?
this is the connection string i am using for terminal session activity
“{‘AttachExisting’:false,‘ConnectionType’:0,‘EhllBasicMode’:false,‘EhllDll’:null,‘EhllEnhanced’:true,‘EhllFunction’:‘hllapi’,‘EhllSession’:‘A’,‘Host’:null,‘Mode’:1,‘Port’:23,‘Profile’:'”+inProfilePath+“',‘ProviderType’:1,‘ShowTerminal’:true,‘TerminalType’:0}”
inProfilePath value is “C:\PCOMM\AB3270.WS” in my local i am using same configuration its working fine but when i am deploying in orchestrator and running in server machine(VDI) I am facing error like error connecting to terminal. Error code: ErrorCreatingTerminalProxy.
@praneethpeyyeti , IBM PComm interface is quite sensitive to the profile location and can react negatively if it’s not stored in the default profile location. Which is to say it must be in something like: ‘C:\Users\Cornel\AppData\Roaming\IBM\Personal Communications’
I see you moved profile file to project’s folder. This might be the cause for it not working, try to keep it in IBM PComm’s profiles folder (see the likely path above)
In My Local Machine it works fine but if deploy in orchestrator and running in server machine(VM) it says There was an error connecting to terminal. Error code: ErrorCreatingTerminalProxy Terminal Session.
I have used full path as : C:\Users\Name\AppData\Roaming\IBM\Personal Communications\xyz.WS in profile parameter.
I’d start checking permissions on that machine (antiviruses, policies, etc.).
The mechanism is that UiPath processes attach to IBM PComm’s COM interface (in the manner you connect right now).
So something is preventing that and UiPath processes might need to be white-listed in whatever security apps/policies are in effect.
I would take one of those machines, put an UiPath Studio on it, and try to connect with “Run as Administrator”. If this works, it means the user or processes are restricted in some way.