Closed ashishmh closed 3 years ago
Going through same issues
Same here
$ brew install kong Updating Homebrew... ==> Installing kong from mashape/kong ==> Downloading https://bintray.com/kong/kong-community-edition-src/download_file?file_path=kong-community-edition-0.11. Already downloaded: /Users/ncs/Library/Caches/Homebrew/kong-0.11.0.tar.gz ==> Patching patching file kong/templates/kong_defaults.lua ==> luarocks-5.1 --tree=/usr/local/Cellar/kong/0.11.0 make OPENSSL_DIR=/usr/local/opt/openssl Last 15 lines from /Users/ncs/Library/Logs/Homebrew/kong/01.openssl: env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -O2 -fPIC -I/usr/local/opt/openresty/luajit/include/luajit-2.1 -c src/udp.c -o src/udp.o -DLUA_COMPAT_APIINTCASTS -DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN -DLUASOCKET_API=attribute((visibility("default"))) -DUNIX_API=attribute((visibility("default"))) -DMIME_API=attribute((visibility("default"))) env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -O2 -fPIC -I/usr/local/opt/openresty/luajit/include/luajit-2.1 -c src/usocket.c -o src/usocket.o -DLUA_COMPAT_APIINTCASTS -DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN -DLUASOCKET_API=attribute((visibility("default"))) -DUNIX_API=attribute((visibility("default"))) -DMIME_API=attribute((visibility("default"))) env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -bundle -undefined dynamic_lookup -all_load -o socket/core.so -L/usr/local/opt/openresty/luajit/lib src/luasocket.o src/timeout.o src/buffer.o src/io.o src/auxiliar.o src/options.o src/inet.o src/except.o src/select.o src/tcp.o src/udp.o src/usocket.o env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -O2 -fPIC -I/usr/local/opt/openresty/luajit/include/luajit-2.1 -c src/mime.c -o src/mime.o -DLUA_COMPAT_APIINTCASTS -DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN -DLUASOCKET_API=attribute((visibility("default"))) -DUNIX_API=attribute((visibility("default"))) -DMIME_API=attribute((visibility("default"))) env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -bundle -undefined dynamic_lookup -all_load -o mime/core.so -L/usr/local/opt/openresty/luajit/lib src/mime.o No existing manifest. Attempting to rebuild... luasocket 3.0rc1-2 is now installed in /usr/local/Cellar/kong/0.11.0 (license: MIT)
Cloning into 'luasec'... fatal: unable to connect to github.com: github.com[0: 192.30.255.113]: errno=Operation timed out github.com[1: 192.30.255.112]: errno=Operation timed out
Error: Failed installing dependency: https://luarocks.org/luasec-0.6-1.rockspec - Failed cloning git repository.
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/mashape/homebrew-kong/issues
/usr/local/Homebrew/Library/Homebrew/utils/github.rb:220:in raise_api_error': curl failed! (GitHub::Error) curl: (22) The requested URL returned error: 422 Unprocessable Entity curl: (3) <url> malformed from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:178:in
open'
from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:278:in search' from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:225:in
search_issues'
from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:238:in issues_for_formula' from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:369:in
fetch_issues'
from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:365:in issues' from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:419:in
dump'
from /usr/local/Homebrew/Library/Homebrew/brew.rb:135:in rescue in <main>' from /usr/local/Homebrew/Library/Homebrew/brew.rb:30:in
Same error for me ...
I was able to run docker on my mac and then kong ...
1) https://docs.docker.com/docker-for-mac/install/ 2) https://getkong.org/install/docker/
Same issue here
Same issue here as well
Same issue here
==> Installing kong from mashape/kong ==> Downloading https://bintray.com/kong/kong-community-edition-src/download_fil Already downloaded: /Users/zhangtao/Library/Caches/Homebrew/kong-0.11.2.tar.gz ==> Patching patching file kong/templates/kong_defaults.lua ==> luarocks-5.1 --tree=/usr/local/Cellar/kong/0.11.2 make OPENSSL_DIR=/usr/loca Last 15 lines from /Users/zhangtao/Library/Logs/Homebrew/kong/01.openssl: kong-lapis 1.6.0.1-1 depends on mimetypes (not installed) Installing https://luarocks.org/mimetypes-1.0.0-1.src.rock mimetypes 1.0.0-1 is now installed in /usr/local/Cellar/kong/0.11.2 (license: MIT/X11)
kong-lapis 1.6.0.1-1 depends on pgmoon (not installed) Installing https://luarocks.org/pgmoon-1.8.0-1.src.rock pgmoon 1.8.0-1 is now installed in /usr/local/Cellar/kong/0.11.2 (license: MIT)
Cloning into 'lapis'... fatal: unable to connect to github.com: github.com[0: 192.30.255.112]: errno=Operation timed out github.com[1: 192.30.255.113]: errno=Operation timed out
Error: Failed installing dependency: https://luarocks.org/kong-lapis-1.6.0.1-1.rockspec - Failed cloning git repository.
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/mashape/homebrew-kong/issues
/usr/local/Homebrew/Library/Homebrew/utils/github.rb:220:in raise_api_error': curl failed! (GitHub::Error) curl: (22) The requested URL returned error: 422 Unprocessable Entity curl: (3) <url> malformed from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:178:in
open'
from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:278:in search' from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:225:in
search_issues'
from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:238:in issues_for_formula' from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:369:in
fetch_issues'
from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:365:in issues' from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:419:in
dump'
from /usr/local/Homebrew/Library/Homebrew/brew.rb:138:in rescue in <main>' from /usr/local/Homebrew/Library/Homebrew/brew.rb:30:in
I had this issue, but it was because my corporate proxy blocking github.com. Once I connected to a different network, I was able to complete the installation.
I also met。 I don't know why, but the company has been having this problem in the afternoon. I go home and use the home network, which seems to have something to do with the Internet.
i have same problem. and i uses proxychains4 set a command line proxy to fixed this
Hi, I am closing this issue because of lack of activity. If you think it is still unresolved, please reopen with the requested information. Thanks!
Hi, I am trying to install kong via homebrew and getting this error:
To solve this, i tried installing luasec manually using luarocks:
luarocks install luasec OPENSSL_INCDIR=/usr/local/Cellar/openssl/1.0.2l/include
and got the following response:luasec 0.7alpha-1 is now installed in /usr/local/opt/kong (license: MIT)
After this when I try installing kong via brew again, i get the following error:
If i delete /usr/local/opt/kong, then brew again throws the first error.
Error: Failed installing dependency: https://luarocks.org/luasec-0.6-1.rockspec - Failed cloning git repository.