You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2020/10/05 20:11:45 UTC

[GitHub] [trafficcontrol] ocket8888 opened a new issue #5102: toaccess scripts fail silently on authentication errors

ocket8888 opened a new issue #5102:
URL: https://github.com/apache/trafficcontrol/issues/5102


   ## I'm submitting a ...
   -  bug report
   
   ## Traffic Control components affected ...
   -  Traffic Control Client (Python)
   
   ## Current behavior:
   Scripts provided by the `toaccess` package fail silently when an error occurs during authentication - but not necessarily just the ones that come from authentication problems. For example, if the TO server uses self-signed certificates and `-k`/`--insecure` is not given on the command line, the authentication step will fail and the script will exit silently with an error.
   
   ## Expected behavior:
   When an error occurs, the script should tell you why.
   
   ## Minimal reproduction of the problem with instructions:
   ```bash
   # Authentication error
   toget -fkp --to-password "wrong" ping
   
   # Certificate error (if the server uses self-signed/untrusted certs)
   toget -fp ping
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficcontrol] zrhoffman closed issue #5102: toaccess scripts fail silently on authentication errors

Posted by GitBox <gi...@apache.org>.
zrhoffman closed issue #5102:
URL: https://github.com/apache/trafficcontrol/issues/5102


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org