Comments (4)
@bortok I am trying to run this test (python3 scripts/quickstart_snappi.py) and I am getting the error you mentioned (ConnectionRefusedError: [Errno 111] Connection refused), have you found a solution for this? .
from ixia-c.
@yennym3 most likely caused by change in default TCP port ixia-c-controller
listens on. It is now TCP/8443
from ixia-c.
@yennym3 most likely caused by change in default TCP port listens on. It is now
ixia-c-controller``TCP/8443
Modifying the port to 8443, the error persists:
2023-06-05 07:47:38 [snappi.snappi] [WARNING] Certificate verification is disabled
Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python3.8/site-packages/urllib3/connection.py", line 200, in _new_conn
sock = connection.create_connection(
File "/home/ubuntu/.local/lib/python3.8/site-packages/urllib3/util/connection.py", line 85, in create_connection
raise err
File "/home/ubuntu/.local/lib/python3.8/site-packages/urllib3/util/connection.py", line 73, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 790, in urlopen
response = self._make_request(
File "/home/ubuntu/.local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 491, in _make_request
raise new_e
File "/home/ubuntu/.local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 467, in _make_request
self._validate_conn(conn)
File "/home/ubuntu/.local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 1092, in _validate_conn
conn.connect()
File "/home/ubuntu/.local/lib/python3.8/site-packages/urllib3/connection.py", line 604, in connect
self.sock = sock = self._new_conn()
File "/home/ubuntu/.local/lib/python3.8/site-packages/urllib3/connection.py", line 215, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f0e92b1f520>: Failed to establish a new connection: [Errno 111] Connection refused
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python3.8/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
File "/home/ubuntu/.local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 844, in urlopen
retries = retries.increment(
File "/home/ubuntu/.local/lib/python3.8/site-packages/urllib3/util/retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='localhost', port=8443): Max retries exceeded with url: /config (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f0e92b1f520>: Failed to establish a new connection: [Errno 111] Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "quickstart_snappi.py", line 22, in
api.set_config(config)
File "/home/ubuntu/.local/lib/python3.8/site-packages/snappi/snappi.py", line 109337, in set_config
return self._transport.send_recv(
File "/home/ubuntu/.local/lib/python3.8/site-packages/snappi/snappi.py", line 181, in send_recv
response = self._session.request(
File "/home/ubuntu/.local/lib/python3.8/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "/home/ubuntu/.local/lib/python3.8/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "/home/ubuntu/.local/lib/python3.8/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='localhost', port=8443): Max retries exceeded with url: /config (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f0e92b1f520>: Failed to establish a new connection: [Errno 111] Connection refused'))
from ixia-c.
@yennym3 Would it be possible for you to join our Slack support channel so we could look into the issue? https://github.com/open-traffic-generator/ixia-c/blob/main/docs/support.md
from ixia-c.
Related Issues (20)
- All components in ixia-c need to have only three version components - Major.Minor.Patch HOT 1
- Certificate error when pulling ixia-c-controller HOT 1
- opening socket: Address family not supported by protocol
- Payload size field in all inner headers for tunneling protocols do not take into account inner FCS HOT 1
- Need support for fractional PPS value in flow duration
- TCP header length is not set correctly
- Fetching BGP metrics using snappi against ixia-c-controller intermittently fails with `500 Internal Server Error` HOT 1
- Release 0.0.1-3768 introduced unexpected changes in port stats for device-2-device raw TCP flows
- Enable version check across all ixia-c components HOT 1
- [urgent][security] Remove TLS 1.0 and TLS1.1 from ixia-c controller HOT 2
- controller runtime error on `/monitor/metrics` for `Bgpv4` when location doesn't have protocol engine HOT 1
- Generating 100Gbps to prove Dual 100Gbps COnnectx5 and E810 CQDA2 HOT 2
- OTG: RX stats missing in flow statistics even though port is recieving HOT 2
- Randomly "context deadline exceeded" error seen while pushing config to ixia HW with OTG
- gnmi get for out-pkts failing in OTG with ixia HW HOT 2
- TE-3.7: OTG pushconfig is failing HOT 2
- TE-11.3: OTG inner IP header checksum is incorrect and causign for drops in decap HOT 1
- TE-3.5 , TE-3.6 : failign to get ARP entry as protocol start missing after OTG config HOT 2
- Need support for IPoUDP stack and loopback config for GUEv1/UDP tunnel HOT 2
- Capability YAML for OTG models coverage
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 ixia-c.