Comments (8)
For regular Windows api server, the session ID is always 1 because it only support one session.
For windows connection manager, it supports up to 10 sessions like the Linux api server:
platform='connection_manager'
# Change 8021 to the session ID that you want to connect to.
session = testPlatform.Sessions.find(Id=8021)
from ixnetwork.
Hi Hubert,
This was reported by another engineer and as you can see in the output he provided above, he did use session id 1.. but the call seemed to hang. It is possible there is something we are missing from our side, but can you confirm (from your tests) using session id 1 works for Windows and it does give a handle to the session object?
from ixnetwork.
I connect to an existing Windows session quite often by the way how you showed it and I have not experienced any hanging. Does it hang if doing a testPlatform.Sessions.add() ?
from ixnetwork.
Yeah.. looks like even an add does hang. Is something not set correctly on our Windows api server?
JFYI, because of the proxy settings on our windows VM.. we couldn't open up the api browser either on the the windows client. Trying to fix that too. Hoping that's not the cause for this issue?
from ixnetwork.
We have other customers who configures proxy server in their Windows and that caused connection problems. As soon as the proxy server was disabled, connection works fine. Try disabling the proxy server temporary to see if that fixes the problem and go from there.
from ixnetwork.
Yeah tried that too for localhosts and now it just hangs.. so looks like there is some problem in accessing the api browser itself on the client.. Not sure what the problem is.
All of us seem to be seeing the same issue. Should we open a support ticket to get this resolved?
from ixnetwork.
from ixnetwork.
This needs a change in how we start the IxNetwork client in Windows. Theresa from support group helped us on this. Closing this issue with resolution below.
From: Theresa Kong [email protected]
Date: Tuesday, April 9, 2019 at 3:03 PM
To: Sameer Patel [email protected], "Varghese Muthalaly (vamuthal)" [email protected], Hubert Gee [email protected]
Subject: RE: cannot connect to session on windows IxNetwork API server
I started my ixNet API Server with -restInsecure mode. In this mode, http is used instead of https.
And yes, I can connect.
If you started ixNet API Server without -restInsecure, it uses https. There are few things that can go wrong in this mode.
If you check the Windows Events log, there might be errors that may indicate the issue.
-
Error 11001 is permission issue. Make sure you have
read/write permission in "c:/program data/microsoft/crypto/rsa/machinekeys" folder for the uid that started ixNet API Server -
Error 40 is the tls 1.2 issue.
need to add a regkey below and restart the PC
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server] "Enabled"=dword:00000000
Note: there was SSL key but not TLS 1.2 key
Restart of the PC is required after adding the regkey
Or you can restart your ixNet API Server with -resetInsecure option. This can be done in the Property window of the ixNet API Sever shortcut.
from ixnetwork.
Related Issues (20)
- new SDK does not support 8.51 HOT 1
- Why isDataCaptureRunning is false? HOT 5
- How to read vport object HOT 3
- Any timeout for one session HOT 3
- RestPy: CsvSnapshot.update doesn't work HOT 3
- What's sdmPort used for? HOT 1
- method startQuickTest in IxNetRestApiQuickTest.py not work HOT 1
- Bug in function getTrafficItemPktHeaderStackObj HOT 1
- Loadconfig.py not able to find the rfcquicktest object/href HOT 6
- TakeSnapshotPy method used by concurrent sessions can overwrite results
- Cannot start single traffic item HOT 1
- StatViewAssistant - Statistics view does not exist
- ixnetwork-restpy 1.1.5 with IxNetwork 9.20 error with InstanceId is not a string for field stack operation HOT 3
- loadQuickTest.py doesn't download all CSV files properly
- Packet capture does not capture IGMP related data HOT 1
- Incorrect snapshot file at debugging session HOT 1
- Ethernet destination field cannot be updated HOT 2
- prefixAddrStep not available to configNetworkGroup() in IxNetRestApiProtocol.py
- Create a QuickTest without configuration file (ixncfg or json)
- Route range endpoint not selected in traffic destinations HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ixnetwork.