Showing results for 
Search instead for 
Do you mean 
Super Advisor
SWA error

Admins,


I am implementing SWA in hpux 11.31

SWA version is  C.02.90 and all the pre-requisites met properly.
Getting below error when running swa report
.
ERROR:   Failed to access authorization service.

 

#swa report -x http_proxy="http://proxy.tech.com:8080" -x hp_id="user" -x hp_pw="pwd" -x verbosity=D

This command below error

DEBUG:   Using token url: https://ftp.itrc.hp.com/wpsl/bin/validateEntitlement
DEBUG:   proxy instantiated.
DEBUG:   URL request failed: java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required"
         Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required"
DEBUG:   <<Exiting method TokenGetter.makeUrlRequest()
ERROR:   Failed to access authorization service.
         - SMDExcep was thrown from the following location:
           file: jni/SSWAProxy.cc
           method: SSWAProxy::callGetToken
           line: 610.


/etc/opt/swa/swa.conf file :


user_dir = /var/opt/swa/
analyzers = QPK CRIT PCW SEC
catalog_max_age = 0
inventory_max_age = 0
html_report = ~/.swa/report/swa_report.html
allow_existing_depot = false
ftp_proxy = http://proxy.tech.com:8080
hp_id = user_id
hp_pw = passwd
https_proxy = http://proxy.tech.com:8080
http_proxy = http://proxy.tech.com:8080
logfile = /var/opt/swa/swa.log
log_verbosity = 4
~

As i understand that proxy authentication failed.Please let me know how to set proxy info in conf file.

 

Thanks

 

himacs

Who Me Too'd this topic