We are happy to announce that Kong 2.1.0 is now generally available!
Since Kong Gateway 2.0 was released in January, we have released a number of patch releases, but we have also been busy writing new features as well! This release comes packed with new functionality:
Hi,
The 2.1.0 version introduces some changes in the Nginx configuration file.
Those of us who use a custom template must update it accordingly.
For example, after upgrading to 2.1.0 I get this error at runtime:
[error] 31866#0: *21 lua entry thread aborted: runtime error: /usr/local/share/lua/5.1/kong/runloop/handler.lua:1237: variable "upstream_x_forwarded_prefix" not found for writing; maybe it is a built-in variable that is not changeable or you forgot to use "set $upstream_x_forwarded_prefix '';" in the config file to define it first
To solve this the following must be added to the custom template: set $upstream_x_forwarded_prefix '';
@ayala The homebrew formulas have just been fixed to ensure that the OpenResty dependency pulls the latest version with all needed patches — thanks for reporting!
@ayala Those aren’t errors. The warning is letting you know that you have two load balancing methods in use (probably a leftover nginx_upstream_keepalive_* value set in your configuration). With the new dynamic upstream keepalive pools in 2.1 replacing this older mechanism, you can drop this legacy option and the warning will go away.
The other logs are notice logs and aren’t harmful in any way.