Skip to content
This repository has been archived by the owner. It is now read-only.

"SSL handshake failed" while trying to convert an asciicast to a gif #30

Closed
alerac opened this issue Aug 3, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@alerac
Copy link

commented Aug 3, 2016

Hi,

Thanks a lot for your work which seems to work great. Nevertheless, I try to convert an asciicast to a gif following your examples and I face an SSL error. Actually, I run this command:

./asciinema2gif --theme solarized-light -o "${HOME}/Bureau/test.gif" https://asciinema.org/api/asciicasts/81648

and I get the following error codes:

ERROR: Couldn't open https://asciinema.org/api/asciicasts/81648?theme=solarized-light.
ERROR: SSL handshake failed

My asciicast is public. And I get the same error codes while trying to run simply:

./asciinema2gif --size small --speed 2 --theme solarized-light 81648

Any idea why?

I just would like to note I think I have all the dependencies installed and I'm on Ubuntu 14.04 LTS

Many thanks for your help. Don't hesitate to tell me if I post in the wrong place...

@wong2

This comment has been minimized.

Copy link
Collaborator

commented Aug 9, 2016

can you try to replace this line: https://github.com/tav/asciinema2gif/blob/master/asciinema2gif#L113
to: phantomjs --ssl-protocol=any "${rundir}/render.js" "${asciinema_url}" ?

@alerac

This comment has been minimized.

Copy link
Author

commented Aug 9, 2016

Hi,

Many thanks for your reply. This is perfect! It works now!!!

Cheers

@alerac alerac closed this Aug 9, 2016

@wong2

This comment has been minimized.

Copy link
Collaborator

commented Aug 9, 2016

great,  i'll make  a new release  with  it

Get Outlook for iOS

On Tue, Aug 9, 2016 at 7:29 PM +0800, "alerac" notifications@github.com wrote:

Closed #30.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.