Comments (8)
Thank you for reporting.
However, I cannot reproduce it on Windows 10 & SBCL 1.3.15.
I suppose the hang is because of waiting for the HTTP response. I'm not sure why.
from dexador.
I experienced this issue trying to use a newer version of qlot. The hang seems to be specific to SBCL, as CCL reports an error:
> Error: The TLS/SSL connection on handle #<A Foreign Pointer #x2A30858> has been closed (return code: 5).
> SSL error queue is empty.
I've checked, and drakma is able to make the same request successfully (dexador succeeds on my linux host, too). The chief difference seems to be that drakma is using cl+ssl:stream-fd
and passing the result to make-ssl-client-stream
, rather than passing the stream directly (but I'm not sure if that's meaningful).
I'll check on my Windows 10 machine when I get home tonight, to see if this works correctly there.
from dexador.
Correction: the real difference is that the version of drakma in quicklisp doesn't create an ssl context. Removing the cl+ssl:with-global-context
code from dexador makes it work correctly in CCL.
Presumably this has something to do with certificate verification (but dexador does fail when you set :insecure t
). I'll investigate more, and maybe check the tip version of drakma, which does use an ssl context.
from dexador.
Drakma tip has this problem too, so it seems like it's a problem with cl+ssl on windows when using contexts.
from dexador.
I've filed an issue upstream with cl+ssl about this, if you want to follow it there.
from dexador.
I had the same bug and can confirm that updating to the latest cl+ssl version from quicklisp fixes this issue.
from dexador.
@ajberkley this might be able to be closed, the upstream issue is closed and i'm unable to reproduce the same experience.
windows 10 (22h2); sbcl 2.2.10; cl+ssl-20221106-git; OpenSSL 1.1.1q 5 Jul 2022
from dexador.
Mostly just for context, the hang part of this issue may be related to an SBCL bug where wait-until-fd-usable
failed to detect EOF on windows. A patch was applied in August 2020, and I believe it should be in SBCL 2.0.8 and later.
Based on my 15-minute refresher, that sounds like both parts of this (hangs on SBCL, has context errors on CCL) should be fixed by now.
from dexador.
Related Issues (20)
- Connection-pool nil problem when using master HOT 6
- Allow content for dex:delete HOT 2
- There is no character with name "NUL" HOT 3
- ERROR 12002: Timeout [Condition of type WINHTTP::WIN-ERROR]
- dex:fetch leaves files open HOT 6
- Potential issue with failing to close connections HOT 12
- The condition #<CHUNGA:INPUT-CHUNKING-UNEXPECTED-END-OF-FILE 4060090DA0> occurred HOT 4
- Is there a problem with the `dex:post` with an s-expression data on the body? HOT 2
- `ignore-and-continue` on `http-request-fail` HOT 3
- Failing when requesting localhost HOT 15
- Dex not restarting with SSL errors.
- Automatic URL parameter encoding for Content-Type: application/x-www-form-urlencoded breaks old code HOT 4
- Calling DEX::MAYBE-CLOSE with optional "close-if T" argument causes a CCL::BAD-SLOT-TYPE HOT 4
- Windows: Content-Type is replaced with "text/plain" when `:content` is present HOT 3
- Dexador started automatically retry bad requests, but previosly didn't HOT 3
- Keep alive stream prematurely EOFs HOT 3
- Retry on typical errors solution
- Specifying content types for parts of a post request HOT 1
- Name Conflict HOT 5
- Copying from KEEP-ALIVE-STREAM: The value NIL is not of type STREAM HOT 7
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 dexador.