On Mon, Apr 18, 2011 at 6:36 PM, Diab Jerius <[email protected]> wrote:
>
> Hi,
>
> I'm having problems using a source url which points to a bitbucket.org
> address.  I've verified that with the url referencing a file on disk
> luarocks will process the rockspec and install the package.
>
> With the url pointing at the bitbucket address, I get:
>
> % luarocks install validate-args-1.0.0-1.rockspec
>
> Error: Error fetching file: Failed downloading 
> https://bitbucket.org/djerius/validate.args/downloads/validate-args-1.0.0.tar.gz
>  - wrong version number
>
> bitbucket increments the number of downloads every time that I run this
> command, so something is connecting.  I've been unable to find the
> source of the error message.  As far as I can tell it's not in luarocks,
> luasec, or luasocket.
>
> The rockspec is here:
>
> https://bitbucket.org/djerius/validate.args/downloads/validate-args-1.0.0-1.rockspec

I get the same error. This looks like an OpenSSL error being forwarded
by LuaSec. LuaSec supports the following values for the protocol
fields: "tlsv1", "sslv2", "sslv23".
http://www.inf.puc-rio.br/~brunoos/luasec/reference.html#newcontext

I tried using them and these are the errors I get:

tlsv1 - wrong version number
sslv3 - wrong version number
sslv23 - unknown protocol

I will contact Bruno (LuaSec's author) to see if he has any hints on that.

Thanks for the report,

--
-- Hisham
-- http://hisham.hm/

_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers

Reply via email to