Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

madCow #130

Open
RanAbramson opened this issue May 27, 2018 · 0 comments
Open

madCow #130

RanAbramson opened this issue May 27, 2018 · 0 comments

Comments

@RanAbramson
Copy link

Hi,
we use our project with swagger-node-runner.
also using
swagger_router, swagger-json-output.
recently we tried to add support for gzip with the following line
"app.use(restify.plugins.gzipResponse());"
we use restify as you can tell.

when trying to add it we get the following error:

Error: write after end
at writeAfterEnd (_stream_writable.js:236:12)
at Gzip.Writable.write (_stream_writable.js:287:5)
at flush (project/node_modules/restify/lib/response.js:832:13)
at ServerResponse.__send (project/node_modules/restify/lib/response.js:500:16)
at ServerResponse.send (project/node_modules/restify/lib/response.js:303:28)
at emitErrorsDone (project/node_modules/restify/lib/server.js:1052:29)
at onResult (project/node_modules/restify/lib/server.js:1293:20)
at Immediate. (project/node_modules/vasync/lib/vasync.js:175:30)
at Immediate._onImmediate (project/node_modules/async-listener/glue.js:188:31)
at runCallback (timers.js:789:20)
at tryOnImmediate (timers.js:751:5)
at processImmediate [as _immediateCallback] (timers.js:722:5)

any advise?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant