<div dir="ltr">While serving a lot of WAP&nbsp; / Mobile Based content, nginx is throwing up a lot of HTTP 400 errors. Also connection refused upstream is coming a lot!<br><br><i><br>2008/07/29 10:43:46 [info] 20025#0: *32822441 client sent invalid header line: &quot;x-nokia.wia.accept.original: text/javascript,text/ecmascript,application/x-ja<br>
vascript,*/*,text/x-vCard,text/x-vCalendar,image/gif,image/vnd.wap.wbmp&quot; while reading client request headers, client: <a href="http://125.18.235.215">125.18.235.215</a>, server: <a href="http://whatever.com">whatever.com</a>, r<br>
equest: &quot;GET /ad/ad_picture/1085/167this.jpg HTTP/1.1&quot;, host: &quot;<a href="http://www.whatever.com">www.whatever.com</a>&quot;<br>2008/07/29 10:43:48 [info] 20025#0: *32822483 client sent invalid request while reading client request line, client: <a href="http://69.64.49.234">69.64.49.234</a>, server: <a href="http://whatever.com">whatever.com</a>, reque<br>
st: &quot;GET /waphandler?cid=14131C047A5041424257475C4657455C8D8F&amp;ua=SPICE-S808%2FWAP+Browser&amp;ip=ip_zest&amp;mt=Insert relevant metadata here&amp;request=impression HTTP<br>/1.0&quot;<br>2008/07/29 10:43:53 [info] 20025#0: *32822606 client sent invalid header line: &quot;X-Nokia-CONNECTION_MODE: CMODE&quot; while reading client request headers, client:<br>
&nbsp;<a href="http://203.145.131.148">203.145.131.148</a>, server: <a href="http://whatever.com">whatever.com</a>, request: &quot;GET /ad/ad_picture/1091/top10_216x36.jpg HTTP/1.1&quot;, host: &quot;<a href="http://www.whatever.com">www.whatever.com</a>&quot;<br>
2008/07/29 10:43:53 [info] 20025#0: *32822606 client sent invalid header line: &quot;X-Nokia-GATEWAY_ID: NWG/4.1/Build104&quot; while reading client request headers, c<br>lient: <a href="http://203.145.131.148">203.145.131.148</a>, server: <a href="http://whatever.com">whatever.com</a>, request: &quot;GET /ad/ad_picture/1091/top10_216x36.jpg HTTP/1.1&quot;, host: &quot;<a href="http://www.whatever.com">www.whatever.com</a>&quot;<br>
2008/07/29 10:43:53 [info] 20025#0: *32822606 client sent invalid header line: &quot;x-nokia.wia.accept.original: image/jpeg,*/*,text/x-vCard,text/x-vCalendar,ima<br>ge/gif,image/vnd.wap.wbmp&quot; while reading client request headers, client: <a href="http://203.145.131.148">203.145.131.148</a>, server: <a href="http://whatever.com">whatever.com</a>, request: &quot;GET /ad/ad_picture/1091/top10_216x36<br>
.jpg HTTP/1.1&quot;, host: &quot;<a href="http://www.whatever.com">www.whatever.com</a>&quot;<br>2008/07/29 10:43:55 [error] 20025#0: *32822647 connect() failed (111: Connection refused) while connecting to upstream, client: <a href="http://67.212.160.90">67.212.160.90</a>, server: zestad<br>
<a href="http://z.com">z.com</a>, request: &quot;GET /waphandler?cid=14131C047A504142455844554756465A8F89&amp;ua=Mozilla%2F4.0+%28compatible%3B+MSIE+6.0%3B+Symbian+OS%3B+Nokia+3230%2F5.0604.0%3<br>B+9399%29+Opera+8.65+%5Ben%5D&amp;ip=<a href="http://117.99.58.93">117.99.58.93</a>&amp;mt=symbian&amp;request=impression HTTP/1.0&quot;, upstream: &quot;<a href="http://192.168.1.3:9003/waphandler?cid=14131C047A5041424558">http://192.168.1.3:9003/waphandler?cid=14131C047A5041424558</a><br>
44554756465A8F89&amp;ua=Mozilla%2F4.0+%28compatible%3B+MSIE+6.0%3B+Symbian+OS%3B+Nokia+3230%2F5.0604.0%3B+9399%29+Opera+8.65+%5Ben%5D&amp;ip=<a href="http://117.99.58.93">117.99.58.93</a>&amp;mt=symbian&amp;<br>request=impression&quot;, host: &quot;<a href="http://www.whatever.com">www.whatever.com</a>&quot;<br>
2008/07/29 10:43:55 [error] 20025#0: *32822647 connect() failed (111: Connection refused) while connecting to upstream, client: <a href="http://67.212.160.90">67.212.160.90</a>, server: zestad<br><a href="http://z.com">z.com</a>, request: &quot;GET /waphandler?cid=14131C047A504142455844554756465A8F89&amp;ua=Mozilla%2F4.0+%28compatible%3B+MSIE+6.0%3B+Symbian+OS%3B+Nokia+3230%2F5.0604.0%3<br>
B+9399%29+Opera+8.65+%5Ben%5D&amp;ip=<a href="http://117.99.58.93">117.99.58.93</a>&amp;mt=symbian&amp;request=impression HTTP/1.0&quot;, upstream: &quot;<a href="http://192.168.1.3:9004/waphandler?cid=14131C047A5041424558">http://192.168.1.3:9004/waphandler?cid=14131C047A5041424558</a><br>
44554756465A8F89&amp;ua=Mozilla%2F4.0+%28compatible%3B+MSIE+6.0%3B+Symbian+OS%3B+Nokia+3230%2F5.0604.0%3B+9399%29+Opera+8.65+%5Ben%5D&amp;ip=<a href="http://117.99.58.93">117.99.58.93</a>&amp;mt=symbian&amp;<br>request=impression&quot;, host: &quot;<a href="http://www.whatever.com">www.whatever.com</a>&quot;<br>
2008/07/29 10:44:03 [info] 20025#0: *32822864 client sent invalid header line: &quot;X-Nokia-CONNECTION_MODE: CMODE&quot; while reading client request headers, client:<br>&nbsp;<a href="http://203.145.134.213">203.145.134.213</a>, server: <a href="http://whatever.com">whatever.com</a>, request: &quot;GET /ad/ad_picture/1094/hashar_216x36.jpg HTTP/1.1&quot;, host: &quot;<a href="http://www.whatever.com">www.whatever.com</a>&quot;<br>
2008/07/29 10:44:03 [info] 20025#0: *32822864 client sent invalid header line: &quot;X-Nokia-GATEWAY_ID: NWG/4.1/Build101&quot; while reading client request headers, c<br>lient: <a href="http://203.145.134.213">203.145.134.213</a>, server: <a href="http://whatever.com">whatever.com</a>, request: &quot;GET /ad/ad_picture/1094/hashar_216x36.jpg HTTP/1.1&quot;, host: &quot;<a href="http://www.whatever.com">www.whatever.com</a>&quot;<br>
2008/07/29 10:44:03 [info] 20025#0: *32822864 client sent invalid header line: &quot;x-nokia.wia.accept.original: application/vnd.wap.connectivity-wbxml,applicati<br>on/vnd.wap.wmlc,application/vnd.wap.wmlscriptc,image/vnd.wap.wbmp,image/gif,image/jpeg,image/png,image/bmp,application/xhtml+xml,application/vnd.wap.xhtml+xm<br>
l,text/html,text/css,application/vnd.wap.mms-message,application/vnd.wap.sic,audio/midi,audio/sp-midi,audio/mid,audio/imelody,text/x-imelody,application/vnd.<br>oma.drm.message,application/vnd.oma.drm.content,application/vnd.oma.drm.rights+xml,application/vnd.oma.drm.rights+wbxml,text/x-vCard,text/x-vCalendar&quot; while<br>
reading client request headers, client: <a href="http://203.145.134.213">203.145.134.213</a>, server: <a href="http://whatever.com">whatever.com</a>, request: &quot;GET /ad/ad_picture/1094/hashar_216x36.jpg HTTP/1.1&quot;, host: &quot;www.zesta<br>
<a href="http://dz.com">dz.com</a>&quot;<br>2008/07/29 10:44:06 [info] 20025#0: *32822926 client sent invalid header line: &quot;X-Nokia-CONNECTION_MODE: TCP&quot; while reading client request headers, client: 1<br><a href="http://25.18.235.215">25.18.235.215</a>, server: <a href="http://whatever.com">whatever.com</a>, request: &quot;GET /ad/ad_picture/1091/top10_216x36.jpg HTTP/1.1&quot;, host: &quot;<a href="http://www.whatever.com">www.whatever.com</a>&quot;<br>
2008/07/29 10:44:06 [info] 20025#0: *32822926 client sent invalid header line: &quot;X-Nokia-GATEWAY_ID: NWG/4.1/Build104&quot; while reading client request headers, c<br>lient: <a href="http://125.18.235.215">125.18.235.215</a>, server: <a href="http://whatever.com">whatever.com</a>, request: &quot;GET /ad/ad_picture/1091/top10_216x36.jpg HTTP/1.1&quot;, host: &quot;<a href="http://www.whatever.com">www.whatever.com</a>&quot;<br>
2008/07/29 10:44:06 [info] 20025#0: *32822926 client sent invalid header line: &quot;x-nokia.wia.accept.original: image/vnd.wap.wbmp,image/gif,image/jpg,image/jpe<br>g,image/png,image/bmp,image/x-bmp,text/x-vCard,text/x-vCalendar&quot; while reading client request headers, client: <a href="http://125.18.235.215">125.18.235.215</a>, server: <a href="http://whatever.com">whatever.com</a>, request:<br>
&quot;GET /ad/ad_picture/1091/top10_216x36.jpg HTTP/1.1&quot;, host: &quot;<a href="http://www.whatever.com">www.whatever.com</a>&quot;<br>2008/07/29 10:44:06 [info] 20025#0: *32822929 client sent invalid header line: &quot;X-Nokia-CONNECTION_MODE: TCP&quot; while reading client request headers, client: 2<br>
<a href="http://03.145.131.148">03.145.131.148</a>, server: <a href="http://whatever.com">whatever.com</a>, request: &quot;GET /ad/ad_picture/1091/top10_216x36.jpg HTTP/1.1&quot;, host: &quot;<a href="http://www.whatever.com">www.whatever.com</a>&quot;<br>
2008/07/29 10:44:06 [info] 20025#0: *32822929 client sent invalid header line: &quot;X-Nokia-GATEWAY_ID: NWG/4.1/Build104&quot; while reading client request headers, c<br>lient: <a href="http://203.145.131.148">203.145.131.148</a>, server: <a href="http://whatever.com">whatever.com</a>, request: &quot;GET /ad/ad_picture/1091/top10_216x36.jpg HTTP/1.1&quot;, host: &quot;<a href="http://www.whatever.com">www.whatever.com</a>&quot;</i><br>
<br><br>Can someone suggest what are these errors and suggest resolution.<br><br>Thanks for the replies<br><br>Asif<br></div>