Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No connection to mantisbt established #49

Open
Gabbalo opened this issue Feb 24, 2016 · 2 comments
Open

No connection to mantisbt established #49

Gabbalo opened this issue Feb 24, 2016 · 2 comments

Comments

@Gabbalo
Copy link

Gabbalo commented Feb 24, 2016

Hi

I just installed mantisBT and mantis kanban on my server.
MantisBT works like a charm, but I'd like to get it work with the pretty interface of an kanboard.
I setup the config.js with the correct path to mantisconnect.php (DNS path and absolute path on the server), but I always get a field on the login screen where i should put in the path to mantisbt.
Even if i fill it out with the path to mantisbt (neither example.com/mantisbt nor example.com/mantisbt/api/soap/mantisconnect.php works) the only thing I recive are errors, for example

Error: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://example.com/mantisbt/?wsdl'.

I already tried the solution mentioned in another issue, to fill in the path directly in the index.js, but that wont work either.

I have no clue how to get this thing working. Can anyone help me out with this?

Greetz from Germany

@systemmind
Copy link

I have the same problem.
my observations:

  1. google-chrome - get error Error: Failed to execute 'send' on 'XMLHttpRequest': Failed to load when trying to login, server log does not show any incoming request
  2. firefox - I get just one message on login screen "Error: "
    Server log shows:
    GET /api/soap/mantisconnect.php?wsdl HTTP/1.0" 200 6195 "http://scrum.mysite.com/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0
    So you can see that request was processed successful.
    But if I will use wrong mantisconnect.php path, the server log show the 404 request:
    GET /api/soap/mantisconnect1.php?wsdl HTTP/1.0" 404 225 "http://scrum.kharkovdevices.com/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.90 Safari/537.36
  3. Safary loads login page slowly and when I try to login (push the Login button) I don't get any result - no error, no login, page does not changed at all and log server does not contain any incoming request. If I try login with wrong mantis server address the result is same - no changes on screen, no server log message.

mantis version 1.3.3

@alorenc
Copy link

alorenc commented Nov 27, 2016

Check it out:
(Instead of "mantiskanban.com/mantisbt" specify a URL of your page MantisBT)

  1. your browser to the path to the WSDL file, like this:
    http://mantiskanban.com/mantisbt/api/soap/mantisconnect.wsdl
    Should view or download the file wsdl.
    If not: wrong path or access is denied.
  1. file config.js set correctly
    Mantis.ConnectURL = "http://mantiskanban.com/mantisbt/api/soap/mantisconnect.php";
    Mantis.ServerHostname = "mantiskanban.com/mantisbt";

  2. form login url:
    http://mantiskanban.com/mantisbt/api/soap/mantisconnect.php

It has to work.
If it does not: set as above (get the data from the demo). Login and password: demo.
If that does not work, then you have a problem with the server configuration.

To not use the path when logging, set it rigidly and hide field. I can help, but only at the weekend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants