Opened 9 years ago
Closed 9 years ago
#894 closed defect (invalid)
HTTP Response Header incomplete for 414 Request-URI Too Large
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | major | Milestone: | |
Component: | nginx-core | Version: | 1.4.x |
Keywords: | Cc: | cparra@… | |
uname -a: | Linux vpc-tgs-logger3 3.13.0-74-generic #118-Ubuntu SMP Thu Dec 17 22:52:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux | ||
nginx -V: |
nginx version: nginx/1.4.7
built by gcc 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04) TLS SNI support enabled configure arguments: --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-log-path=/var/log/nginx/access.log --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --lock-path=/var/lock/nginx.lock --pid-path=/var/run/nginx.pid --with-http_dav_module --with-http_flv_module --with-http_geoip_module --with-http_gzip_static_module --with-http_realip_module --with-http_stub_status_module --with-http_ssl_module --with-http_sub_module --with-ipv6 --with-sha1=/usr/include/openssl --with-md5=/usr/include/openssl --with-http_stub_status_module --with-http_secure_link_module --with-http_sub_module --add-module=/root/ngx_devel_kit --add-module=/root/set-misc-nginx-module |
Description
Nginx is returning an incomplete HTTP header for HTTP status 414 URI Too Long.
curl -ivk "https://vhost.example.com:443/collect?ua=Mozilla%2F5.0%20%28iPad%3B%20CPU%20OS%208_3%20like%20Mac%20OS%20X%29%20AppleWebKit%2F600.1.4%20%28KHTML%2C%20like%20Gecko%29%20Mobile%2F12F69&category=ad&event=clickthru&dsp=crossinstall&dsppostback=yXLk&ssp=adx&gslug=gummydrop&gscreen=upsell%201&dst=B0111&adcid=7340348&adbid=1&adinv=658511180&kvdb1=&kvdb2=&kvdb3=&kvci1=c2d3bd2a6d66758c660d95a8fea2a5c4&kvci2=yxlk&kvma1=&kvma2=&kvbw1=&kvhash=none&adid=7D580E95-B0E4-4C9C-ABFA-601828F7C531&platform=ipad&os=iOS&osver=8.3&session_id=7D580E95-B0E4-4C9C-ABFA-601828F7C531_1453849726371&kvlo1=&sub1=http%3A%2F%2Fadclick.g.doubleclick.net%2Faclk%3Fsa%3DL%26ai%3DC7rMae_ynVoC2BMyPlALZm5GADamL_cMH8Z3f-dABwI23ARABIABgyb6Di7ik3BiCARtjYS1hcHAtcHViLTkyMDY2NTMxMzIyNTIzMTHIAQmoAwGqBLMBT9BbuHsylMaSb7uigbH68yt6mXUdOYn7EuNJLPAIBs_IY0vCVDyP5ZK9IsxXPEnkKOhrwDm-uHevhEBCJicfqf5GbszntGZB_VQSvcGFXLc3FLO_cXsB2sykxEHNPL_CwZBpsLQKpEdaWyQg5mRdvHOhbBHdPURwo9AqPmVB8iGpXRcOOJ06RxARfzv3mnpj0A9XfoDtZ1NcQGG3NPGsHzITBYKda9Ed0xu_0Cl3EqkWuIGABriQ0I6sqMP_mwGgBiHYBwA%26num%3D1%26sig%3DAOD64_2kk4PhPbrZlEtGqrw7q-dzOZsP8g%26client%3Dca-app-pub-9206653132252311%26adurl%3Dhttps%253A%252F%252Fsecure-click.crossinstall.com%252Fclick%252F%253Fsub%253D1271894%2526sub4%253D1000575%2526ad%253DKfpk%2526sub2%253DVqf8ewABGwAKRQfM0ARN2Q%2526sub3%253D1%2526idfa%253D7D580E95-B0E4-4C9C-ABFA-601828F7C531%2526sub11%253DZGF0ZT0yMDE2MDEyNiZjb3VudHJ5PVVTQSZ0cmFpbmluZ190aW1lc3RhbXA9MjAxNjAxMjAuMDE1NSZjb25uPXVua25vd24mbnVtdmlld3M9JTVCNyU1RCZjdXJyYXBwPTY1ODUxMTE4MCZiaWRfdHlwZT1jcG0mbm90X2luX21vZGVsX3JhaWxlZD1mYWxzZSZjcmVhdGl2ZV9pZD10cmVzZW5zYV8zNjQzMjc0JnBs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JTNBNDMuNDY2WiZ0aW1lc2luY2V2aWV3PSU1QjFkYXktMmRheSU1RCZzZXQ9MC5jbGlja2VycyUyQzAuY29udmVydGVycyUyQzUwMDk2Mzc4NS5jbGlja2VycyUyQzUwMDk2Mzc4NS5jb252ZXJ0ZXJzJTJDNzAwOTcwMDEyLmNsaWNrZXJzJTJDODI4NTc4MjQ2LmNsaWNrZXJzJTJDODkyNTIxOTE3LmNsaWNrZXJzJTJDQ2FyZHMrJTI2K0Nhc2luby5jbGlja2VycyUyQ0NhcmRzKyUyNitDYXNpbm8uY29udmVydGVycyUyQ0Nhc3VhbC5jbGlja2VycyUyQ0dST1dNT0JJTEUuY2xpY2tlcnMlMkNHUk9XTU9CSUxFLmNvbnZlcnRlcnMlMkNHU04uY2xpY2tlcnMlMkNSVEItT1BFTkJJRERFUi5jbGlja2VycyUyQ1NHTi5jbGlja2VycyUyQ1RSRVNFTlNBLmNsaWNrZXJzJnB1Ymxpc2hlcl9uYW1lPSZvcz1pb3MmZGV2aWNlYWdlPSU1QjE4MGRheS0zNjVkYXklNUQmZGlzdGluY3RfYWRfaWQ9MTAwNjY3NSZyZWZlcmVuY2VfcmF0ZT0wLjAwMTczOTcxMjI0NTc5MjY3OTQmY250bF9wcm9iYWJpbGl0eT0xLjAmY2Fycmllcj0wJmN1cnJleD1hZGV4JmJpZHByaWNlYnVja2V0PSU1QjMyLjArdG8rMzIuNSU1RCZwcm9iZV9ib29zdD0xLjEwMDAmZGV2aWNlTW9kZWw9aVBhZCZzdGVwPXJlc3BvbnNlJmFkdmVydGlzZXJfbmFtZT1UUkVTRU5TQSZhZ2U9VW5rbm93biZzbGljZV9pZD0xMDAwNTc1%2526sub9%253Dtresensa_3643274%2526p%253DYXM6MTAyNHg3Njh8YWc6MHxnZToxfGNiOjN8bmE6NHxhbDo0fGN0OjB8cGE6MnxwbToyfHBsOjE%2525253D%2526sub10%253Dadex%2526size%253D1024x768%2526genre%253D%2526publisher%253D658511180%2526postback%253D1%2526auction_id%253Dc2d3bd2a6d66758c660d95a8fea2a5c4&ad_click_url=https%3A%2F%2Fads.tresensa.com%2Fadlink%2F5421%2F3643274%2F0%2F3037%2FAdId%3D7340348%3BBnId%3D1%3Bitime%3D849724180%3Blink%3D&tracking_url=&redirect_url=https%3A%2F%2F88312.api-04.com%2Fserve%3Faction%3Dclick%26publisher_id%3D88312%26site_id%3D56148%26offer_id%3D292564%26sub1%3Dipad%26sub2%3Dgummydrop%26sub3%3Dupsell%25201%26sub4%3DeyJhZGNpZCI6IjczNDAzNDgiLCJhZGJpZCI6IjEiLCJhZGludiI6IjY1ODUxMTE4MCIsImRzdCI6IkIwMTExIiwicGxhdGZvcm0iOiJpcGFkIiwiZ3NsdWciOiJndW1teWRyb3AiLCJhdHRyaWQiOiJ0dW5lIiwibWl4cGFuZWx1c2VyaWQiOiI3RDU4MEU5NS1CMEU0LTRDOUMtQUJGQS02MDE4MjhGN0M1MzEiLCJkc3AiOiJjcm9zc2luc3RhbGwiLCJhcHBuZXh1c3BpeGVsaWQiOiIiLCJkc3Bwb3N0YmFjayI6InlYTGsiLCJrdmNpMSI6ImMyZDNiZDJhNmQ2Njc1OGM2NjBkOTVhOGZlYTJhNWM0Iiwia3ZjaTIiOiJ5eGxrIiwia3ZkYjEiOiIiLCJrdmRiMiI6IiIsImt2ZGIzIjoiIiwia3ZtYTEiOiIiLCJrdm1hMiI6IiIsImt2bG8xIjoiIiwia3ZidzEiOiIiLCJzZXNzaW9uX2lkIjoiN0Q1ODBFOTUtQjBFNC00QzlDLUFCRkEtNjAxODI4RjdDNTMxXzE0NTM4NDk3MjYzNzEiLCJzc3AiOiJhZHgifQ%253D%253D%26sub5%3Dcrossinstall-yXLk%26sub_publisher%3DB0111%26sub_campaign%3D7340348%26sub_ad%3D1%26sub_site%3D658511180%26ref_id%3Dc2d3bd2a6d66758c660d95a8fea2a5c4%26ios_ifa%3D7D580E95-B0E4-4C9C-ABFA-601828F7C531&redirect_time=11&execution_time=717&query_string=json%3Dfalse%26session_id%3D7D580E95-B0E4-4C9C-ABFA-601828F7C531_1453849726371%26dst%3DB0111%26adid%3D7D580E95-B0E4-4C9C-ABFA-601828F7C531%26hash%3Dnone%26adcid%3D7340348%26adbid%3D1%26adinv%3D658511180%26dsppostback%3DyXLk%26dsp%3Dcrossinstall%26ssp%3Dadx%26kvci1%3Dc2d3bd2a6d66758c660d95a8fea2a5c4%26kvci2%3Dyxlk%26screen%3Dupsell%25201%26slug%3Dgummydrop%26mixpaneluserid%3D7D580E95-B0E4-4C9C-ABFA-601828F7C531%26ad_click_url%3Dhttps%253A%252F%252Fads.tresensa.com%252Fadlink%252F5421%252F3643274%252F0%252F3037%252FAdId%253D7340348%253BBnId%253D1%253Bitime%253D849724180%253Blink%253D%26tracking_url%3D%26sub1%3Dhttp%253A%252F%252Fadclick.g.doubleclick.net%252Faclk%253Fsa%253DL%2526ai%253DC7rMae_ynVoC2BMyPlALZm5GADamL_cMH8Z3f-dABwI23ARABIABgyb6Di7ik3BiCARtjYS1hcHAtcHViLTkyMDY2NTMxMzIyNTIzMTHIAQmoAwGqBLMBT9BbuHsylMaSb7uigbH68yt6mXUdOYn7EuNJLPAIBs_IY0vCVDyP5ZK9IsxXPEnkKOhrwDm-uHevhEBCJicfqf5GbszntGZB_VQSvcGFXLc3FLO_cXsB2sykxEHNPL_CwZBpsLQKpEdaWyQg5mRdvHOhbBHdPURwo9AqPmVB8iGpXRcOOJ06RxARfzv3mnpj0A9XfoDtZ1NcQGG3NPGsHzITBYKda9Ed0xu_0Cl3EqkWuIGABriQ0I6sqMP_mwGgBiHYBwA%2526num%253D1%2526sig%253DAOD64_2kk4PhPbrZlEtGqrw7q-dzOZsP8g%2526client%253Dca-app-pub-9206653132252311%2526adurl%253Dhttps%25253A%25252F%25252Fsecure-click.crossinstall.com%25252Fclick%25252F%25253Fsub%25253D1271894%252526sub4%25253D1000575%252526ad%25253DKfpk%252526sub2%25253DVqf8ewABGwAKRQfM0ARN2Q%252526sub3%25253D1%252526idfa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V2aWNlTW9kZWw9aVBhZCZzdGVwPXJlc3BvbnNlJmFkdmVydGlzZXJfbmFtZT1UUkVTRU5TQSZhZ2U9VW5rbm93biZzbGljZV9pZD0xMDAwNTc1%252526sub9%25253Dtresensa_3643274%252526p%25253DYXM6MTAyNHg3Njh8YWc6MHxnZToxfGNiOjN8bmE6NHxhbDo0fGN0OjB8cGE6MnxwbToyfHBsOjE%252525253D%252526sub10%25253Dadex%252526size%25253D1024x768%252526genre%25253D%252526publisher%25253D658511180%252526postback%25253D1%252526auction_id%25253Dc2d3bd2a6d66758c660d95a8fea2a5c4" * Hostname was NOT found in DNS cache * Trying 1.2.3.4... * Connected to vhost.example.com (1.2.3.4) port 443 (#0) * successfully set certificate verify locations: * CAfile: none CApath: /etc/ssl/certs * SSLv3, TLS handshake, Client hello (1): * SSLv3, TLS handshake, Server hello (2): * SSLv3, TLS handshake, CERT (11): * SSLv3, TLS handshake, Server key exchange (12): * SSLv3, TLS handshake, Server finished (14): * SSLv3, TLS handshake, Client key exchange (16): * SSLv3, TLS change cipher, Client hello (1): * SSLv3, TLS handshake, Finished (20): * SSLv3, TLS change cipher, Client hello (1): * SSLv3, TLS handshake, Finished (20): * SSL connection using ECDHE-RSA-AES256-GCM-SHA384 * Server certificate: * subject: OU=Domain Control Validated; CN=*.example.com * start date: 2015-08-28 20:08:39 GMT * expire date: 2017-08-28 20:08:39 GMT * issuer: XXXXX * SSL certificate verify ok. > GET /collect?ua=Mozilla%2F5.0%20%28iPad%3B%20CPU%20OS%208_3%20like%20Mac%20OS%20X%29%20AppleWebKit%2F600.1.4%20%28KHTML%2C%20like%20Gecko%29%20Mobile%2F12F69&category=ad&event=clickthru&dsp=crossinstall&dsppostback=yXLk&ssp=adx&gslug=gummydrop&gscreen=upsell%201&dst=B0111&adcid=7340348&adbid=1&adinv=658511180&kvdb1=&kvdb2=&kvdb3=&kvci1=c2d3bd2a6d66758c660d95a8fea2a5c4&kvci2=yxlk&kvma1=&kvma2=&kvbw1=&kvhash=none&adid=7D580E95-B0E4-4C9C-ABFA-601828F7C531&platform=ipad&os=iOS&osver=8.3&session_id=7D580E95-B0E4-4C9C-ABFA-601828F7C531_1453849726371&kvlo1=&sub1=http%3A%2F%2Fadclick.g.doubleclick.net%2Faclk%3Fsa%3DL%26ai%3DC7rMae_ynVoC2BMyPlALZm5GADamL_cMH8Z3f-dABwI23ARABIABgyb6Di7ik3BiCARtjYS1hcHAtcHViLTkyMDY2NTMxMzIyNTIzMTHIAQmoAwGqBLMBT9BbuHsylMaSb7uigbH68yt6mXUdOYn7EuNJLPAIBs_IY0vCVDyP5ZK9IsxXPEnkKOhrwDm-uHevhEBCJicfqf5GbszntGZB_VQSvcGFXLc3FLO_cXsB2sykxEHNPL_CwZBpsLQKpEdaWyQg5mRdvHOhbBHdPURwo9AqPmVB8iGpXRcOOJ06RxARfzv3mnpj0A9XfoDtZ1NcQGG3NPGsHzITBYKda9Ed0xu_0Cl3EqkWuIGABriQ0I6sqMP_mwGgBiHYBwA%26num%3D1%26sig%3DAOD64_2kk4PhPbrZlEtGqrw7q-dzOZsP8g%26client%3Dca-app-pub-9206653132252311%26adurl%3Dhttps%253A%252F%252Fsecure-click.crossinstall.com%252Fclick%252F%253Fsub%253D1271894%2526sub4%253D1000575%2526ad%253DKfpk%2526sub2%253DVqf8ewABGwAKRQfM0ARN2Q%2526sub3%253D1%2526idfa%253D7D580E95-B0E4-4C9C-ABFA-601828F7C531%2526sub11%253DZGF0ZT0yMDE2MDEyNiZjb3VudHJ5PVVTQSZ0cmFpbmluZ190aW1lc3RhbXA9MjAxNjAxMjAuMDE1NSZjb25uPXVua25vd24mbnVtdmlld3M9JTVCNyU1RCZjdXJyYXBwPTY1ODUxMTE4MCZiaWRfdHlwZT1jcG0mbm90X2luX21vZGVsX3JhaWxlZD1mYWxzZSZjcmVhdGl2ZV9pZD10cmVzZW5zYV8zNjQzMjc0JnBsYXlhYmxlPXllcyZudW12aWV3cy1wdWI9JTVCNyU1RCZzY29yZT02Lj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1RCZzZXQ9MC5jbGlja2VycyUyQzAuY29udmVydGVycyUyQzUwMDk2Mzc4NS5jbGlja2VycyUyQzUwMDk2Mzc4NS5jb252ZXJ0ZXJzJTJDNzAwOTcwMDEyLmNsaWNrZXJzJTJDODI4NTc4MjQ2LmNsaWNrZXJzJTJDODkyNTIxOTE3LmNsaWNrZXJzJTJDQ2FyZHMrJTI2K0Nhc2luby5jbGlja2VycyUyQ0NhcmRzKyUyNitDYXNpbm8uY29udmVydGVycyUyQ0Nhc3VhbC5jbGlja2VycyUyQ0dST1dNT0JJTEUuY2xpY2tlcnMlMkNHUk9XTU9CSUxFLmNvbnZlcnRlcnMlMkNHU04uY2xpY2tlcnMlMkNSVEItT1BFTkJJRERFUi5jbGlja2VycyUyQ1NHTi5jbGlja2VycyUyQ1RSRVNFTlNBLmNsaWNrZXJzJnB1Ymxpc2hlcl9uYW1lPSZvcz1pb3MmZGV2aWNlYWdlPSU1QjE4MGRheS0zNjVkYXklNUQmZGlzdGluY3RfYWRfaWQ9MTAwNjY3NSZyZWZlcmVuY2VfcmF0ZT0wLjAwMTczOTcxMjI0NTc5MjY3OTQmY250bF9wcm9iYWJpbGl0eT0xLjAmY2Fycmllcj0wJmN1cnJleD1hZGV4JmJpZHByaWNlYnVja2V0PSU1QjMyLjArdG8rMzIuNSU1RCZwcm9iZV9ib29zdD0xLjEwMDAmZGV2aWNlTW9kZWw9aVBhZCZzdGVwPXJlc3BvbnNlJmFkdmVydGlzZXJfbmFtZT1UUkVTRU5TQSZhZ2U9VW5rbm93biZzbGljZV9pZD0xMDAwNTc1%2526sub9%253Dtresensa_3643274%2526p%253DYXM6MTAyNHg3Njh8YWc6MHxnZToxfGNiOjN8bmE6NHxhbDo0fGN0OjB8cGE6MnxwbToyfHBsOjE%2525253D%2526sub10%253Dadex%2526size%253D1024x768%2526genre%253D%2526publisher%253D658511180%2526postback%253D1%2526auction_id%253Dc2d3bd2a6d66758c660d95a8fea2a5c4&ad_click_url=https%3A%2F%2Fads.tresensa.com%2Fadlink%2F5421%2F3643274%2F0%2F3037%2FAdId%3D7340348%3BBnId%3D1%3Bitime%3D849724180%3Blink%3D&tracking_url=&redirect_url=https%3A%2F%2F88312.api-04.com%2Fserve%3Faction%3Dclick%26publisher_id%3D88312%26site_id%3D56148%26offer_id%3D292564%26sub1%3Dipad%26sub2%3Dgummydrop%26sub3%3Dupsell%25201%26sub4%3DeyJhZGNpZCI6IjczNDAzNDgiLCJhZGJpZCI6IjEiLCJhZGludiI6IjY1ODUxMTE4MCIsImRzdCI6IkIwMTExIiwicGxhdGZvcm0iOiJpcGFkIiwiZ3NsdWciOiJndW1teWRyb3AiLCJhdHRyaWQiOiJ0dW5lIiwibWl4cGFuZWx1c2VyaWQiOiI3RDU4MEU5NS1CMEU0LTRDOUMtQUJGQS02MDE4MjhGN0M1MzEiLCJkc3AiOiJjcm9zc2luc3RhbGwiLCJhcHBuZXh1c3BpeGVsaWQiOiIiLCJkc3Bwb3N0YmFjayI6InlYTGsiLCJrdmNpMSI6ImMyZDNiZDJhNmQ2Njc1OGM2NjBkOTVhOGZlYTJhNWM0Iiwia3ZjaTIiOiJ5eGxrIiwia3ZkYjEiOiIiLCJrdmRiMiI6IiIsImt2ZGIzIjoiIiwia3ZtYTEiOiIiLCJrdm1hMiI6IiIsImt2bG8xIjoiIiwia3ZidzEiOiIiLCJzZXNzaW9uX2lkIjoiN0Q1ODBFOTUtQjBFNC00QzlDLUFCRkEtNjAxODI4RjdDNTMxXzE0NTM4NDk3MjYzNzEiLCJzc3AiOiJhZHgifQ%253D%253D%26sub5%3Dcrossinstall-yXLk%26sub_publisher%3DB0111%26sub_campaign%3D7340348%26sub_ad%3D1%26sub_site%3D658511180%26ref_id%3Dc2d3bd2a6d66758c660d95a8fea2a5c4%26ios_ifa%3D7D580E95-B0E4-4C9C-ABFA-601828F7C531&redirect_time=11&execution_time=717&query_string=json%3Dfalse%26session_id%3D7D580E95-B0E4-4C9C-ABFA-601828F7C531_1453849726371%26dst%3DB0111%26adid%3D7D580E95-B0E4-4C9C-ABFA-601828F7C531%26hash%3Dnone%26adcid%3D7340348%26adbid%3D1%26adinv%3D658511180%26dsppostback%3DyXLk%26dsp%3Dcrossinstall%26ssp%3Dadx%26kvci1%3Dc2d3bd2a6d66758c660d95a8fea2a5c4%26kvci2%3Dyxlk%26screen%3Dupsell%25201%26slug%3Dgummydrop%26mixpaneluserid%3D7D580E95-B0E4-4C9C-ABFA-601828F7C531%26ad_click_url%3Dhttps%253A%252F%252Fads.tresensa.com%252Fadlink%252F5421%252F3643274%252F0%252F3037%252FAdId%253D7340348%253BBnId%253D1%253Bitime%253D849724180%253Blink%253D%26tracking_url%3D%26sub1%3Dhttp%253A%252F%252Fadclick.g.doubleclick.net%252Faclk%253Fsa%253DL%2526ai%253DC7rMae_ynVoC2BMyPlALZm5GADamL_cMH8Z3f-dABwI23ARABIABgyb6Di7ik3BiCARtjYS1hcHAtcHViLTkyMDY2NTMxMzIyNTIzMTHIAQmoAwGqBLMBT9BbuHsylMaSb7uigbH68yt6mXUdOYn7EuNJLPAIBs_IY0vCVDyP5ZK9IsxXPEnkKOhrwDm-uHevhEBCJicfqf5GbszntGZB_VQSvcGFXLc3FLO_cXsB2sykxEHNPL_CwZBpsLQKpEdaWyQg5mRdvHOhbBHdPURwo9AqPmVB8iGpXRcOOJ06RxARfzv3mnpj0A9XfoDtZ1NcQGG3NPGsHzITBYKda9Ed0xu_0Cl3EqkWuIGABriQ0I6sqMP_mwGgBiHYBwA%2526num%253D1%2526sig%253DAOD64_2kk4PhPbrZlEtGqrw7q-dzOZsP8g%2526client%253Dca-app-pub-9206653132252311%2526adurl%253Dhttps%25253A%25252F%25252Fsecure-click.crossinstall.com%25252Fclick%25252F%25253Fsub%25253D1271894%252526sub4%25253D1000575%252526ad%25253DKfpk%252526sub2%25253DVqf8ewABGwAKRQfM0ARN2Q%252526sub3%25253D1%252526idfa%25253D7D580E95-B0E4-4C9C-ABFA-601828F7C531%252526sub11%25253DZGF0ZT0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ZXJfbmFtZT1UUkVTRU5TQSZhZ2U9VW5rbm93biZzbGljZV9pZD0xMDAwNTc1%252526sub9%25253Dtresensa_3643274%252526p%25253DYXM6MTAyNHg3Njh8YWc6MHxnZToxfGNiOjN8bmE6NHxhbDo0fGN0OjB8cGE6MnxwbToyfHBsOjE%252525253D%252526sub10%25253Dadex%252526size%25253D1024x768%252526genre%25253D%252526publisher%25253D658511180%252526postback%25253D1%252526auction_id%25253Dc2d3bd2a6d66758c660d95a8fea2a5c4 HTTP/1.1 > User-Agent: curl/7.35.0 > Host: vhost.example.com > Accept: */* > <html> <head><title>414 Request-URI Too Large</title></head> <body bgcolor="white"> <center><h1>414 Request-URI Too Large</h1></center> <hr><center>nginx/1.4.7</center> </body> </html>
You can see from the response that it is simply "HTTP/1.1" instead of the expected "HTTP/1.1 414 Request-URI Too Large". An example where this works properly is with a 404:
brett@elysium:~/ibm$ curl -ivk "https://vhost.example.com/nonexist.html" * Hostname was NOT found in DNS cache * Trying 1.2.3.4... * Connected to lvhost.example.com (1.2.3.4) port 443 (#0) * successfully set certificate verify locations: * CAfile: none CApath: /etc/ssl/certs * SSLv3, TLS handshake, Client hello (1): * SSLv3, TLS handshake, Server hello (2): * SSLv3, TLS handshake, CERT (11): * SSLv3, TLS handshake, Server key exchange (12): * SSLv3, TLS handshake, Server finished (14): * SSLv3, TLS handshake, Client key exchange (16): * SSLv3, TLS change cipher, Client hello (1): * SSLv3, TLS handshake, Finished (20): * SSLv3, TLS change cipher, Client hello (1): * SSLv3, TLS handshake, Finished (20): * SSL connection using ECDHE-RSA-AES256-GCM-SHA384 * Server certificate: * subject: OU=Domain Control Validated; CN=*.example.com * start date: 2015-08-28 20:08:39 GMT * expire date: 2017-08-28 20:08:39 GMT * issuer: XXXXXX * SSL certificate verify ok. > GET /nonexist.html HTTP/1.1 > User-Agent: curl/7.35.0 > Host: vhost.example.com > Accept: */* > < HTTP/1.1 404 Not Found HTTP/1.1 404 Not Found * Server nginx/1.4.7 is not blacklisted < Server: nginx/1.4.7 Server: nginx/1.4.7 < Date: Wed, 03 Feb 2016 21:38:27 GMT Date: Wed, 03 Feb 2016 21:38:27 GMT < Content-Type: text/html Content-Type: text/html < Content-Length: 168 Content-Length: 168 < Connection: keep-alive Connection: keep-alive < <html> <head><title>404 Not Found</title></head> <body bgcolor="white"> <center><h1>404 Not Found</h1></center> <hr><center>nginx/1.4.7</center> </body> </html> * Connection #0 to host logger.tresensa.com left intact
Change History (3)
comment:1 by , 9 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 9 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Perhaps I did not explain properly. The issue is with the response header from Nginx not containing the full HTTP status (e.g. "HTTP/1.1 414 Request-URI Too Large"), but rather just "HTTP/1.1".
comment:3 by , 9 years ago
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
HTTP/0.9 responses are not expected to contain neither status line nor headers, just an entity body. See http://tools.ietf.org/html/rfc1945#section-4.1 for details.
Note:
See TracTickets
for help on using tickets.
As the request URI is too large, nginx is unable to parse protocol version which comes after it. Therefore nginx assumes the request was made using the default HTTP version, which is HTTP/0.9 in the nginx version you are using. The response in question is a perfectly valid HTTP/0.9 response.
The default version was changed to HTTP/1.0 in nginx 1.5.5, see CHANGES:
That is, HTTP/1.0 is currently the default in all supported versions. Consider upgrading to a newer nginx version if HTTP/0.9 looks wrong for you.