ECONNRESET at the end of a dojo build

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

ECONNRESET at the end of a dojo build

dancrumb
I'm getting the following error at the end of my Dojo build:

waiting for the optimizer runner to finish...
error(352) Optimizer reported errors; consult build report for details. 
{ [Error: read ECONNRESET] code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read' }
Error: read ECONNRESET
    at errnoException (net.js:904:11)
    at Pipe.onread (net.js:558:19)

The build invocation that I'm using is

node ../../dojo/dojo.js --verbose load=build --require "../../app/run-template.js" --profile "../../client/client-author.profile.js" --releaseDir "../../../author-prod"

Nothing weird that I can see in permissions or ownership of directories.

I tried
NODE_DEBUG=net node ../../dojo/dojo.js --verbose load=build --require "../../app/run-template.js" --profile "../../client/client-author.profile.js" --releaseDir "../../../author-prod"

and I see a *lot* of "network" activity.

Are these connections to 127.0.0.1? Is that how the build process resolves dependencies? Can anyone advise what's going on and why I'm getting connection resets during a build?
Reply | Threaded
Open this post in threaded view
|

Re: ECONNRESET at the end of a dojo build

dancrumb
The NODE_DEBUG output ends with

NET: 1584 got data
NET: 1584 _read
NET: 1584 onread EOF 313664 82 313746
NET: 1584 got data
NET: 1584 _read
NET: 1584 onread EOF 313760 14 313774
NET: 1584 got data
NET: 1584 _read
NET: 1584 onread ECONNRESET undefined undefined NaN
NET: 1584 error ECONNRESET
NET: 1584 destroy
NET: 1584 close
NET: 1584 close handle
{ [Error: read ECONNRESET] code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read' }
Error: read ECONNRESET
    at errnoException (net.js:904:11)
    at Pipe.onread (net.js:558:19)
Reply | Threaded
Open this post in threaded view
|

Re: ECONNRESET at the end of a dojo build

dancrumb
It seems that nabble does a terrible job of sending out emails, so I'm reposting without the markup:

I'm getting the following error at the end of my Dojo build:

waiting for the optimizer runner to finish...
error(352) Optimizer reported errors; consult build report for details.
{ [Error: read ECONNRESET] code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read' }
Error: read ECONNRESET
    at errnoException (net.js:904:11)
    at Pipe.onread (net.js:558:19)

The build invocation that I'm using is

node ../../dojo/dojo.js --verbose load=build --require "../../app/run-template.js" --profile "../../client/client-author.profile.js" --releaseDir "../../../author-prod"

Nothing weird that I can see in permissions or ownership of directories.

I tried
NODE_DEBUG=net node ../../dojo/dojo.js --verbose load=build --require "../../app/run-template.js" --profile "../../client/client-author.profile.js" --releaseDir "../../../author-prod"

and the output ends with:

NET: 1584 got data
NET: 1584 _read
NET: 1584 onread EOF 313664 82 313746
NET: 1584 got data
NET: 1584 _read
NET: 1584 onread EOF 313760 14 313774
NET: 1584 got data
NET: 1584 _read
NET: 1584 onread ECONNRESET undefined undefined NaN
NET: 1584 error ECONNRESET
NET: 1584 destroy
NET: 1584 close
NET: 1584 close handle
{ [Error: read ECONNRESET] code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read' }
Error: read ECONNRESET
    at errnoException (net.js:904:11)
    at Pipe.onread (net.js:558:19)


Are these connections to 127.0.0.1? Is that how the build process resolves dependencies? Can anyone advise what's going on and why I'm getting connection resets during a build?
Reply | Threaded
Open this post in threaded view
|

Re: ECONNRESET at the end of a dojo build

Adnan
Having the same issue when running the script on Travis-CI .. hmm,
Reply | Threaded
Open this post in threaded view
|

Re: ECONNRESET at the end of a dojo build

dylanks
That's the general error message for a connection reset error with Node.js.

Some combination of node_debug and
https://github.com/mattinsler/longjohn should help you track down the issue.

on 3/30/16, 14:18 (GMT-07:00) Adnan said the following:
> Having the same issue when running the script on Travis-CI .. hmm,
>
>
>
> --
> View this message in context: http://dojo-toolkit.33424.n3.nabble.com/ECONNRESET-at-the-end-of-a-dojo-build-tp4001636p4006824.html
> Sent from the Dojo Toolkit mailing list archive at Nabble.com.
--
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

[hidden email]
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
Co-Founder, Dojo Toolkit
CEO, SitePen, Inc.  http://www.sitepen.com/