Registration to SMT server fails with "login failed"
This document (000019791) is provided subject to the disclaimer at the end of this document.
Environment
Situation
Register a client to SMT reports following error:
command 'zypper --non-interactive refs SMT-<url>' failed
Error: zypper returned () with 'terminate called after throwing an instance of 'zypp::media::MediaUnauthorizedException' what(): Login failed.' SUSEConnect error: TypeError: no implicit conversion from nil to integer curl: (22) The requested URL returned error: 403
Resolution
LD_LIBRARY_PATH
.If following command shows a result:
echo $LD_LIBRARY_PATH
Remove for running bash:
unset LD_LIBRARY_PATH
Cause
LD_LIBRARY_PATH
contains reference to a custom ssl/curl library which causes zypper commands to fail, because those are not compatible.
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000019791
- Creation Date: 20-Nov-2020
- Modified Date:03-Dec-2020
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com