• We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Currently we do not support password protected proxies.
      Need to modify HttpClientHttpRetrievalService class to support such proxies.

      Attached the changed source of HttpClientHttpRetrievalService that is reported to be working.

            [CONFSERVER-9114] support for password protected proxies

            Anatoli added a comment -

            Christian,

            Since the functionality that this improvement request was created for works for you, I will resolve this issue. Can you please create a support request for the problem when confluence tries anonymous access before using authentication: https://support.atlassian.com/.

            Anatoli.

            Anatoli added a comment - Christian, Since the functionality that this improvement request was created for works for you, I will resolve this issue. Can you please create a support request for the problem when confluence tries anonymous access before using authentication: https://support.atlassian.com/ . Anatoli.

            Marking as implemented rather than resolved as there is no infrastructure to test this functionality.

            Roy Hartono [Atlassian] added a comment - Marking as implemented rather than resolved as there is no infrastructure to test this functionality.

            Anatoli,

            yes, that's the situation. As you can see, there are two request to the proxy at the same time, but one of them is anonymous. Although, rss feeds are shown correctly.

            Deleted Account (Inactive) added a comment - Anatoli, yes, that's the situation. As you can see, there are two request to the proxy at the same time, but one of them is anonymous. Although, rss feeds are shown correctly.

            Anatoli added a comment - - edited

            Christian,
            when accessing a proxy server it shouldn't try an anonymous access first. I don't have a proxy server handy and cannot test it but just from inspecting the code it should use the authentication straight away if it is configured.

            Let me just make sure that I understand your situation correctly.
            The rss feeds through a proxy with authentication work fine for you. However it looks like it tries to use an anonymous access before trying the authentication. Is it the situation?

            Anatoli added a comment - - edited Christian, when accessing a proxy server it shouldn't try an anonymous access first. I don't have a proxy server handy and cannot test it but just from inspecting the code it should use the authentication straight away if it is configured. Let me just make sure that I understand your situation correctly. The rss feeds through a proxy with authentication work fine for you. However it looks like it tries to use an anonymous access before trying the authentication. Is it the situation?

            Update:
            I just checked our proxy logs, and there are still anonymous AND user accesses to the proxy. Is Confluence always trying anonymous access at first? I have NOT defined any non-proxy hosts.

            Date Time IP Proxy Reply Proxy User URL
            25.06.2008 09:41:49 10.96.*** TCP_DENIED/407 - http://www.spiegel.de/schlagzeilen/rss/index.xml
            25.06.2008 09:41:49 10.96.*** TCP_MISS/200 some user http://www.spiegel.de/schlagzeilen/rss/index.xml
            25.06.2008 09:44:27 10.96.*** TCP_DENIED/407 - http://www.spiegel.de/schlagzeilen/rss/index.xml
            25.06.2008 09:44:27 10.96.*** TCP_MISS/200 some user http://www.spiegel.de/schlagzeilen/rss/index.xml

            Deleted Account (Inactive) added a comment - Update: I just checked our proxy logs, and there are still anonymous AND user accesses to the proxy. Is Confluence always trying anonymous access at first? I have NOT defined any non-proxy hosts. Date Time IP Proxy Reply Proxy User URL 25.06.2008 09:41:49 10.96.*** TCP_DENIED/407 - http://www.spiegel.de/schlagzeilen/rss/index.xml 25.06.2008 09:41:49 10.96.*** TCP_MISS/200 some user http://www.spiegel.de/schlagzeilen/rss/index.xml 25.06.2008 09:44:27 10.96.*** TCP_DENIED/407 - http://www.spiegel.de/schlagzeilen/rss/index.xml 25.06.2008 09:44:27 10.96.*** TCP_MISS/200 some user http://www.spiegel.de/schlagzeilen/rss/index.xml

            Anatoli,

            thanks for the info. The configuration was correct, but yet I had only tested the repository.

            I have read CONF-2326, and as it is mentioned there, RSS-feeds work with proxies, while the plugin repository won't. That's exact the behaviour I can reproduce on our test system. I think I will contact Adaptavist about this.

            Deleted Account (Inactive) added a comment - - edited Anatoli, thanks for the info. The configuration was correct, but yet I had only tested the repository. I have read CONF-2326 , and as it is mentioned there, RSS-feeds work with proxies, while the plugin repository won't. That's exact the behaviour I can reproduce on our test system. I think I will contact Adaptavist about this.

            Anatoli added a comment -

            Rick, Christian,

            The fix was merged with the code and released with all confluence versions from 2.7 onwards. However it was not properly tested. Can you please test if it works for you? You need to specify following system parameters:

            • http.proxyHost
            • http.proxyPort
            • http.proxyUser
            • http.proxyPassword

            Note that authentication for NTLM proxies is not supported: CONF-2326

            Anatoli added a comment - Rick, Christian, The fix was merged with the code and released with all confluence versions from 2.7 onwards. However it was not properly tested. Can you please test if it works for you? You need to specify following system parameters: http.proxyHost http.proxyPort http.proxyUser http.proxyPassword Note that authentication for NTLM proxies is not supported: CONF-2326

            Any plans to release the changed source with the next release of Confluence? Or how can I add this fix to an existing instance? We are using several plugins and plan to update them via the repository. Also our users are requesting to make RSS-Feeds available, so this feature would be really important to us.

            Deleted Account (Inactive) added a comment - Any plans to release the changed source with the next release of Confluence? Or how can I add this fix to an existing instance? We are using several plugins and plan to update them via the repository. Also our users are requesting to make RSS-Feeds available, so this feature would be really important to us.

            This is critical for companies that use authenticating proxies and wish to include content like RSS, use the plugin repo, etc. I don't know how it's a low with that in mind; if the code attached works, why not schedule this for release in 2.7.2/2.8?

            Rick Hadsall added a comment - This is critical for companies that use authenticating proxies and wish to include content like RSS, use the plugin repo, etc. I don't know how it's a low with that in mind; if the code attached works, why not schedule this for release in 2.7.2/2.8?

            has this been added to confluence 2.6, or one still has to add the fix separately ?

            headshift ltd added a comment - has this been added to confluence 2.6, or one still has to add the fix separately ?

              Unassigned Unassigned
              akazatchkov Anatoli
              Votes:
              8 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: