Can't publish new package: Error: socket hang up

I have exactly the same problem but unfortunately I don’t know why.

Same here, thought it was my works firewall so I tried it elsewhere and still no luck.

Ditto here as well. Here’s the error I get.

C:\Users\blueknightone\AppData\Local\.meteor\packages\meteor-tool\1.1.10\mt-os.windows.x86_32\dev_bundle\lib\node_modules\fibers\future.js:278
                                                throw(ex);
                                                      ^
Error: socket hang up
    at Object.Future.wait (C:\Users\blueknightone\AppData\Local\.meteor\packages\meteor-tool\1.1.10\mt-os.windows.x86_32\dev_bundle\lib\node_modules\fibers\future.js:398:15)
    at Object._.extend.request (C:\tools\utils\http-helpers.js:275:20)
    at sendAuthorizeRequest (C:\tools\meteor-services\auth.js:342:32)
    at oauthFlow (C:\tools\meteor-services\auth.js:382:25)
    at Object.exports.loginWithTokenOrOAuth (C:\tools\meteor-services\auth.js:956:17)
    at Object.exports.loggedInConnection (C:\tools\meteor-services\auth-client.js:71:10)
    at Object.exports.loggedInPackagesConnection (C:\tools\packaging\package-client.js:232:21)
    at Command.main.registerCommand.name [as func] (C:\tools\cli\commands-packages.js:305:32)
    at C:\tools\cli\main.js:1378:23
    - - - - -
    at createHangUpError (http.js:1473:15)
    at CleartextStream.socketCloseListener (http.js:1523:23)
    at CleartextStream.emit (events.js:117:20)
    at tls.js:694:10
    at process._tickCallback (node.js:448:13)

I met the same problem.

$ meteor publish --create

/Users/nobutaka/.meteor/packages/meteor-tool/.1.1.10.uivzpm++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/fibers/future.js:278
                                                throw(ex);
                                                      ^
Error: socket hang up
    at Object.Future.wait (/Users/nobutaka/.meteor/packages/meteor-tool/.1.1.10.uivzpm++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/fibers/future.js:398:15)
    at Object._.extend.request (/tools/utils/http-helpers.js:275:20)
    at sendAuthorizeRequest (/tools/meteor-services/auth.js:342:32)
    at oauthFlow (/tools/meteor-services/auth.js:382:25)
    at Object.exports.loginWithTokenOrOAuth (/tools/meteor-services/auth.js:956:17)
    at Object.exports.loggedInConnection (/tools/meteor-services/auth-client.js:71:10)
    at Object.exports.loggedInPackagesConnection (/tools/packaging/package-client.js:232:21)
    at Command.main.registerCommand.name [as func] (/tools/cli/commands-packages.js:305:32)
    at /tools/cli/main.js:1378:23
    - - - - -
    at createHangUpError (http.js:1473:15)
    at CleartextStream.socketCloseListener (http.js:1523:23)
    at CleartextStream.emit (events.js:117:20)
    at tls.js:694:10
    at process._tickCallback (node.js:448:13)

I’m using OS X El Capitan (10.11.2).

$ meteor --version
Meteor 1.2.1
$ node --version
v0.12.8
$ npm --version
2.14.9

Same here. Is the atmospherejs team aware of this problem ?

1 Like

Me too same problem.

Slightly older versions of npm and node, but same errors on the exact same lines as nobutakaoshiro.

> meteor --version
Meteor 1.2.1
> node --version
v0.12.5
> npm --version
2.11.2

I also tried meteor logout followed by meteor login and that didn’t help. Seeing that the error is in OAuth, I thought maybe it was caching some old data.

I’m updating node now.

Another point: I thought it might be a firewall or IDS issue, but I disabled both the firewall and snort to no avail. Bummer.

I was able to meteor publish --create successfully yesterday afternoon, but right after that, when I tried meteor admin get-machine os.linux.x86_64 I started getting the socket hangups.

Hoping this gets fixed soon!

The same problem. Appeared today.

OK, it’s clear it’s not just me, so I’ve created an issue on Atmosphere’s github repo. If anyone has any other ideas about how to communicate this problem to those who can fix it, please pursue them.

Same problem here. I’m not trying to create a new package, just publish an update to an old one. (regular old meteor publish)

Same here

/Users/evaisse/.meteor/packages/meteor-tool/.1.1.10.1jktoiy++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/fibers/future.js:278
						throw(ex);
						      ^
Error: socket hang up

at Object.Future.wait (/Users/evaisse/.meteor/packages/meteor-tool/.1.1.10.1jktoiy++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/fibers/future.js:398:15)
at Object._.extend.request (/tools/utils/http-helpers.js:275:20)
at sendAuthorizeRequest (/tools/meteor-services/auth.js:342:32)
at oauthFlow (/tools/meteor-services/auth.js:382:25)
at Object.exports.loginWithTokenOrOAuth (/tools/meteor-services/auth.js:956:17)
at Object.exports.loggedInConnection (/tools/meteor-services/auth-client.js:71:10)
at Object.exports.loggedInPackagesConnection (/tools/packaging/package-client.js:232:21)
at Command.main.registerCommand.name [as func] (/tools/cli/commands-packages.js:305:32)
at /tools/cli/main.js:1378:23


at createHangUpError (http.js:1473:15)
at CleartextStream.socketCloseListener (http.js:1523:23)
at CleartextStream.emit (events.js:117:20)
at tls.js:694:10
at process._tickCallback (node.js:448:13)

Reporting the same issue here.
First it was socket hang up, now it is this:

/Users/beto/.meteor/packages/meteor-tool/.1.1.10.1b51q9m++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/fibers/future.js:245
						throw(ex);
						      ^
Error: access-denied
    at sendAuthorizeRequest (/tools/meteor-services/auth.js:351:11)
    at oauthFlow (/tools/meteor-services/auth.js:382:25)
    at Object.exports.loginWithTokenOrOAuth (/tools/meteor-services/auth.js:956:17)
    at Object.exports.loggedInConnection (/tools/meteor-services/auth-client.js:87:12)
    at Object.exports.loggedInPackagesConnection (/tools/packaging/package-client.js:232:21)
    at Command.main.registerCommand.name [as func] (/tools/cli/commands-packages.js:305:32)
    at /tools/cli/main.js:1378:23

Please Atmosphere fix this! We are trying to publish our very own first Meteor package!

OK, so let’s try asking for help this way:

1 Like

Thanks for the report. We are looking into it.

1 Like

Sorry about that! The issue should be fixed now; please let us know if you still run into issues.

1 Like

Thanks, it’s fixed for me ! :smile:
Have a good day everybody :slight_smile:

I was able to publish my package to Atmosphere. Thanks!

Worked for me too. Thank you. Thank you!

BTW, I just published three new packages. Feel free to check them out:

  • dpankros:timer - Basic timer functionality (you can search atmosphere for it, if you’re interested)
  • dpankros:multipage-form - Autoform add on for complex mutli-page form flows.
  • dpankros:bootstrap-alerts - Bootstrap3 alerts with autodismiss and categories. You can define multiple locations for alerts that and appear independently.

I developed these as part of a separate app, but I figured I’d open source these parts. Enjoy!

Hey all,

One of the issues raised by this thread, is the difficulty of getting in touch with MDG about certain kinds of infrastructure outages. Forums and Github issues are not a reliable way to do this – we try to check them regularly, but the turn-around time can get pretty long. If you have urgent infrastructure issues, like being unable to publish packages, a quicker way to get in touch with us is by email contact@meteor.com. We are working on a better solution, but I wanted to get this out for now. I can only imagine how frustrating this experience has been.

In this particular case, the error only manifested for a subset of users. For example, I could reproduce it, but it didn’t initially effect anyone else in the MDG office. (It was related to the last time that someone logged into their Meteor Developer Account). We are always working on improving our monitoring, but there is no guarantee that we would have caught something like that. So, thank you for the reports!

  • Ekate
1 Like