Confluence Throws ERROR: 400 in Browser When Manually Uploading Add-Ons

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

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

Problem

When uploading an Add-On through the Upload add-on link, the Uploading box does not update and the browser gets stuck waiting.

 

Using Ctrl+Shift+I and watching the network tab, the following URL appears with a 400 error

  • https://confluence.mycompany.com/confluence/rest/plugins/1.0/?token=7522426583166574927

And this error appears in the server response detail (this can be also seen in a HAR file).

<html><head><title>Error</title></head><body>
<h2>ERROR: 400</h2>
<br>
</body></html>

Nothing is shown in atlassian-confluence.log or catalina.out.

Diagnosis

Environment

  • Confluence is running behind a reverse proxy

Cause

  • The reverse proxy is not allowing the upload of the file.

Resolution

Set up a non-proxied <Connector /> in server.xml and use that for uploading the Add-On. You can review the documentation here

 

Last modified on Nov 2, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.