All Apps and Add-ons

python errors

nexellent
Explorer

Hello

On our installation the collector-script dies with following error:


Traceback (most recent call last):
File "/opt/splunk/etc/apps/SplunkforCitrixNetScaler/bin/appflow_collector.py", line 38, in
ipfix_pkt = ipfix.IPFIX(data)
File "/opt/splunk/etc/apps/SplunkforCitrixNetScaler/bin/ipfix.py", line 52, in init
self.records.append(IPFIXRecord(rec_id, rec_length, self.timestamp, raw[pos+4:pos+rec_length]))
File "/opt/splunk/etc/apps/SplunkforCitrixNetScaler/bin/ipfix.py", line 18, in init
data,data_len = parse_fn(raw[pos:])
File "/opt/splunk/etc/apps/SplunkforCitrixNetScaler/bin/ipfixrec.py", line 704, in parse_template_264
data[SYSLOG_MESSAGE], slen = '"' + get_var_string(raw[data_len:]) + '"'
TypeError: cannot concatenate 'str' and 'tuple' objects

Am I the only one seeing this?
Any ideas how to fix it?

Cheers

Roman

0 Karma

piuagpPUOGHPUG0
New Member

Running version 4.8 and getting similar errors:
09-20-2013 13:41:59.916 -0600 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/SplunkforCitrixNetScaler/bin/appflow_collector.py" socket.error: [Errno 98] Address already in use
09-20-2013 13:41:59.916 -0600 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/SplunkforCitrixNetScaler/bin/appflow_collector.py" return getattr(self._sock,name)(*args)
09-20-2013 13:41:59.916 -0600 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/SplunkforCitrixNetScaler/bin/appflow_collector.py" File "/opt/splunk/lib/python2.7/socket.py", line 224, in meth
09-20-2013 13:41:59.916 -0600 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/SplunkforCitrixNetScaler/bin/appflow_collector.py" s.bind((HOST, PORT))
09-20-2013 13:41:59.916 -0600 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/SplunkforCitrixNetScaler/bin/appflow_collector.py" File "/opt/splunk/etc/apps/SplunkforCitrixNetScaler/bin/appflow_collector.py", line 32, in
09-20-2013 13:41:59.916 -0600 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/SplunkforCitrixNetScaler/bin/appflow_collector.py" Traceback (most recent call last):

0 Karma

athana
Splunk Employee
Splunk Employee

What version of the app are you using? There was a bug in the app v4.6 that caused this error. Please try to download and install the latest version of the app, and see if that will fix it.

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...