profile
viewpoint
Craig Morten asos-craigmorten @asosteam London https://www.linkedin.com/in/craig-morten/ 26 • London • Another JS Guy • @asosteam • JavaScript, TypeScript, Node, Deno, Web, React, Docker, Kubernetes

asos-craigmorten/opine 460

Fast, minimalist web framework for Deno ported from ExpressJS.

asos-craigmorten/deno-react-base-server 18

Minimal React SSR Base Server in Deno.

asos-craigmorten/importw 6

Permission restricted imports for Deno.

asos-craigmorten/grafana-jsx 4

A JSX library for creating JSON for Grafana.

asos-craigmorten/opine-http-proxy 3

Proxy middleware for Deno Opine HTTP servers.

asos-craigmorten/json-jsx 2

A JSX library for creating JSON.

asos-craigmorten/oak-http-proxy 2

Proxy middleware for Deno Oak HTTP servers. 🐿 🦕

asos-craigmorten/applicationinsights-express-middleware 1

Express Middleware tracking for Microsoft Application Insights SDK for Node.js.

asos-craigmorten/ayup 1

For being lazy with what you test.

asos-craigmorten/net-framework-for-mac 1

Building and running Windows .NET framework applications on a Mac.

startedasos-craigmorten/opine

started time in 5 hours

startedasos-craigmorten/opine

started time in 11 hours

startedasos-craigmorten/opine

started time in 12 hours

startedasos-craigmorten/opine

started time in 12 hours

startedasos-craigmorten/opine

started time in a day

startedasos-craigmorten/opine

started time in a day

startedasos-craigmorten/opine

started time in a day

startedasos-craigmorten/opine

started time in a day

startedasos-craigmorten/opine

started time in a day

startedasos-craigmorten/opine

started time in a day

startedasos-craigmorten/opine

started time in 2 days

startedasos-craigmorten/superdeno

started time in 2 days

startedasos-craigmorten/opine

started time in 2 days

startedasos-craigmorten/opine

started time in 3 days

startedasos-craigmorten/opine

started time in 3 days

startedasos-craigmorten/opine

started time in 3 days

startedasos-craigmorten/opine

started time in 4 days

startedasos-craigmorten/opine

started time in 4 days

startedasos-craigmorten/opine

started time in 5 days

startedasos-craigmorten/opine

started time in 5 days

startedasos-craigmorten/opine

started time in 5 days

startedasos-craigmorten/opine

started time in 5 days

startedasos-craigmorten/superdeno

started time in 6 days

startedasos-craigmorten/superoak

started time in 6 days

startedasos-craigmorten/opine

started time in 6 days

startedasos-craigmorten/snyker

started time in 6 days

fork techtastet/opine-1

Fast, minimalist web framework for Deno ported from ExpressJS.

https://github.com/asos-craigmorten/opine/blob/main/.github/API/api.md

fork in 7 days

issue openedasos-craigmorten/opine

BrokenPipe Crash

Issue

Setup:

deno 1.6.3 (release, x86_64-unknown-linux-gnu) v8 8.8.294 typescript 4.1.3

  • Opine Version: 1.0.0

Uncaught BrokenPipe: Broken pipe (os error 32)

Details

Hello, it's been a while since Opine crashed randomly with a system error, at the time it was on my mac, now on my windows and also on a linux server, the error returned is still the same:

error: Uncaught (in promise) BrokenPipe: Broken pipe (os error 32)
    at unwrapResponse (deno:runtime/js/10_dispatch_minimal.js:59:13)
    at sendAsync (deno:runtime/js/10_dispatch_minimal.js:98:12)
    at async write (deno:runtime/js/12_io.js:117:20)
    at async BufWriter.write (bufio.ts:499:29)
    at async writeResponse (_io.ts:273:15)
    at async Proxy.respond (server.ts:84:7)
    at async Response.end (response.ts:256:7)

Maybe you have to surround Opine with a try catch? The crash occurs with any code that uses opine, however I noticed that the more routes there are, the more often it happens

created time in 7 days

startedasos-craigmorten/opine

started time in 8 days

startedasos-craigmorten/superoak

started time in 8 days

more