11 Replies Last post: May 18, 2012 4:27 PM by Jim Lahm  
Jim Lahm Newbie 9 posts since
Oct 21, 2010
Currently Being Moderated

Feb 4, 2012 12:13 AM

Cannot add Redmine server

When I try to add a Redmine server (Under Settings/Tasks/Servers) in PhpStorm 3.0.1, I get the error message: Error on line 1: White spaces are required between publicId and systemId. when I click on Test. I have entered the URL for Redmine, my username/password, project ID and API token, but I always get the error. Any help would be appreciated!

Dennis Ushakov JetBrains 410 posts since
Sep 10, 2008
Currently Being Moderated
Feb 13, 2012 8:31 PM in response to: Jim Lahm
Re: Cannot add Redmine server

What Redmine version are you using?

Boris Guéry Newbie 3 posts since
Feb 22, 2012
Currently Being Moderated
Feb 22, 2012 4:17 PM in response to: Dennis Ushakov
Re: Cannot add Redmine server

I'm also experiencing the same problem, however I'm using an old version of redmine (Redmine 1.0.1.stable (MySQL)), provided by debian 6.0 (squeeze).

Dennis Ushakov JetBrains 410 posts since
Sep 10, 2008
Currently Being Moderated
Feb 24, 2012 12:04 PM in response to: Boris Guéry
Re: Cannot add Redmine server

Could you please post screenshot with your settings?

Boris Guéry Newbie 3 posts since
Feb 22, 2012
Currently Being Moderated
Feb 24, 2012 2:04 PM in response to: Dennis Ushakov
Re: Cannot add Redmine server

Hi,

 

Here are my settings, both PhpStorm & Redmine

 

Screen Shot 2012-02-24 at 10.53.19 AM.pngScreen Shot 2012-02-24 at 10.53.36 AM.pngScreen Shot 2012-02-24 at 10.54.06 AM.pngScreen Shot 2012-02-24 at 10.55.04 AM.png

 

Hope that helps, feel free to ask more.

 

Thanks

Dennis Ushakov JetBrains 410 posts since
Sep 10, 2008
Currently Being Moderated
Feb 24, 2012 5:39 PM in response to: Boris Guéry
Re: Cannot add Redmine server

Do you have REST enabled in RedMine configuration?

https://img.skitch.com/20120224-dn47fckfrtqsuw8d4s877qkkis.png

Does it show this error if you enable HTTP authentication in PhpStorm?

Boris Guéry Newbie 3 posts since
Feb 22, 2012
Currently Being Moderated
Feb 24, 2012 8:45 PM in response to: Dennis Ushakov
Re: Cannot add Redmine server

Hi,

 

Here are the screenshot of Redmine configured with Resful API (sorry it's in french, but well, you got it)

 

I get the same error with "Use HTTP Authentication" enabled.

 

Screen Shot 2012-02-24 at 4.02.49 PM.pngScreen Shot 2012-02-24 at 5.41.23 PM.png

Ando Roots Newbie 1 posts since
May 17, 2012
Currently Being Moderated
May 17, 2012 11:29 AM in response to: Jim Lahm
Re: Cannot add Redmine server

Same problem here, PhpStorm 4, latest Redmine.

 

Googled around a bit, PhpStorm stacktrace said:

 

    Caused by:

    org.xml.sax.SAXParseException: White spaces are required between publicId and systemId.

... and google said:
    Typically this happens when your endpoint is returning an html error page.
Which gave me the idea that HTTP Basic Auth is interfering. True that, as soon as I removed .htaccess from Redmine, the connection succeeded. The error message should be a bit more informative on why the connection failed.

More Like This

  • Retrieving data ...