You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After fully generating and returning a TSF an error is logged to the console. The TSF gets fully generated so the error is unexpected. This does not cause a Go error to be returned from the TechSupportFile function in pango.
Expected behavior
No errors logged if the file generates fine.
Current behavior
Error about an unsolicited response is logged to console.
Steps to reproduce
call GetTechSupportFile()
wait for it to generate and return
log happens
Screenshots
2022/06/29 16:48:58 x.x.x.x: Retrieving API key
2022/06/29 16:49:00 (op) show system info
2022/06/29 16:49:01 (op) getting plugin info
2022/06/29 16:49:02 (export) tech support file
2022/06/29 16:49:02 (export) tech support job 42: 1 percent complete
2022/06/29 16:49:07 (export) tech support job 42: 10 percent complete
2022/06/29 16:49:41 (export) tech support job 42: 40 percent complete
2022/06/29 16:50:54 Unsolicited response received on idle HTTP channel starting with "<response status = 'error' code = '400'><result><msg>Illegal value for parameter "category" [tech-support]. Should be one of : [application-block-page, application-pcap, captive-portal-text, certificate, configuration, credential-block-page, credential-coach-text, data-filter-block-page, device-state, dlp-pcap, file-block-continue-page, file-block-page, filter-pcap, global-protect-portal-custom-help-page, global-protect-portal-custom-home-page, global-protect-portal-custom-login-page, global-protect-portal-custom-welcome-page, mfa-login-page, safe-search-block-page, ssl-cert-status-page, ssl-optout-text, tech-support, threat-pcap, url-block-page, url-coach-text, virus-block-page].</msg></result></response>"; err=<nil>
Context
Noticed since the feature came out. Again, this does not stop the TSF from generating or cause a Go error to return.
Version used: 0.8.0
Operating System and version (desktop or mobile): Windows 10
Performed through a pango.Panorama connection to a VM-50 on PAN-OS 10.1.5-h1
The text was updated successfully, but these errors were encountered:
So, I have seen this before, but it was sporadic, the same situation. An error gets output to the console, but no error is actually returned from the API calls.
This might actually be a PAN-OS bug, since the API calls are actually of type tech-support.
Describe the bug
After fully generating and returning a TSF an error is logged to the console. The TSF gets fully generated so the error is unexpected. This does not cause a Go error to be returned from the TechSupportFile function in pango.
Expected behavior
No errors logged if the file generates fine.
Current behavior
Error about an unsolicited response is logged to console.
Steps to reproduce
Screenshots
Context
Noticed since the feature came out. Again, this does not stop the TSF from generating or cause a Go error to return.
The text was updated successfully, but these errors were encountered: