Traefik Header limitations

I have a very long request url like below, but i get 400 bad request response from traefik.

Does traefik limits the request header size?

curl -kv -H 'Host: uat.test.apigateway' "http://172.21.27.148/api/order/11:preview?access_token=Bearer%20eyJhbGciOiJIUzUxMiJ9.eyJncnR5IjoiREVBTEVSIiwiZ2lkIjoxMDMsImZubSI6IuadjueZvUFTTSIsImdycCI6Ilt7XCJ1c2VyR3JvdXBJZFwiOjkyMjA3MzEsXCJncm91cElkXCI6MTAzLFwiZ3JvdXBOYW1lXCI6XCLliKnmmJ_ooYzvvIjljJfkuqzvvInmsb3ovabmnInpmZDlhazlj7hcIixcInJvbGVDb2RlXCI6XCJBU01cIixcInJvbGVOYW1lXCI6XCLllK7lkI7nu4_nkIZcIixcImNsaWVudFR5cGVzXCI6W1widGFibGV0XCIsXCJ3ZWJcIixcIm1vYmlsZVwiXSxcImlzTWFpblJvbGVcIjp0cnVlfV0iLCJyZ2lkIjo5NzA2LCJwcmkiOiIiLCJpc3MiOiJPVFIgQXV0aG9yaXphdGlvbiBDZW50ZXIiLCJtaWQiOiJMU0hCSkFTTTIiLCJzcmdpZCI6OTcwNywiZGdnaWQiOjk1OTcsInJvbCI6IkFTTSIsInVpZCI6NDMxNTM5LCJkZ2lkIjoxMDMsImN0IjoicHJpbnRlciIsInVubSI6IkxTSEJKLUFTTTIiLCJmZXhwIjoiTiIsImRnZW1zIjoiTiIsImdyc3IiOiJERUFMRVIiLCJiaWQiOm51bGwsImV4cCI6MTYxMDkzNzk4MSwiaWF0IjoxNjEwOTM3OTIxLCJkaWQiOiI4ZTUwOTZmY2RhIn0.s5GiziEn4l_W-pa5Ogu-6HjAZV6EXHu-lqSUakHlZbZ6flxTBi6yBVcTuCzgGgEp0cuELeYau_Sg-KMqkcaWYQ&settings=%7B%22printType%22%3A%22quotation%22%2C%22accountCodes%22%3A%5B%22RET90001%22%5D%2C%22displayRealPrice%22%3Afalse%2C%22headup%22%3A%22contact%22%2C%22lineItemCodes%22%3A%5B%22SC10011571%22%2C%22SC18269200%22%2C%22SC18269130%22%2C%22SC14228810%22%2C%22SC14227310%22%2C%22SC14227060%22%2C%22SC11312020%22%2C%22SC10012099%22%2C%22SC10011980%22%2C%22SC10011961%22%2C%22SC18269200%22%2C%22SC14227060%22%2C%22SC14227310%22%2C%22SC14228810%22%2C%22SC18269130%22%2C%22SC11312020%22%2C%22SC10012099%22%2C%22SC10011980%22%2C%22SC10011961%22%2C%22A0004003100%22%2C%22A0008103300%22%2C%22A2138200803%22%2C%22A0009701302%22%2C%22SC14227060%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0008103300%22%2C%22A0008103300%22%2C%22A0008103300%22%2C%22A0008103300%22%2C%22A0008103300%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%5D%7D" -H "X-Original-Url: http://172.21.27.148/api/order/11:preview?access_token=Bearer%20eyJhbGciOiJIUzUxMiJ9.eyJncnR5IjoiREVBTEVSIiwiZ2lkIjoxMDMsImZubSI6IuadjueZvUFTTSIsImdycCI6Ilt7XCJ1c2VyR3JvdXBJZFwiOjkyMjA3MzEsXCJncm91cElkXCI6MTAzLFwiZ3JvdXBOYW1lXCI6XCLliKnmmJ_ooYzvvIjljJfkuqzvvInmsb3ovabmnInpmZDlhazlj7hcIixcInJvbGVDb2RlXCI6XCJBU01cIixcInJvbGVOYW1lXCI6XCLllK7lkI7nu4_nkIZcIixcImNsaWVudFR5cGVzXCI6W1widGFibGV0XCIsXCJ3ZWJcIixcIm1vYmlsZVwiXSxcImlzTWFpblJvbGVcIjp0cnVlfV0iLCJyZ2lkIjo5NzA2LCJwcmkiOiIiLCJpc3MiOiJPVFIgQXV0aG9yaXphdGlvbiBDZW50ZXIiLCJtaWQiOiJMU0hCSkFTTTIiLCJzcmdpZCI6OTcwNywiZGdnaWQiOjk1OTcsInJvbCI6IkFTTSIsInVpZCI6NDMxNTM5LCJkZ2lkIjoxMDMsImN0IjoicHJpbnRlciIsInVubSI6IkxTSEJKLUFTTTIiLCJmZXhwIjoiTiIsImRnZW1zIjoiTiIsImdyc3IiOiJERUFMRVIiLCJiaWQiOm51bGwsImV4cCI6MTYxMDkzNzk4MSwiaWF0IjoxNjEwOTM3OTIxLCJkaWQiOiI4ZTUwOTZmY2RhIn0.s5GiziEn4l_W-pa5Ogu-6HjAZV6EXHu-lqSUakHlZbZ6flxTBi6yBVcTuCzgGgEp0cuELeYau_Sg-KMqkcaWYQ&settings=%7B%22printType%22%3A%22quotation%22%2C%22accountCodes%22%3A%5B%22RET90001%22%5D%2C%22displayRealPrice%22%3Afalse%2C%22headup%22%3A%22contact%22%2C%22lineItemCodes%22%3A%5B%22SC10011571%22%2C%22SC18269200%22%2C%22SC18269130%22%2C%22SC14228810%22%2C%22SC14227310%22%2C%22SC14227060%22%2C%22SC11312020%22%2C%22SC10012099%22%2C%22SC10011980%22%2C%22SC10011961%22%2C%22SC18269200%22%2C%22SC14227060%22%2C%22SC14227310%22%2C%22SC14228810%22%2C%22SC18269130%22%2C%22SC11312020%22%2C%22SC10012099%22%2C%22SC10011980%22%2C%22SC10011961%22%2C%22A0004003100%22%2C%22A0008103300%22%2C%22A2138200803%22%2C%22A0009701302%22%2C%22SC14227060%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0008103300%22%2C%22A0008103300%22%2C%22A0008103300%22%2C%22A0008103300%22%2C%22A0008103300%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A2138200803%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%2C%22A0004003100%22%5D%7D"

Hi @lolspider, welcome to the community

Are you sure this is a response from traefik? Do you have a matching access log line from traefik ?
I tested this with a traefik/whoami container just fine.

Whoami response

Host: uat.test.apigateway
User-Agent: curl/7.68.0
Accept: /
Accept-Encoding: gzip
X-Forwarded-For: 172.26.0.1
X-Forwarded-Host: uat.test.apigateway
X-Forwarded-Port: 80
X-Forwarded-Proto: http
X-Forwarded-Server: b8a2d821e3f6
X-Original-Url: http://172.21.27.148/api/order/11:preview?access_token=Bearer%20eyJhbGciOiJIUzUxMiJ9.eyJncnR5IjoiREVBTEVSIiwiZ2lkIjoxMDMsImZubSI6IuadjueZvUFTTSIsImdycCI6Ilt7XCJ1c2VyR3JvdXBJZFwiOjkyMjA3MzEsXCJncm91cElkXCI6MTAzLFwiZ3JvdXBOYW1lXCI6XCLliKnmmJ_ooYzvvIjljJfkuqzvvInmsb3ovabmnInpmZDlhazlj7hcIixcInJvbGVDb2RlXCI6XCJBU01cIixcInJvbGVOYW1lXCI6XCLllK7lkI7nu4_nkIZcIixcImNsaWVudFR5cGVzXCI6W1widGFibGV0XCIsXCJ3ZWJcIixcIm1vYmlsZVwiXSxcImlzTWFpblJvbGVcIjp0cnVlfV0iLCJyZ2lkIjo5NzA2LCJwcmkiOiIiLCJpc3MiOiJPVFIgQXV0aG9yaXphdGlvbiBDZW50ZXIiLCJtaWQiOiJMU0hCSkFTTTIiLCJzcmdpZCI6OTcwNywiZGdnaWQiOjk1OTcsInJvbCI6IkFTTSIsInVpZCI6NDMxNTM5LCJkZ2lkIjoxMDMsImN0IjoicHJpbnRlciIsInVubSI6IkxTSEJKLUFTTTIiLCJmZXhwIjoiTiIsImRnZW1zIjoiTiIsImdyc3IiOiJERUFMRVIiLCJiaWQiOm51bGwsImV4cCI6MTYxMDkzNzk4MSwiaWF0IjoxNjEwOTM3OTIxLCJkaWQiOiI4ZTUwOTZmY2RhIn0.s5GiziEn4l_W-pa5Ogu-6HjAZV6EXHu-lqSUakHlZbZ6flxTBi6yBVcTuCzgGgEp0cuELeYau_Sg-KMqkcaWYQ&settings={"printType"%3A"quotation"%2C"accountCodes"%3A["RET90001"]%2C"displayRealPrice"%3Afalse%2C"headup"%3A"contact"%2C"lineItemCodes"%3A["SC10011571"%2C"SC18269200"%2C"SC18269130"%2C"SC14228810"%2C"SC14227310"%2C"SC14227060"%2C"SC11312020"%2C"SC10012099"%2C"SC10011980"%2C"SC10011961"%2C"SC18269200"%2C"SC14227060"%2C"SC14227310"%2C"SC14228810"%2C"SC18269130"%2C"SC11312020"%2C"SC10012099"%2C"SC10011980"%2C"SC10011961"%2C"A0004003100"%2C"A0008103300"%2C"A2138200803"%2C"A0009701302"%2C"SC14227060"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A2138200803"%2C"A2138200803"%2C"A2138200803"%2C"A2138200803"%2C"A2138200803"%2C"A2138200803"%2C"A2138200803"%2C"A2138200803"%2C"A2138200803"%2C"A2138200803"%2C"A2138200803"%2C"A2138200803"%2C"A2138200803"%2C"A2138200803"%2C"A2138200803"%2C"A2138200803"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0008103300"%2C"A0008103300"%2C"A0008103300"%2C"A0008103300"%2C"A0008103300"%2C"A2138200803"%2C"A2138200803"%2C"A2138200803"%2C"A2138200803"%2C"A2138200803"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"%2C"A0004003100"]}
X-Real-Ip: 172.26.0.1

you can set the entire url enough long.

when i increase the length of entire url including headers, i get 400 always.

traefik version: 2.0