Curl: (52) Empty reply from server

#1

I followed the instructions to set up and start kong on my macOS. It seems work fine. I got no error message. However I ‘got curl: (52) Empty reply from server’ with curl -i http://localhost:8001/ command.

0 Likes

#2

Which installation method you used?

0 Likes

#3

brew install kong (I use postgresSQL, not using Cassandra)

0 Likes

#4

kong migrations bootstrap ran successfully?

0 Likes

#5

This is related to a recent patch of PCRE in 8.4.3 on macos.

0 Likes

#6

i had similar problems

brew uninstall luarocks
brew uninstall openresty
brew install kong

and rebooted mac a few times - eventually got it to work.

run with kong start -vv

0 Likes

#7

Over the weekend, there was a fix to the way Openresty uses PCRE to workaround this problem. When you did the uninstall//reinstall cycle, you must have picked up the newer version of Openresty.

0 Likes

#8

It doesn’t look like a bug. It’s the expected response message from a fresh install. Have you set up any route yet?

0 Likes