cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

XIQ-AP Import workflow failure

XIQ-AP Import workflow failure

Jan_Reister
Contributor

We are using the XIQ-AP Import workflow since months and it has worked well for us.

https://github.com/extremenetworks/ExtremeScripting/blob/master/XMC_XIQ-SE/oneview_workflows/README....

Staring Feb 23rd (Sunday) the script fails after having pulled 500 APs from XIQ with a RuntimeError: maximum recursion limit exceeded. We tried different batch sizes and it fails after reaching 500 APs

You see the 6th batch of 100 APs failing with some charset error and thet the traceback.

2025-02-24 12:26:43,378 DEBUG [connectionpool.py:823] Starting new HTTPS connection (1): api.extremecloudiq.com
2025-02-24 12:26:43,575 DEBUG [connectionpool.py:394] https://api.extremecloudiq.com:443 "GET /devices?page=6&limit=100 HTTP/1.1" 200 None
2025-02-24 12:26:44,759 DEBUG [eucjpprober.py:61] EUC-JP Japanese prober hit error at byte 7219
2025-02-24 12:26:45,005 DEBUG [mbcharsetprober.py:65] EUC-KR Korean prober hit error at byte 7219
2025-02-24 12:26:45,460 DEBUG [mbcharsetprober.py:65] EUC-TW Taiwan prober hit error at byte 7218
Traceback (most recent call last):
File "<string>", line 135, in <module>
File "<string>", line 92, in main
File "<string>", line 69, in call
File "/usr/local/Extreme_Networks/NetSight/jython/Lib/site-packages/requests/models.py", line 852, in text
encoding = self.apparent_encoding
File "/usr/local/Extreme_Networks/NetSight/jython/Lib/site-packages/requests/models.py", line 722, in apparent_encoding
return chardet.detect(self.content)['encoding']
File "/usr/local/Extreme_Networks/NetSight/jython/Lib/site-packages/chardet/__init__.py", line 38, in detect
detector.feed(byte_str)
File "/usr/local/Extreme_Networks/NetSight/jython/Lib/site-packages/chardet/universaldetector.py", line 211, in feed
if prober.feed(byte_str) == ProbingState.FOUND_IT:
File "/usr/local/Extreme_Networks/NetSight/jython/Lib/site-packages/chardet/charsetgroupprober.py", line 71, in feed
state = prober.feed(byte_str)
File "/usr/local/Extreme_Networks/NetSight/jython/Lib/site-packages/chardet/hebrewprober.py", line 227, in feed
byte_str = self.filter_high_byte_only(byte_str)
File "/usr/local/Extreme_Networks/NetSight/jython/Lib/site-packages/chardet/charsetprober.py", line 63, in filter_high_byte_only
buf = re.sub(b'([\x00-\x7F])+', b' ', buf)
File "/usr/local/Extreme_Networks/NetSight/wildfly/standalone/deployments/Monitor.war/WEB-INF/lib/jython-dev.jar/Lib/re.py", line 151, in sub
RuntimeError: maximum recursion limit exceeded

 

What can be the cause?

1 REPLY 1

Jan_Reister
Contributor

Seems an XIQ Cloud issue. Modified the script to fetch APs in groups of 10 instead of 100, and works.

GTM-P2G8KFN