SMT connection problem with authenticated proxy configured in global settings

This document (7009619) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 11
Subscription Management Tool (SMT) for SUSE Linux Enterprise 11
SUSE Linux Enterprise Server 11 Service Pack 3
Subscription Management Tool (SMT) for SUSE Linux Enterprise 11 SP3

Situation

An SMT server is configured to use a proxy with user authentication. The proxy is only configured in the global settings (via 'yast2 proxy'), but not in /etc/smt.conf. When performing smt-ncc-sync/smt-mirror or any other smt-command, SMT connects to the proxy, but the authentication against the proxy does not work.

With SLES11SP3 and SMT11SP3 the following error might be encountered:

 Downloading Product information
Failed to POST 'https://secure-www.novell.com/center/regsvc/?command=regdata&lang=en-US&version=1.0': 500 CURL ERROR(56) Failure when receiving data from the peer
Error while fetching Products data.
Downloading Target information
Failed to POST 'https://secure-www.novell.com/center/regsvc/?command=regdata&lang=en-US&version=1.0': 500 CURL ERROR(56) Failure when receiving data from the peer
Error while fetching Targets data.
Downloading repository information
Failed to POST 'https://secure-www.novell.com/center/regsvc/?command=regdata&lang=en-US&version=1.0': 500 CURL ERROR(56) Failure when receiving data from the peer
Error while fetching repository data.
Downloading Product/Repository relations
Failed to POST 'https://secure-www.novell.com/center/regsvc/?command=regdata&lang=en-US&version=1.0': 500 CURL ERROR(56) Failure when receiving data from the peer
Error while fetching ProductCatalogs data.
Downloading Subscription information
Invalid response:500 CURL ERROR(56) Failure when receiving data from the peer
List subscriptions request failed.
Error while fetching Subscription data.
Downloading Registration information
Invalid response:500 CURL ERROR(56) Failure when receiving data from the peer
List registrations request failed.
Error while fetching Registration data.
Flagged repositories which can be mirrored

Resolution

Either add the proxy configuration to smt.conf, too. An other alternative would be to copy the file /root/.curlrc to the home directory of the smt user by using the following command:

cp /root/.curlrc /var/lib/smt/
chown smt:www /var/lib/smt/.curlrc

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:7009619
  • Creation Date: 24-Oct-2011
  • Modified Date:03-Mar-2020
    • Subscription Management Tool
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center