Comments (3)
If you monkey patch in some pp ex
within the exception handler, is the actual exception this Closed stream
error? Is possible its trying to handle a different error originally that might make the problem more clear.
from crystal.
Possibly related? https://forum.crystal-lang.org/t/help-solving-io-error/130 I get this error ALL the time on every Lucky project I work on. I've never found what causes it, and I'm not sure if it actually affects anything or not.
from crystal.
The exception seems to be caused by the grip framework. It appears to be seting the status code in an error handler at a point where the response connection is already closed (ref. https://github.com/grip-framework/grip/blob/7dbfcde591659e29c21f91e2ed8620ed1748510a/src/grip/handlers/exception.cr#L16C9-L16C112).
I don't think there's anything actionable here. Please report this issue to grip.
If you need more help with debugging (the original error is overshadowed by this bug in the error handler) please consult https://forum.crystal-lang.org/
from crystal.
Related Issues (20)
- `unsafe_as` should be a compiler primitive HOT 4
- Remove `Pointer.new(Int)` HOT 4
- UTF-16 string literals HOT 13
- Non-atomic memory is cleared twice HOT 3
- `GC.malloc` doesn't clear memory (as specified) for `gc_none`
- [RFC] Add `URI::Params::Serializable`
- UTF-8 support in Windows API HOT 1
- Non-zero padded exponent in float string representation after Ryu implementation HOT 6
- Allocation of non-zeroed memory for performance boost HOT 10
- Crystal::Macros::Arg#restriction method always returns Nop HOT 1
- Nilable `Proc` types inside libs
- Cannot return `Proc`s from top-level funs
- `ReferenceStorage(T)` is always atomic even when `T` isn't HOT 1
- Add `crystal tool method_types` for listing method parameter types HOT 4
- Passing nil to Addrinfo.getaddrinfo gives unexpected error message HOT 1
- Package installation fails on Windows due to missing SQLite3 .lib files HOT 2
- `File#truncate` raises `File::AccessDeniedError` on Windows when file was opened in append mode HOT 3
- Cache compiler results for tools
- Include more types in `crystal tool hierarchy` HOT 6
- `close_on_exec` on Windows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crystal.