Skip to content
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

Getting warning "Unable to connect to http://10.10.10.10:11009" #74

Open
SohanTirpude opened this issue Jun 8, 2023 · 0 comments
Open

Comments

@SohanTirpude
Copy link

SohanTirpude commented Jun 8, 2023

Hello all,

Using the below script, I am getting warning, "Unable to connect to http://10.10.10.10:11009"

>>> from ixnetwork_restpy import SessionAssistant
>>> apiServerIp = '10.10.10.10'
>>> session = SessionAssistant(IpAddress=apiServerIp, SessionName=None, SessionId=None, ApiKey=None, ClearConfig=True, LogLevel="warning")
2023-06-13 09:56:57 [ixnetwork_restpy.connection] [WARNING] Verification of certificates is disabled
Verification of certificates is disabled
2023-06-13 09:56:57 [ixnetwork_restpy.connection] [WARNING] Unable to connect to http://10.10.10.10:11009.
>>> 
>>> ixnetwork = session.Ixnetwork
>>> ixnetwork 
<ixnetwork_restpy.testplatform.sessions.ixnetwork.ixnetwork.Ixnetwork object at 0x7fb01465b880>
>>> ixnetwork.parent
Sessions[0]: /api/v1/sessions/1
		ApplicationType: quicktest
		Id: 1
		Name: 
		State: ACTIVE
		UserId: 00000000-0000-0000-0000-000000000000
		UserName: 

Also, I am seeing the session object is getting generated, but I am not sure whether it is valid or not considering the values for Name, UserId and UserName keys in session are either empty/junk.

These are my configurations:

ixia-tcl: 22.5
IxNetwork: 9.0.1915.16
ixnetwork-restpy: 1.1.9

Kindly let me know if you need any more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant