Infrastructure
  1. Infrastructure
  2. INFRA-1607

the snippet macros are no longer able to view subversion files via http:// so that all the documentation in loads of wikis is broken

    Details

      Description

      Here's an example page...

      http://cwiki.apache.org/confluence/display/CAMEL/Content+Based+Router

      see the text 'An error occurred: Connection refused. The system administrator has been notified.'

      Basically the snippet macro in Confluence extracts part of a file via HTTP and embeds it inside a wiki page - which is great for showing snippets of code from subversion (thats unit tested so works) in your documentation.

      Since the svn server move, confluence no longer can view any snippets in any confluence wikis. Known confluence spaces with snippet errors are

      * ActiveMQ
      * Camel
      * CXF
      * ServiceMix

      who are all fairly heavy snippet macro users - though I suspect this affects all confluence spaces (or at least those who's uses are aware of the snippet macro :)

      Am not sure what the cause is - maybe the confluence box just can't see svn.apache.org over http or something?

      BTW the snippet cache is setup at 1 minute currently; you can clear the snippet cache via the admin -> configure plugins -> snippet macro screens if you need to

        Activity

        Hide
        Gavin added a comment -
        I'm happy this is stable again now.
        Show
        Gavin added a comment - I'm happy this is stable again now.
        Hide
        Gavin added a comment -
        Yes, I had another little play on Saturday after it played up again with the different error.
        I wanted to keep an eye on it to see what was happening and to make sure it did not re-occur before marking this issue as done.
        I'm glad it hasn't fell over since, but theres no harm in leaving this open until the end of the week when I'll be happy to close it if no more recurrences.
        Show
        Gavin added a comment - Yes, I had another little play on Saturday after it played up again with the different error. I wanted to keep an eye on it to see what was happening and to make sure it did not re-occur before marking this issue as done. I'm glad it hasn't fell over since, but theres no harm in leaving this open until the end of the week when I'll be happy to close it if no more recurrences.
        Hide
        james strachan added a comment -
        Since my comment on the 9th I've not seen it fail since; it seems to be working OK for us.
        Show
        james strachan added a comment - Since my comment on the 9th I've not seen it fail since; it seems to be working OK for us.
        Hide
        Stefano Bagnara added a comment -
        This is working again, ATM.

        is this the result of an action from someone from INFRA team or something random/unknown is happening?
        Show
        Stefano Bagnara added a comment - This is working again, ATM. is this the result of an action from someone from INFRA team or something random/unknown is happening?
        Hide
        Stefano Bagnara added a comment -
        Unfortunately a new error appeared:
        "An error occurred: null. The system administrator has been notified."

        It is different from the previous one, because previously it was a connection error to svn.apache.org.

        Now it is a "null" (NPE?) error and I tested that I have this error also for snippet from people.apache.org and not only svn.apache.org.
        Show
        Stefano Bagnara added a comment - Unfortunately a new error appeared: "An error occurred: null. The system administrator has been notified." It is different from the previous one, because previously it was a connection error to svn.apache.org. Now it is a "null" (NPE?) error and I tested that I have this error also for snippet from people.apache.org and not only svn.apache.org.
        Hide
        Felix Meschberger added a comment -
        Another thanks from be to Gav and Stefano (on behalf of the Sling Team)
        Show
        Felix Meschberger added a comment - Another thanks from be to Gav and Stefano (on behalf of the Sling Team)
        Hide
        james strachan added a comment -
        Awesome stuff Stefano! Its working great now - HUGE thanks!
        Show
        james strachan added a comment - Awesome stuff Stefano! Its working great now - HUGE thanks!
        Hide
        Stefano Bagnara added a comment -
        _Gav_ looked into it: there was an outdated host entry on brutus and after fixing this it didn't work yet.
        Probably the confluence JVM had it in the dns resolver cache. After a jvm restart it seems to work again!
        Thanx _Gav_!
        Show
        Stefano Bagnara added a comment - _Gav_ looked into it: there was an outdated host entry on brutus and after fixing this it didn't work yet. Probably the confluence JVM had it in the dns resolver cache. After a jvm restart it seems to work again! Thanx _Gav_!
        Hide
        Felix Meschberger added a comment -
        Same applies for the SLING space, where we start experimenting with the snippet plugin.
        Show
        Felix Meschberger added a comment - Same applies for the SLING space, where we start experimenting with the snippet plugin.
        Hide
        james strachan added a comment -
        made critical as all the docs for loads of projects are borked now
        Show
        james strachan added a comment - made critical as all the docs for loads of projects are borked now

          People

          • Assignee:
            Unassigned
            Reporter:
            james strachan
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development