question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ubuntu: Error: connect ECONNREFUSED 127.0.0.1:2578

See original GitHub issue
What operating system are you using?

Ubuntu 16.04 LTS 64bit

What version of Nylas Mail are you using?

nylas-1.0.21 (built from master)

Bug?

Do you have any third-party plugins installed? If so, which ones?

No

Is the issue related to a specific email provider (Gmail, Exchange, etc.)?

While adding Gmail, after authenticating successfully with Gmail, I am getting below error message

Error: connect ECONNREFUSED 127.0.0.1:2578

NOTE: I built nylas taking the code form master. While running with “npm start” I am getting below error in console

[16300:0207/111747:INFO:CONSOLE(110)] "Thread Search: Index built successfully in 0.063s", source: /media/anindya/data/codebase/nylas-mail/internal_packages/search-index/lib/thread-search-index-store.es6 (110)
[16300:0207/111759:INFO:CONSOLE(318)] "APIError: Error: connect ECONNREFUSED 127.0.0.1:2578
    at new APIError (errors.es6:29:19)
    at _priorityUiCoordinator2.default.settle.then (nylas-api-request.es6:177:30)
From previous event:
    at NylasAPIRequest.run (nylas-api-request.es6:152:12)
    at Object.<anonymous> (onboarding-helpers.es6:72:40)
    at next (<anonymous>)
    at step (onboarding-helpers.es6:5:1)
From previous event:
    at Object.<anonymous> (onboarding-helpers.es6:5:1)
    at oauth-signin-page.jsx:124:44
    at next (<anonymous>)
    at step (oauth-signin-page.jsx:4:1)
From previous event:
    at oauth-signin-page.jsx:4:1
    at oauth-signin-page.jsx:105:14
    at next (<anonymous>)
    at step (oauth-signin-page.jsx:4:1)
    at oauth-signin-page.jsx:4:1
    at tryOnImmediate (timers.js:554:5)
    at processImmediate [as _immediateCallback] (timers.js:533:5)
From previous event:
    at oauth-signin-page.jsx:4:1", source: /media/anindya/data/codebase/nylas-mail/src/nylas-env.coffee (318)
APIError: Error: connect ECONNREFUSED 127.0.0.1:2578
    at new APIError (errors.es6:29:19)
    at _priorityUiCoordinator2.default.settle.then (nylas-api-request.es6:177:30)
From previous event:
    at NylasAPIRequest.run (nylas-api-request.es6:152:12)
    at Object.<anonymous> (onboarding-helpers.es6:72:40)
    at next (<anonymous>)
    at step (onboarding-helpers.es6:5:1)
From previous event:
    at Object.<anonymous> (onboarding-helpers.es6:5:1)
    at oauth-signin-page.jsx:124:44
    at next (<anonymous>)
    at step (oauth-signin-page.jsx:4:1)
From previous event:
    at oauth-signin-page.jsx:4:1
    at oauth-signin-page.jsx:105:14
    at next (<anonymous>)
    at step (oauth-signin-page.jsx:4:1)
    at oauth-signin-page.jsx:4:1
    at tryOnImmediate (timers.js:554:5)
    at processImmediate [as _immediateCallback] (timers.js:533:5)
From previous event:
    at oauth-signin-page.jsx:4:1

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
bithookedcommented, Feb 12, 2017

I hate to be a pain, but aren’t you violating the GPL by distributing under the GPL with a non-GPL dependency?

1reaction
colinkingcommented, Feb 10, 2017

From @jstejada:

Unfortunately you can’t currently run Nylas Mail from source (unless it’s Nylas Pro n1-pro branch). Our core sync code isn’t open source yet and it’s included in a private submodule, so when you clone nylas-mail you wont have access to this private code necessary to run the app in dev mode

Read more comments on GitHub >

github_iconTop Results From Across the Web

open chrome-launcher failed [ ubunto wsl ] connect ... - GitHub
Hey, I try to run chrome launch from my ubuntu and got the error: connect ECONNREFUSED 127.0.0.1:38073. What should I do? the same...
Read more >
Node.js Error: connect ECONNREFUSED - Stack Overflow
ECONNREFUSED error means that connection could not be made with the target service (in your case localhost:8080 ).
Read more >
Error: connect ECONNREFUSED 127.0.0.1:3306 - Ask Ubuntu
The reason for this is that you cannot connect to MySQL with the root account anymore. This rule was changed — and enforced...
Read more >
Error: connect ECONNREFUSED 127.0.0.1:80 - Postman
It looks like you're sending a request to localhost:3000 , but your Proxy settings seem to be set to 127.0.0.1: 8080 Is your...
Read more >
Connect ECONNREFUSED 127.0.0.1:27017 in Mongodb ...
Means that NO mongod instance is running at the given host 127.0.0.1 and port 27017. Yes the solution is to start mongod. Mah_Neh:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found