Registration to SMT server fails with "login failed"
This document (000019791) is provided subject to the disclaimer at the end of this document.
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
If following command shows a result:
Remove for running bash:
LD_LIBRARY_PATHcontains reference to a custom ssl/curl library which causes zypper commands to fail, because those are not compatible.
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: firstname.lastname@example.org