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

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

Open
csharpe opened this issue May 3, 2016 · 1 comment

Comments

@csharpe
Copy link

csharpe commented May 3, 2016

[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
Copy link

Can it be related to #17 ?

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

2 participants