KnisterPeter / vscode-jira

JIRA integration for vscode
MIT License
25 stars 8 forks source link

Fails on non-SSL setup #27

Closed csholmq closed 4 years ago

csholmq commented 6 years ago
Failed to contact JIRA server using 'http://msjira'. Please check url and credentials
invalid json response body at http://msjira/rest/api/2/serverInfo reason: Unexpected token < in JSON at position 10

As my company server doesn't have SSL enabled, I would like to use regular HTTP. Accessing http://msjira/rest/api/2/serverInfo in my browser executes just fine.

The response is:

{
  "baseUrl": "http://msjira",
  "version": "7.6.0",
  "versionNumbers": [
    7,
    6,
    0
  ],
  "deploymentType": "Server",
  "buildNumber": 76001,
  "buildDate": "2017-11-16T00:00:00.000+0100",
  "serverTime": "2017-12-18T10:21:21.581+0100",
  "scmInfo": "7b6fd94042951391abb4cf81ae9ab14bf01b6f5f",
  "serverTitle": "JIRA"
}
stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.