• Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • mantis-plugin
    • Used OS: Windows 7 Home Premium 32-Bit
      Jenkins 1.501
      Mantis 1.2.14

      I have my Mantis installation hosted at "http://localhost/mantis/". This is the path I have configured in global Jenkins settings. Nevertheless, in the project settings, no Mantis projects and categories can be found.

      When I hosted Mantis on a "real" domain, Jenkins was able to connect.

          [JENKINS-16840] Unable to connect to Mantis

          sogabe added a comment -

          any logs?

          sogabe added a comment - any logs?

          09.03.2013 09:23:24 hudson.plugins.mantis.MantisSite isConnect
          WARNUNG: Failed to connect http://127.0.0.1/mantis/ (cause: Access denied.).
          09.03.2013 09:23:23 hudson.plugins.mantis.soap.mantis120.MantisSessionImpl <init>
          INFO: Mantis version is 1.2.X

          Christian Kotzbauer added a comment - 09.03.2013 09:23:24 hudson.plugins.mantis.MantisSite isConnect WARNUNG: Failed to connect http://127.0.0.1/mantis/ (cause: Access denied.). 09.03.2013 09:23:23 hudson.plugins.mantis.soap.mantis120.MantisSessionImpl <init> INFO: Mantis version is 1.2.X

          sogabe added a comment -

          "(cause Access denied)" means that your mantis account is not allowed to connect it.
          Check your mantis account.

          sogabe added a comment - "(cause Access denied)" means that your mantis account is not allowed to connect it. Check your mantis account.

          Luis Cardozo added a comment -

          Why is not a defect? I have the same issue...but works correctly in a domain, I spend too many hours until I find this ticket.....

          Luis Cardozo added a comment - Why is not a defect? I have the same issue...but works correctly in a domain, I spend too many hours until I find this ticket.....

          I did some research and now I believe that it is only indirectly a problem of the plugin. The error already exists in the libraries such as Axis used by the plugin.

          Christian Kotzbauer added a comment - I did some research and now I believe that it is only indirectly a problem of the plugin. The error already exists in the libraries such as Axis used by the plugin.

          sogabe added a comment -

          What is the error you found?

          sogabe added a comment - What is the error you found?

          The similar problem for me.
          I'm trying to use server named "mantis" in local network.
          Can't retrieve projects and categories.

          log contains:
          ...
          Jan 29, 2014 3:15:08 PM hudson.plugins.mantis.soap.mantis120.MantisSessionImpl <init>
          INFO: Mantis version is 1.2.X
          Jan 29, 2014 3:15:09 PM hudson.plugins.mantis.MantisSite isConnect
          WARNING: Failed to connect http://mantis/ (cause: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.).
          ...

          Mantis 1.2.11

          Dmitry Zanozin added a comment - The similar problem for me. I'm trying to use server named "mantis" in local network. Can't retrieve projects and categories. log contains: ... Jan 29, 2014 3:15:08 PM hudson.plugins.mantis.soap.mantis120.MantisSessionImpl <init> INFO: Mantis version is 1.2.X Jan 29, 2014 3:15:09 PM hudson.plugins.mantis.MantisSite isConnect WARNING: Failed to connect http://mantis/ (cause: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.). ... Mantis 1.2.11

          Salam Elias added a comment -

          I have the exact same problem, I upgraded to a new Jenkins version but still the same thing can not access mantis

          Salam Elias added a comment - I have the exact same problem, I upgraded to a new Jenkins version but still the same thing can not access mantis

            sogabe sogabe
            christian_k Christian Kotzbauer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: