Current situation does an error difficult to decrypt because the plugin doesn't check for the response status code:
{noformat} 2019-06-12 11:14:33.668+0000 [id=86689] SEVERE o.j.c.p.j.client.RestApiClient#getRemoteItems: Failed to list job from remote <url> org.xml.sax.SAXParseException; lineNumber: 10; columnNumber: 3; The element type "hr" must be terminated by the matching end-tag "</hr>". at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121) at org.jenkins.ci.plugins.jobimport.client.RestApiClient.getRemoteItems(RestApiClient.java:34) at org.jenkins.ci.plugins.jobimport.JobImportAction.doQueryInternal(JobImportAction.java:278) at org.jenkins.ci.plugins.jobimport.JobImportAction.doQuery(JobImportAction.java:174){noformat}
Proposed fix checking for this status code: {noformat} Jun 12 13, 2019 5 12:3641:0452 PM org.jenkins.ci.plugins.jobimport.client.RestApiClient getRemoteItems SEVERE: Failed to list job from remote <url>. Response status code received 401. Content: <html> <head> <meta http-equiv="Content-Type" content="text/SEVEREhtml;charset=utf-8"/> <title>Error 401 Invalid password/token for user: Failed to list job from remote pierre <url/title> </orghead> <body><h2>HTTP ERROR 401</h2> <p>Problem accessing /api/xml.acegisecurity.AccessDeniedException Reason: Remote Jenkins denied access. Please check the provided credentials at org.jenkins.ci.plugins.jobimport.utils.URLUtils.fetchUrl(URLUtils.java <pre> Invalid password/token for user:88) at org.jenkins.ci.plugins.jobimport.client.RestApiClient.getRemoteItems(RestApiClient.java pierre</pre></p><hr><a href="http:35) at org//eclipse.jenkins.ci.plugins.jobimport.JobImportAction.doQueryInternal(JobImportAction.java:278) at org/jetty">Powered by Jetty:// 9.jenkins4.ci.plugins.jobimport.JobImportAction.doQuery(JobImportAction.java:174)z-SNAPSHOT</a><hr/></body> </html>{noformat}