I am trying to publish a package to Atmosphere for the first time. I have tried four times this morning from both home and work to run meteor publish --create, and it fails every time with a socket hang up error. The stack trace indicates a timeout during login, so I tried logging in first just to make sure that works OK. Here is the log:
[~/github/radgrad/core/app/packages/radgrad-lib]-> meteor login
Username: philipmjohnson
Password:
warning: couldn't confirm logout with www.meteor.com
Logged in as philipmjohnson. Thanks for being a Meteor developer!
[~/github/radgrad/core/app/packages/radgrad-lib]-> meteor publish --create
It looks like you have been logged out! Please log in with your Meteor developer account. If you don't have one, you can quickly create
one at www.meteor.com.
Username: philipmjohnson
Password:
/Users/philipjohnson/.meteor/packages/meteor-tool/.1.1.10.1i6toil++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/philipjohnson/.meteor/packages/meteor-tool/.1.1.10.1i6toil++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: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
- - - - -
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
The package I am trying to publish is at the following repo:
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)
$ 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 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.
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.
/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!