Apache Forwarding Requests To Crowd Reports Error Code 417

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

Apache server is forwarding application requests to Crowd. However the requests fail with the following error:

1 ERROR [xfire.transport.http.HttpChannel] Server returned error code = 417 for URI : https://your_domain/crowd/services/SecurityServer. Check server logs for details

Cause

The Apache server does not support the HTTP header Expect, which was added by the client application to the requests.

Resolution

Use mod_header to remove the Expect header from the requests:

1. Edit your Apache configuration file (usually the httpd.conf file) by adding the following line:

1 LoadModule headers_module modules/mod_headers.so

2. Add the following lines to the same configuration file:

1 2 3 <IfModule mod_headers.c> RequestHeader unset Expect early </IfModule>
Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.