Command "zypper ref" returns a HTTP 500 error in SUSE Manager client

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


SUSE Manager 3
SUSE Manager 2.1


Running "zypper ref" on a client connected to SUSE Manager or SUSE Manager Proxy returns the following error:

zypper refresh
Refreshing service 'spacewalk'.
Download (curl) error for '':
Error code: HTTP response: 500
Error message: The requested URL returned error: 500 Internal Server Error

Abort, retry, ignore? [a/r/i/...? shows all options] (a): a

Also traceback messages show the following:

While running 'media.1': caught <class 'spacewalk.server.apacheRequest.UnknownXML'> : Invalid request received (function 'media.1' invalid; path_info is /GET-REQ/sles12-sp2-updates-x86_64/media.1/media).
UnknownXML: Invalid request received (function 'media.1' invalid; path_info is /GET-REQ/sle-manager-tools12-pool-x86_64-sp2/media.1/media)


The following mass PTF can be applied until the update is released with the next maintenance cycle, it is applicable to SUSE Manager running on any version of SUSE Linux Enterprise Server / architecture:

For SUSE Manager 3.0:

For SUSE Manager 2.1:


It is caused by a regression in libzypp.


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:7018845
  • Creation Date: 28-Apr-2017
  • Modified Date:03-Mar-2020
    • SUSE Manager

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

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