Comments (3)
I have a similar issue which I can't work around on because there seems no way to set IO::Socket::Async::SSL parameters.
Died because of the exception:
Tried to get the result of a broken Promise
in block at /home/ahartmai/.perl6/sources/ECCB15BAEF09CE282370A569F7B29849407D48B5 (Cro::HTTP::Client) line 604
Original exception:
Tried to get the result of a broken Promise
in block at /home/ahartmai/.perl6/sources/0609EA0BB03C70C2C15DB4B144D7041C1059D14C (Cro::TLS) line 108
Original exception:
An operation first awaited:
in block at /home/ahartmai/.perl6/sources/A4ECA701FE96A8456AEB83692D6B3C55AAFC964C (IO::Socket::Async::SSL) line 322
Died with the exception:
Certificate contains no altnames to check host against
in block at /home/ahartmai/.perl6/sources/A4ECA701FE96A8456AEB83692D6B3C55AAFC964C (IO::Socket::Async::SSL) line 322
from cro-http.
I just found a workaround as the ca parameter is in fact passed to Cro::TLS unmodified:
my $client = Cro::HTTP::Client.new:
ca => {
insecure => True
};
from cro-http.
for using with the get call:
Cro::HTTP::Client.get($url, ca=> { :insecure })
from cro-http.
Related Issues (20)
- Is cookies format specific to browsers? HOT 6
- Repeatable HTTP 2 issue HOT 2
- Installation Failure - "Tried to get the result of a broken Promise..." HOT 1
- Please show URL on a 404 in HTTP::Client
- Warning during installation - "rakudo is loading libcrypto in an unsafe way" HOT 4
- Multiple Cro::HTTP::Client objects fetching the same URL, hangs often HOT 2
- Native call expected argument 2 to reference a native integer, but got NativeRef HOT 2
- Cro::HTTP::Cookie fails to parse cookies from podverse.net HOT 1
- Flaky test failures for 0.8.7 on Rakudo 2022.04 HOT 1
- Cro::HTTP::Client stopped working (after upgrade to the latest version of Raku) HOT 8
- Cookie order in header does not follow RFC6265
- Client unable to fetch URLs with comma
- ignore cookie that don't respect RFC
- Minor test issue installing on new MacOS Ventura 13.3 -- "Tests out of sequence." found/expected 47/48; 48/47
- No error when port is already taken?
- Cro logging mangles shell display
- Cro::HTTP::Client is not behaving correctly when using https proxy HOT 1
- Mishandling of headers timeout when sending out a big body
- A method to reset connection
- Unable to read the default `.pem` files generated by a Cro app. HOT 13
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 cro-http.