You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ngx.socket sslhandshake: expecting 1 ~ 5 arguments (including the object), but seen 6
stack traceback:
coroutine 0:
[C]: in function 'sslhandshake'
...penresty/luajit/share/lua/5.1/resty/requests/adapter.lua:352: in function <...penresty/luajit/share/lua/5.1/resty/requests/adapter.lua:324>
...penresty/luajit/share/lua/5.1/resty/requests/adapter.lua:691: in function 'send'
...penresty/luajit/share/lua/5.1/resty/requests/session.lua:212: in function 'get'
/home///lua/http2.lua:5: in main chunk, client: 10.18.., server: ...*, request: "GET /test_new2 HTTP/2.0", host:
The text was updated successfully, but these errors were encountered:
@tangchuanyang1991
Currently OpenResty's Cosocket sslhandshake method doesn't support the ALPN or NPN extension, I wrote a patch to support this, you should apply it to your own OpenResty bundle.
ngx.socket sslhandshake: expecting 1 ~ 5 arguments (including the object), but seen 6
stack traceback:
coroutine 0:
[C]: in function 'sslhandshake'
...penresty/luajit/share/lua/5.1/resty/requests/adapter.lua:352: in function <...penresty/luajit/share/lua/5.1/resty/requests/adapter.lua:324>
...penresty/luajit/share/lua/5.1/resty/requests/adapter.lua:691: in function 'send'
...penresty/luajit/share/lua/5.1/resty/requests/session.lua:212: in function 'get'
/home///lua/http2.lua:5: in main chunk, client: 10.18.., server: ...*, request: "GET /test_new2 HTTP/2.0", host:
The text was updated successfully, but these errors were encountered: