cloudflare / lua-resty-cookie

Lua library for HTTP cookie manipulations for OpenResty/ngx_lua
347 stars 160 forks source link

The unauthenticated git protocol on port 9418 is no longer supported. #48

Open drewfreyling opened 2 years ago

drewfreyling commented 2 years ago

Steps to reproduce: Run a docker build with the following dockerfile:

FROM kong:2.6.0-alpine
USER root
RUN luarocks install lua-resty-cookie

Error: Cloning into 'lua-resty-cookie'... fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported. Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.

Error: Failed cloning git repository.

kongjun01 commented 2 years ago

I solved.

https://github.com/api7/lua-resty-radixtree/issues/107#issuecomment-1009635389

drewfreyling commented 2 years ago

LuaRocks 3.8 works around the issue. Ideally the rockspec file should be updated as well.