Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Has anyone gotten this IIS proxy to work with Confluence Collaborative Editing (Synchrony)?

adamnoffie December 28, 2016

This question is in reference to Atlassian Documentation: Proxying Atlassian server applications with Microsoft Internet Information Services (IIS)

We cannot get the editor to load - it just sits there spinning for awhile and then keeps saying it's taking longer than normal for the editor to load - if we leave collaborative editing turned on after upgrading to Confluence 6.0 (6.0.3 we are on).  We have an IIS advanced routing setup almost identical to the referenced article on our server where we host Confluence (and JIRA).

I believe I have tried everything referenced in these articles as well:

I even checked all this:

S8DFnSv[1].png

Has anyone gotten this working in an IIS reverse proxy environment using ARR 3.0?  Would greatly appreciate any insight, thanks!

4 answers

1 vote
Justin Greene
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 1, 2017

There is an issue with IIS 8 where it doesn't handle the Sec-WebSockets-Extension permessage-deflate header.  To resolve this modify your confluence/bin/setenv.bat to contain the line

set CATALINA_OPTS=-Dorg.apache.tomcat.websocket.DISABLE_BUILTIN_EXTENSIONS=true %CATALINA_OPTS%

after the other catlina options have been set.

leer-anofsinger February 17, 2017

I think I'm going to just wait for Confluence 6.1 at this point... supposed to make running collaborative editing behind a reverse proxy not require all this messing around.

adamnoffie April 20, 2017

Well, I upgraded to Confluence 6.1, which is supposed to make it "just work" but after fiddling around with it for 4+ hours I had to give up and turn off collaborative editing again.  *sigh*  I even tried rolling back some of what I previously did as the release/upgrade notes suggested.

1 vote
Phil Jackson January 9, 2017

Try adding this to your web.config file

 

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<clear />
<rule name="Synchrony HTTP" enabled="true" stopProcessing="true">
<match url="synchrony/(.*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Rewrite" url="http://localhost:8091/synchrony/{R:1}" />
</rule>
<rule name="Synchrony Web Sockets Reverse Proxy" enabled="true" stopProcessing="true">
<match url="ws://(.*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Rewrite" url="ws://localhost:8091/{R:1}" />
</rule>
<rule name="Confluence Reverse Proxy" enabled="true" stopProcessing="true">
<match url="(.*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Rewrite" url="http://localhost:8090/{R:1}" />
</rule>
</rules>
</rewrite>
<security>
<requestFiltering allowDoubleEscaping="true" />
</security>
</system.webServer>
</configuration>

adamnoffie April 20, 2017

Thanks for the suggestion, already had that in there.

Blaise Barstow
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 30, 2017

Thanks Phil, adding the rewrite rules for synchrony and ws:// worked.

0 votes
Pierre August 23, 2017

Hello Adam, do you have fixed the Collaboratice Editing?

adamnoffie August 23, 2017

No - granted we are still on 6.1 and now looks like 6.3 is out, but I have seen no mention in the release notes of making this any easier to work with.

Pierre August 23, 2017

This sounds bad. Do you know where the web.config file is located?

adamnoffie August 24, 2017

Yes.  It is in the root directory of your IIS website or virtual directory.  This is for the IIS proxy itself, not for Confluence.  Confluence does not have a web.config, it is a Java Tomcat app (I think) so it has other configuration files.

0 votes
Phil Jackson February 1, 2017

I am still having issues with my iis proxy and collaborative mode and it not working properly. I get errors when users try to discard all changes, and now when users are editing sometimes, they can't save any updates, it gives an error that confluence can't access the server. If I test through localhost, everything works, but something on the web facing end is not working, just not sure what it is.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events