thanks Sonny for catch the problem! Dalei, the problem is our CGI plugin that needs to use a different API call, we will solve that shortly, its just a minor fix. I will keep you posted,
regards, On Tue, Dec 10, 2013 at 8:02 PM, Dalei Liu <[email protected]> wrote: > It was just sample lua wsapi code: > #!/usr/bin/env wsapi.cgi > > module(..., package.seeall) > > function run(wsapi_env) > local headers = { ["Content-type"] = "text/html" } > > local function hello_text() > coroutine.yield("<html><body>") > coroutine.yield("<p>Hello Wsapi!</p>") > coroutine.yield("<p>PATH_INFO: " .. wsapi_env.PATH_INFO .. "</p>") > coroutine.yield("<p>SCRIPT_NAME: " .. wsapi_env.SCRIPT_NAME .. "</p>") > coroutine.yield("</body></html>") > end > > return 200, headers, coroutine.wrap(hello_text) > end > > On debian/ubuntu, it needs lua-wsapi package. > > Thanks, > David > > > On Tue, Dec 10, 2013 at 7:31 AM, Eduardo Silva <[email protected]> wrote: > >> Hi, >> >> On Sun, Dec 8, 2013 at 1:55 PM, Dalei Liu <[email protected]> wrote: >> >>> Hi, >>> >>> I'm new to here. I found an issue when testing the v1.3.0 release, but >>> not sure if it's just my configuration or a real one. >>> >>> I tried the polarssl module at first. It worked and I was able to >>> access the default page from the https url. Then I disabled the polarssl >>> and tried the cgi module with a lua script with wsapi support. It worked >>> at well and I was able to access my test script, cgi-bin/hello.lua. But >>> when I enabled both polarssl and cgi module and access the script again, it >>> didn't work. From the chrome browser, it shows the error message below. >>> >>> SSL Connection error >>> Unable to make a secure connection to the server. This may be a problem >>> with the server or it may be requiring a client authentication certificate >>> that you don't have. >>> Error code: ERR_SSL_PROTOCOL_ERROR >>> >>> About my configuration, from the default one, I enabled monkey-polarssl >>> and monkey-cgi modules from conf/plugins.load and changed TransportLayer >>> from liana to polarssl. >>> >>> I scanned the bug list and didn't find similar one. Is there something >>> obvious that I'm missing, or just a known issue? >>> >>> >> >> would you please provide your CGI script (or a similar one) with detailed >> steps to reproduce the problem ? >> >> regards, >> -- >> Eduardo Silva >> http://edsiper.linuxchile.cl >> http://monkey-project.com >> > > -- Eduardo Silva http://edsiper.linuxchile.cl http://monkey-project.com
_______________________________________________ Monkey mailing list [email protected] http://lists.monkey-project.com/listinfo/monkey
