# Upgrade to 2.1 forcing proxy\_protocol

**URL:** <https://discuss.konghq.com/t/upgrade-to-2-1-forcing-proxy-protocol/6926>\
**Category:** Questions\
**Created:** [August 14, 2020, 1:55pm UTC](https://discuss.konghq.com/t/upgrade-to-2-1-forcing-proxy-protocol/6926 "2020-08-14T13:55:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![grjmartin](https://avatars.discourse-cdn.com/v4/letter/g/dbc845/32.png) [@grjmartin](https://discuss.konghq.com/u/grjmartin)\
**Post date:** [August 14, 2020, 1:55pm UTC](https://discuss.konghq.com/t/upgrade-to-2-1-forcing-proxy-protocol/6926/1 "2020-08-14T13:55:31Z")

</div>

I’m upgrading our Kong from 1.1.2 to 2.1.1 but while I can still make calls to Kong’s admin service successully, calls to our services are all providing no response with this in error.log

[error] 10541#0: \*845772 broken header: "POST /admin/api/oauth2/token HTTP/1.1  
Host: localhost:8080  
Connection: keep-alive  
Content-Length: 29  
Authorization: Basic YWRtaW46d3Q1bnBrcXl3amRpSkVJWEV5REZ1SkYxYVpRd3pWMEQ=  
Cache-Control: no-cache  
Content-Type: application/x-www-form-urlencoded  
User-Agent: Mozilla/5.0 (X11; Linux x86\_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36  
Postman-Token: 330a961a-c48b-bab1-a3b9-ac4bdda5e8c8  
Accept: _/_  
Origin: chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop  
Sec-Fetch-Site: none  
Sec-Fetch-Mode: cors  
Sec-Fetch-Dest: empty  
Accept-Encoding: gzip, deflate, br  
Accept-Language: en-US,en;q=0.9

grant\_type=client\_credentials" while reading PROXY protocol, client: 127.0.0.1, server: 0.0.0.0:8080

We are using the oauth2 plugin.

Looking into this proxy protocol error I found that the nginx-kong.conf file being generated now shows

server {  
server\_name kong;  
listen 0.0.0.0:8080 proxy\_protocol;  
listen 0.0.0.0:8443 ssl proxy\_protocol;

Where it did not have the proxy\_protocol marker on those lines before.

Our config file has not changed and is:

trusted\_ips = 0.0.0.0/0  
admin\_listen = 0.0.0.0:8001  
proxy\_listen = 0.0.0.0:8080, 0.0.0.0:8443 ssl  
database = postgres  
pg\_host = 127.0.0.1  
pg\_port = 5432  
pg\_user = kong  
pg\_password = kong  
pg\_database = kong  
plugins = bundled,session
