mgr-sync refresh fails: 500 internal server error

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

Environment

SUSE Manager 3.2
SUSE Manager 4.0

Situation

While running mgr-sync refresh on SUMA server, it fails with below error message:

Refreshing Channel families [DONE]
Refreshing SUSE products [DONE]
Refreshing SUSE repositories [FAIL]
Error: <ProtocolError for server.suse.com/rpc/api: 500 Internal Server Error>

Resolution

There are two options on how to resolve this problem:

1. Remove unnecessary organization credentials in webUI Admin ->  Setup Wizard -> Organization Credentials
or
2. Increase timeout in apache2 configuration:

/etc/apache2/conf.d/zz-spacewalk-www.conf

ProxyTimeout 600

Cause

The error is caused by a timeout when fetching and inserting repository data. Timeout is by default set to 5 minutes. Usually timeout is reached when there are too many organization credentials added to SUSE Manager and these couldn't finish the refresh in 5 minutes. You can see the timeout expired in /var/log/apache2/error_log

[Tue Jul 23 11:51:12.911018 2019] [proxy_ajp:error] [pid 29471] (70007)The timeout specified has expired: AH01030: ajp_ilink_receive() can't receive header
[Tue Jul 23 11:51:12.911099 2019] [proxy_ajp:error] [pid 29471] [client xxx.xxx.xxx.xxx:57764] AH00992: ajp_read_header: ajp_ilink_receive failed
[Tue Jul 23 11:51:12.911121 2019] [proxy_ajp:error] [pid 29471] (70007)The timeout specified has expired: [client xxx.xxx.xxx.xxx:57764] AH00893: dialog to [::1]:8009 (localhost) failed

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:7024067
  • Creation Date: 16-Aug-2019
  • Modified Date:03-Mar-2020
    • SUSE Manager

< 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