OmniSharp / atom-json-schema

Json schema intellisense and validation for Atom
MIT License
43 stars 15 forks source link

Uncaught FetchError: request to http://schemastore.org/api/json/catalog.json failed, reason: conn... #20

Open csharpe opened 8 years ago

csharpe commented 8 years ago

[Enter steps to reproduce below:]

  1. ...Open up any JSON file
  2. ...Save the JSON file

I believe the issue is caused by the requirement to use an authenticating proxy server; I have configured APM with the correct settings, and it works fine. However this plugin doesn't seem to know/respect proxy settings. I believe this is the cause of the time out.

Atom Version: 1.7.3 System: Mac OS X 10.11.4 Thrown From: json-schema package, v0.1.15

Stack Trace

Uncaught FetchError: request to http://schemastore.org/api/json/catalog.json failed, reason: connect ETIMEDOUT 168.62.224.13:80

At /Users/csharpe/.atom/packages/json-schema/node_modules/rx/dist/rx.js:579

FetchError: request to http://schemastore.org/api/json/catalog.json failed, reason: connect ETIMEDOUT 168.62.224.13:80
    at ClientRequest.<anonymous> (/Users/csharpe/.atom/packages/json-schema/node_modules/node-fetch/index.js:125:11)
    at emitOne (events.js:77:13)
    at ClientRequest.emit (events.js:169:7)
    at Socket.socketErrorListener (_http_client.js:265:9)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
    at emitErrorNT (net.js:1253:8)
    at doNTCallback2 (node.js:465:9)
    at process._tickCallback (node.js:379:17)

Commands

     -2:37.6.0 application:open (div.pane-item.native-key-bindings.about)
     -2:26 core:save (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "wrap-guide"
    ],
    "themes": [
      "atom-material-ui",
      "VS2015-dark-syntax"
    ]
  }
}

Installed Packages

# User
VS2015-dark-syntax, v1.0.10
atom-beautify, v0.29.7
atom-material-ui, v1.2.10
atom-yeoman, v0.3.15
colorful-json, v1.0.0
file-icons, v1.7.8
json-schema, v0.1.15
jsonlint, v1.1.2
language-powershell, v2.1.1
linter, v1.11.4
linter-jslint, v10.2.0
merge-conflicts, v1.4.2
minimap, v4.23.2
omnisharp-atom, v0.29.3
tabs-to-spaces, v1.0.2
term3, v0.22.0
xml-tools, v0.2.1

# Dev
No dev packages
Vrakfall commented 7 years ago

Can it be related to #17 ?