vimgolf icon indicating copy to clipboard operation
vimgolf copied to clipboard

Couldn't download or parse challenge

Open AFUL1991 opened this issue 2 years ago • 0 comments

I can open the home page of vimgolf with my browser, but couldn't download or parse the challenge with command 'vimgolf put 55b18bbea9c2c30d04000001'

Maybe it's because of GFW, I'm in mainland China. But I'm not sure.

PS E:\Users\XXX\Desktop> vimgolf put 55b18bbea9c2c30d04000001
Downloading Vimgolf challenge: 55b18bbea9c2c30d04000001
C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/vimgolf-0.5.0/lib/vimgolf/challenge.rb:74:in `rescue in download': Uh oh, couldn't download or parse challenge, please verify your challenge id & client version. (RuntimeError)
        from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/vimgolf-0.5.0/lib/vimgolf/challenge.rb:40:in `download'
        from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/vimgolf-0.5.0/lib/vimgolf/cli.rb:95:in `put'
        from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
        from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
        from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
        from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/base.rb:485:in `start'
        from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/vimgolf-0.5.0/lib/vimgolf/cli.rb:44:in `start'
        from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/vimgolf-0.5.0/bin/vimgolf:9:in `<top (required)>'
        from C:/tools/ruby31/bin/vimgolf:32:in `load'
        from C:/tools/ruby31/bin/vimgolf:32:in `<main>'
C:/tools/ruby31/lib/ruby/3.1.0/net/protocol.rb:46:in `connect_nonblock': An existing connection was forcibly closed by the remote host. - SSL_connect (Errno::ECONNRESET)
        from C:/tools/ruby31/lib/ruby/3.1.0/net/protocol.rb:46:in `ssl_socket_connect'
        from C:/tools/ruby31/lib/ruby/3.1.0/net/http.rb:1048:in `connect'
        from C:/tools/ruby31/lib/ruby/3.1.0/net/http.rb:976:in `do_start'
        from C:/tools/ruby31/lib/ruby/3.1.0/net/http.rb:965:in `start'
        from C:/tools/ruby31/lib/ruby/3.1.0/net/http.rb:627:in `start'
        from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/vimgolf-0.5.0/lib/vimgolf/challenge.rb:42:in `download'
        from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/vimgolf-0.5.0/lib/vimgolf/cli.rb:95:in `put'
        from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
        from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
        from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
        from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/base.rb:485:in `start'
        from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/vimgolf-0.5.0/lib/vimgolf/cli.rb:44:in `start'
        from C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/vimgolf-0.5.0/bin/vimgolf:9:in `<top (required)>'
        from C:/tools/ruby31/bin/vimgolf:32:in `load'
        from C:/tools/ruby31/bin/vimgolf:32:in `<main>'

AFUL1991 avatar Nov 08 '22 12:11 AFUL1991