-
Notifications
You must be signed in to change notification settings - Fork 374
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
[Bug] Zscaler Analyzer v1.3 failing execution #1268
Comments
This can be closed. Figured out that it was a terminology issue between what Zscaler means when it says Base URL versus what the Analyzer config actually needs for the Base URL. Zscaler documentation states that part of the base URL is https://zsapi/(Zscaler Cloud Name)/api/v1. Since I saw in the script that /api/v1 is being appended, I shortened the base URL to https://zsapi.(Zscaler Cloud Name), in my case https://zsapi.zscalertwo.net and the Analyzer successfully worked. |
[Bug] Zscaler Analyzer v1.3 failing execution
Request Type
Bug
Work Environment
Production
Description
After configuration, the analyzer fails with the following errors:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/requests/models.py", line 974, in json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/json/init.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/worker/Zscaler/zscaler.py", line 111, in
ZscalerAnalyzer().run()
File "/worker/Zscaler/zscaler.py", line 102, in run
response = s.json()
^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/requests/models.py", line 978, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Steps to Reproduce
(keep this section only if the issue relates to a bug)
Complementary information
This looks to be the same issue reported in issue 1217 that has not been worked yet.
The text was updated successfully, but these errors were encountered: