Skip to content

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

@SohanTirpude

Description

@SohanTirpude

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions