Welcome the channel on the development of Cro, a set of libraries for building reactive distributed systems, lovingly crafted to take advantage of all the Raku Programming Language has to offer (cro.services). This channel is being logged for historical purposes.
Set by lizmat on 24 May 2021.
00:07 patrickb left 07:04 perlmaros left, Altreus left, jnthnwrthngtn left, eof left, perlmaros joined, summerisle joined, jnthnwrthngtn joined, Altreus joined 11:38 Altai-man joined 16:51 xinming__ left 16:53 xinming__ joined 18:23 Altai-man left 20:11 xinming__ left 20:12 patrickb joined 20:14 xinming__ joined
patrickb o/ 21:44
I have a request that works with curl but fails with a "Stream reset by the server" when doing it with cro. It involves HTTP2, HTTPS, a password and a 1.6MB file as body data. How would I go about debugging this? 21:47
jnthnwrthngtn CRO_TRACE=1 in the environment will show you what's going on down to the network level 21:55
patrickb that's a lot of that 1.6MB flying by... 21:59
paste.sr.ht/blob/24a59e59c63cd106a...29c593c31d 22:08
That's the full thing
The error is different to when not using CRO_TRACE though 22:09
jnthnwrthngtn hah, yes, maybe the dumping takes so long it hits a timeout but...that's also odd because it says it's a connection timeout 23:24
Can try passing timeout => Inf to get the original error 23:25
patrickb that made no difference. 23:31
And there is a long wait after the "Cro::TLS::Connector DONE" and before the exception occurs. 23:32