Hello,
I'm moving our current Confluence Server from Debian to a Windows Server 2016.
I've set up a Windows SQL and the Confluence already and all works fine but I want to do it secure.
How would it be possible with Confluence and SSL over an Reverse Proxy?
I've used this Documentation for the IIS Reverse Proxy Configuration:
Will be great if someone can help me who have already do it with an Windows Server and an IIS SSL Reverse Proxy
# Update: #
I have reinstalled the Confluence and reinstalled the IIS and I see that it doesn't work with the Reverse Proxy, I think there is a special configuration for Confluence with IIS
The knowledge base article you have found covers a standard IIS setup for terminating SSL at an IIS proxy server, so you've started at exactly the right place.
You also have exactly the right approach - get the server working so you're happy Conlfuence works. Then get it running behind a plain http proxy, then add SSL.
So the question is where you're stuck?
Hello Nic and thanks for your response.
it looks like the confluence works now but I’ve found out that now I can’t write any pages or blogs. (Problem with the Websocket) but I’ve installed the packages for IIS 8 or above too.
Are there any other settings I need for WebSocket?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, that sounds like you're having problems with Synchrony, rather than the core Confluence stuff.
If you turn off "collaborative editing" in the Admin section, can you write stuff with the old-style editor?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Okay it's very weird, it works on my iPhone but not on my computer?
And without collaborative editing all works fine but it would be great to use this feature to for us.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your iPhone doesn't try to use collaborative editing, so that's not a surprise.
If Confluence is working, but the collaborative editing fails, then there is definitely something wrong with your proxy. I'd be looking at the Synchrony and Confluence logs to see what they report as the errors, then the proxy logs to say what that says is happening.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But what can it be?
I'm using the rewrite part for the web.xml too:
<rewrite>
<rules>
<clear />
<rule name="Synchrony HTTP" 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" 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" stopProcessing="true">
<match url="(.*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Rewrite" url="http://localhost:8090/{R:1}" />
</rule>
</rules>
</rewrite>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm still thinking it's a misconfigured proxy. But you'll need to read the logs to get any further with working this out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
And the logs? What are they saying?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
atlassian-synchrony.log:
Running QueryDSL sytem...
{"synchrony":{"message":"synchrony.querydsl.jdbc [info] connection pool test-connection-on-checkin: true idle-connection-test-period: 100 max-idle-time-excess-connections: 100 max-idle-time: 3600","ns":"synchrony.querydsl.jdbc"}}
MLog clients using slf4j logging.
Initializing c3p0-0.9.5.1 [built 16-June-2015 00:06:36 -0700; debug? true; trace: 10]
Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, contextClassLoaderSource -> caller, dataSourceName -> 1hge0w29q1ttvznuvsi2n|80a4fc9, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> net.sourceforge.jtds.jdbc.Driver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> 1hge0w29q1ttvznuvsi2n|80a4fc9, idleConnectionTestPeriod -> 100, initialPoolSize -> 3, jdbcUrl -> jdbc:jtds:sqlserver://localhost:1433/Confluence, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 3600, maxIdleTimeExcessConnections -> 100, maxPoolSize -> 15, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, preferredTestQuery -> null, privilegeSpawnedThreads -> false, properties -> {user=******, password=******, uselobs=false, prop.uselobs=false}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> true, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, userOverrides -> {}, usesTraditionalReflectiveProxies -> false ]
{"synchrony":{"message":"synchrony.middleware.memoize-response [info] request for static resource","cache-key":["0.0.0.0","/synchrony/resources/js/vendor/sockjs.min.js",null],"ns":"synchrony.middleware.memoize-response"}}
{"synchrony":{"message":"synchrony.middleware.memoize-response [info] request for static resource","cache-key":["0.0.0.0","/synchrony/resources/js/synchrony.min.js",null],"ns":"synchrony.middleware.memoize-response"}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Nic,
I think I have found an important part. Can you say me where the web.config file is located? Because I have used everytime the web.xml file from /confluence/conf/web.xml..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Isn't it in /confluence/conf ? I've never needed to mess with that myself.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Nic,
the File was in the Directory from the IIS. I have found out that it worked with Microsoft Edge but not with Vivaldi or Google Chrome.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Has someone using Confluence 6.3.3 with an IIS as Reverse Proxy with HTTPS, because this is very strange with an Windows Setup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pierre,
I know this is an older thread, so you probably already have gotten this working, but since I just spent two days on and off figuring it out I wanted to post my answer here.
Our configuration is using a windows 2016 server. We installed IIS and Confluence 6.4.1 on the same machine. IIS was configured according to the Atlassian instructions to work as a reverse proxy with SSL. Everything went fine until we tried editing pages, where we saw the same error you reported. To fix it, we had to take the following steps:
After that, we had no further issues. I hope this helps!
Jason
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Jason Plumhoff
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.