Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Uncaught Error: connect EAFNOSUPPORT #4957

Closed

Description

@murilomentor

After update Atom to version 0.169.0, the error is triggered 19 times everytime I open the editor. It was working perfectly on the previous version.
I suspect the reason is something related to the apm proxy settings on .apmrc (personal info edited):

cache=~/.atom/.apm
http-proxy=http://user:[email protected]:3128
https-proxy=http://user:[email protected]:3128
strict-ssl=false

[Enter steps to reproduce below:]

  1. Update Atom to version 0.169.0
  2. Open the Atom editor

Atom Version: 0.169.0
System: Windows 7 SP1
Thrown From: Atom Core

Stack Trace

Uncaught Error: connect EAFNOSUPPORT

At stream.js:94

Error: connect EAFNOSUPPORT
  at exports._errnoException (util.js:746:11)
  at connect (net.js:840:19)
  at net.js:935:9
  at Object.asyncCallback [as callback] (dns.js:78:16)
  at Object.onlookup [as oncomplete] (dns.js:96:10)

Commands

Config

{
  "core": {
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ]
  },
  "editor": {
    "fontSize": 12,
    "invisibles": {}
  }
}

Installed Packages

# User
build, v0.22.4
color-picker, v1.2.6
file-icons, v1.4.4
minimap, v3.5.4
project-manager, v1.14.1

# Dev
No dev packages

Activity

  1. kevinsawicki commented on Jan 13, 2015

    @kevinsawicki
    Contributor

    Does this happen when you quit Atom and then relaunch it in safe mode using the --safe command line option?

  2. murilomentor commented on Jan 14, 2015

    @murilomentor
    Author

    Yes
    Even with the --safe argument the errors keep coming up. Apparently they happen when Atom try to update the installed packages, because it also happens when I go into Settings -> Updates or Setttings -> Packages.
    I forgot to mention that the program hangs for about 2 minutes until the error notifications are displayed, only then you can use the program.

  3. brynne8 commented on Jan 15, 2015

    @brynne8

    Atom Version: 0.169.0
    System: Unknown Windows Version (Windows 8.1 pro in fact)
    Thrown From: Atom Core

    Stack Trace

    Uncaught Error: getaddrinfo ENOTFOUND github.com

    At stream.js:94
    
    Error: getaddrinfo ENOTFOUND github.com
      at errnoException (dns.js:41:10)
      at Object.onlookup [as oncomplete] (dns.js:91:26)
    
    

    Commands

         -1:59.1 core:cut (atom-text-editor.editor)
         -1:55.8 core:paste (atom-text-editor.editor)
         -1:55.0 core:save (atom-text-editor.editor)
      2x -0:00.0 grammar-selector:show (atom-text-editor.editor)
    

    Config

    {
      "core": {
        "themes": [
          "atom-dark-ui",
          "atom-dark-syntax"
        ]
      },
      "editor": {
        "invisibles": {}
      }
    }

    Installed Packages

    # User
    No installed packages
    
    # Dev
    No dev packages
  4. winstliu commented on Jan 15, 2015

    @winstliu
    Contributor

    @AlexanderMisel your issue should be fixed if you upgrade to the latest Atom version.

  5. AndiDog commented on May 19, 2015

    @AndiDog

    I also get EAFNOSUPPORT in 0.199 on Windows 7, e.g. when searching packages or loading featured packages. IPv6 is enabled for my network connection (default). No proxy setting. No apmrc changes, just vanilla Atom.

  6. kevinsawicki commented on Jul 6, 2015

    @kevinsawicki
    Contributor

    This should be fixed by atom/notifications#62 and available in Atom 1.0.0

  7. lock commented on Jan 21, 2019

    @lock

    This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

  8. locked as resolved and limited conversation to collaborators on Jan 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions