-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
what's SSLVibeStream.close? #77
Comments
hello @ZHANITEST Can you show me your dub.json? Thanks! |
here:
well... i tried re-build with same dub.json and app.d on my PC when i opened this issue.
hmm... or libssl.dll problem? |
Hello @ZHANITEST Probably just problem with libssl location. Try to put it into the any system library path. I'm downloading win 10 image to reproduce the problem, but I rememver that I just installed openssl libraries and allowed to install them in system path. |
Hello, @ZHANITEST Sorry for the delay.
How to solve:
I'm closing this issue, but please feel free to reopen it and ask any related questions here. |
oh thank you for reply! Almost solve it. I will 😄 well, i got another problem about same here a
Some sites got this error when i crawling it:
of course, i copy the i downloaded the pem file in here: https://curl.haxx.se/docs/caextract.html is it my mistake here? regards, |
this means that something went wrong. Can you,please, show me complete output for https://google.com ? |
Here:
same message about
|
ok, let's add some debug. Use this code ` void main() and compile with -debug=requests Edit: failed to format reply. Just add rq.verbosity=3; and compile with -debug=requests. And please run for both sites. I'll try to check from my side. |
cmd:
code:
and result:
and coudn't output a temp.html file. 🤔 |
Thanks! Very strange. I have to investigate how |
Wait, do you still have this in dub,json? "subConfigurations": { it must be removed if you run requests not in vibe app. |
Omg, really? Thanks 😊 |
Hello, @ZHANITEST |
Hi @ikod! Sorry for delay about it. Sadly, I’m hard to test on my work-day. Thank you very much for help me! 👍 |
ok, thanks! |
oookey doookey. soooo... i solved a problem finally. (🐸 yay!) i wrote here that how can i solve it. just for the people who got a same problem like me. 1. remove another compilers about dlang
2. re-install dmd and dub
3. install a libssl, copy carcert.pem
4. check a 'dub.json' or 'dub.sdl' file
5. clean and build it!
that's it! i wrote faster ASAP. so this tips may any misspelling. sorry. 😅 |
hello, @ZHANITEST Thanks for detailed description of solution. I'll rearrange it a bit and post link from main page to this step-by-step solution. |
On windows:
If everything is ok you should see code |
None of the suggestions here are working for me.
I always get this error:
A couple times it did work, but I hadn't changed anything between runs. |
hello @ZHANITEST With vibed Did you try to run this short installTools routine in std config, without vibe-d? I have no windows right now, but I can test it for you tomorrow. |
Without vibed, I get |
I should mention that this is all under windows, with Linux I can use the std config, vibed with an ssl option also works. |
With the following code, I can eventually get a success with vibed, after a great many error messages.
|
hello, @josephsmendoza |
The issue is definitely not fixed. I have to call the same 3 lines of code over and over until they succeed. It can take from 5 seconds to 5 minutes, and I've had many runs that I aborted after 10 minutes of failing. I ended up using vibed directly, which works every time cross-platform. |
hello, @ikod 😄
when i using 'requests', i got some errors. here my code:
and got this problem:
first, i copied
libssl.dll
andlibssl32.dll
onC:\Windows\system32
,SysWow64
and mydub project directory
.but same problem..
how can i solve it?
thanks
The text was updated successfully, but these errors were encountered: