SQUID COM ERRO

1. SQUID COM ERRO

Jefferson Luiz Silva
jlsistemas

(usa Debian)

Enviado em 16/04/2012 - 10:24h

Ja configurei i squid outras vezes mas essa é nova, depois e levantar o SQUID ele retrorna esse errro nos cleintes em q q site q queira acessar .


ERROR

The requested URL could not be retrieved

Invalid Request error was encountered while trying to process the request:

GET /search?hl=pt-BR&sclient=psy-ab&q=ERROR++The+requested+URL+could+not+be+retrieved++Invalid+Request+error+was+encountered+while+trying+to+process+the+request:++GET+%2F+HTTP%2F1.1+Host%3A+www.google.com.br+Connection%3A+keep-alive+User-Agent%3A+Mozilla%2F5.0+(Windows+NT+5.1)+AppleWebKit%2F535.19+(KHTML%2C+like+Gecko)+Chrome%2F18.0.1025.152+Safari%2F535.19+Accept%3A+text%2Fhtml%2Capplication%2Fxhtml%2Bxml%2Capplication%2Fxml%3Bq%3D0.9%2C*%2F*%3Bq%3D0.8+Accept-Encoding%3A+gzip%2Cdeflate%2Csdch+Accept-Language%3A+pt-BR%2Cpt%3Bq%3D0.8%2Cen-US%3Bq%3D0.6%2Cen%3Bq%3D0.4+Accept-Charset%3A+ISO-8859-1%2Cutf-8%3Bq%3D0.7%2C*%3Bq%3D0.3+Cookie%3A+PP_TOS_ACK%3D-1%3B+PREF%3DID%3Dcee1cc8ac9392d52%3AU%3D1cc2d7712ac12f29%3AFF%3D0%3ALD%3Dpt-BR%3ACR%3D2%3ATM%3D1321635384%3ALM%3D1330602226%3AIG%3D5%3AS%3DnLd6fz0Mf-bYuiiJ%3B+NID%3D58%3DcGdhx2ozfagZ4uwzXS8FRvmwidIvftMNq5Rmb-ysW05WpYMS08XIc3z_hq9RlwliyR_XDw9GL0KXlKgN4vBest76zhfXhhzwZka7-U_j-n_Kivwcla9tjsjLcUuLvJZs%3B+SID%3DDQAAAMQAAABVSYMAaPNG9pOx5qssFX0zhWFK_YI_ivuIjBnlwhxaPwf9cLzuJdVw-wsvKuUactddSjVtoik9XJh1B1PvFJqJmNvtHXOzwSRXdrqbzOCT7Qrd_Amlm0uLUXBZY1a36butrnYvv_iGw4yOSaFbM2603WB8KJ5VhsDVlMEDbNgHNuHw7igmTLKaTkMShR2Dhw4A5Cq_NELjOy-qq2EFAZFi5_BU6z6NMEB6b7dlsqVrSBfpNkfa5STAIWCzUivDsuFvDFvYmC2xJlf4vVcUm8I2%3B+HSID%3DAW5OMHGfEzJfYsjBh++Some+possible+problems+are%3A++Missing+or+unknown+request+method.++Missing+URL.++Missing+HTTP+Identifier+(HTTP%2F1.0).++Request+is+too+large.++Content-Length+missing+for+POST+or+PUT+requests.++Illegal+character+in+hostname%3B+underscores+are+not+allowed.++HTTP%2F1.1+Expect%3A+feature+is+being+asked+from+an+HTTP%2F1.0+software.&oq=ERROR++The+requested+URL+could+not+be+retrieved++Invalid+Request+error+was+encountered+while+trying+to+process+the+request:++GET+%2F+HTTP%2F1.1+Host%3A+www.google.com.br+Connection%3A+keep-alive+User-Agent%3A+Mozilla%2F5.0+(Windows+NT+5.1)+AppleWebKit%2F535.19+(KHTML%2C+like+Gecko)+Chrome%2F18.0.1025.152+Safari%2F535.19+Accept%3A+text%2Fhtml%2Capplication%2Fxhtml%2Bxml%2Capplication%2Fxml%3Bq%3D0.9%2C*%2F*%3Bq%3D0.8+Accept-Encoding%3A+gzip%2Cdeflate%2Csdch+Accept-Language%3A+pt-BR%2Cpt%3Bq%3D0.8%2Cen-US%3Bq%3D0.6%2Cen%3Bq%3D0.4+Accept-Charset%3A+ISO-8859-1%2Cutf-8%3Bq%3D0.7%2C*%3Bq%3D0.3+Cookie%3A+PP_TOS_ACK%3D-1%3B+PREF%3DID%3Dcee1cc8ac9392d52%3AU%3D1cc2d7712ac12f29%3AFF%3D0%3ALD%3Dpt-BR%3ACR%3D2%3ATM%3D1321635384%3ALM%3D1330602226%3AIG%3D5%3AS%3DnLd6fz0Mf-bYuiiJ%3B+NID%3D58%3DcGdhx2ozfagZ4uwzXS8FRvmwidIvftMNq5Rmb-ysW05WpYMS08XIc3z_hq9RlwliyR_XDw9GL0KXlKgN4vBest76zhfXhhzwZka7-U_j-n_Kivwcla9tjsjLcUuLvJZs%3B+SID%3DDQAAAMQAAABVSYMAaPNG9pOx5qssFX0zhWFK_YI_ivuIjBnlwhxaPwf9cLzuJdVw-wsvKuUactddSjVtoik9XJh1B1PvFJqJmNvtHXOzwSRXdrqbzOCT7Qrd_Amlm0uLUXBZY1a36butrnYvv_iGw4yOSaFbM2603WB8KJ5VhsDVlMEDbNgHNuHw7igmTLKaTkMShR2Dhw4A5Cq_NELjOy-qq2EFAZFi5_BU6z6NMEB6b7dlsqVrSBfpNkfa5STAIWCzUivDsuFvDFvYmC2xJlf4vVcUm8I2%3B+HSID%3DAW5OMHGfEzJfYsjBh++Some+possible+problems+are%3A++Missing+or+unknown+request+method.++Missing+URL.++Missing+HTTP+Identifier+(HTTP%2F1.0).++Request+is+too+large.++Content-Length+missing+for+POST+or+PUT+requests.++Illegal+character+in+hostname%3B+underscores+are+not+allowed.++HTTP%2F1.1+Expect%3A+feature+is+being+asked+from+an+HTTP%2F1.0+software.&aq=f&aqi=&aql=&gs_l=hp.3...2106346l2106346l1l2107465l1l0l0l0l0l0l0l0ll0l0.frgbld.&pbx=1&bav=on.2,or.r_gc.r_pw.r_qf.,cf.osb&biw=1024&bih=707&ech=1&psi=3ROMT-PEDYbe9AS-v7nYCg.1334580224437.5&emsg=NCSR&noj=1&ei=7ROMT_-mD4Wi9QSdxuT0CQ HTTP/1.1
Host: www.google.com.br
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.152 Safari/535.19
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer: http://www.google.com.br/
Accept-Encoding: gzip,deflate
Accept-Language: pt-BR,pt;q=0.8,en-US;q=0.6,en;q=0.4
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: PP_TOS_ACK=-1; PREF=ID=

Some possible problems are:

Missing or unknown request method.

Missing URL.

Missing HTTP Identifier (HTTP/1.0).

Request is too large.

Content-Length missing for POST or PUT requests.

Illegal character in hostname; underscores are not allowed.

HTTP/1.1 Expect: feature is being asked from an HTTP/1.0 software.


  


2. Re: SQUID COM ERRO

Daniel Lara Souza
danniel-lara

(usa Fedora)

Enviado em 16/04/2012 - 10:26h

ja verificou nos logs ?


3. log do access.log

Jefferson Luiz Silva
jlsistemas

(usa Debian)

Enviado em 16/04/2012 - 13:19h

1334580875.463 0 172.16.100.180 TCP_DENIED/400 2138 GET NONE:// - NONE/- text/html
1334580878.398 1 172.16.100.180 TCP_DENIED/400 2089 GET NONE:// - NONE/- text/html
1334582058.077 0 172.16.100.180 TCP_DENIED/400 2391 GET NONE:// - NONE/- text/html
1334582058.604 0 172.16.100.180 TCP_DENIED/400 2389 GET NONE:// - NONE/- text/html
1334582060.486 0 172.16.100.180 TCP_DENIED/400 2342 GET NONE:// - NONE/- text/html
1334582071.577 0 172.16.100.180 TCP_DENIED/400 5233 GET NONE:// - NONE/- text/html
1334582071.690 0 172.16.100.180 TCP_DENIED/400 5233 GET NONE:// - NONE/- text/html
1334582071.731 6 172.16.100.180 TCP_DENIED/400 5233 GET NONE:// - NONE/- text/html
1334582071.731 6 172.16.100.180 TCP_DENIED/400 5233 GET NONE:// - NONE/- text/html
1334582071.856 0 172.16.100.180 TCP_DENIED/400 1845 POST NONE:// - NONE/- text/html
1334582073.522 0 172.16.100.180 TCP_DENIED/400 1845 POST NONE:// - NONE/- text/html
1334582074.631 0 172.16.100.180 TCP_DENIED/400 5233 GET NONE:// - NONE/- text/html
1334582074.645 0 172.16.100.180 TCP_DENIED/400 5233 GET NONE:// - NONE/- text/html
1334582074.681 0 172.16.100.180 TCP_DENIED/400 5233 GET NONE:// - NONE/- text/html
1334582074.703 0 172.16.100.180 TCP_DENIED/400 5233 GET NONE:// - NONE/- text/html
1334582074.763 0 172.16.100.180 TCP_DENIED/400 1850 POST NONE:// - NONE/- text/html
1334582075.376 0 172.16.100.180 TCP_DENIED/400 5233 GET NONE:// - NONE/- text/html
1334582075.399 0 172.16.100.180 TCP_DENIED/400 5233 GET NONE:// - NONE/- text/html
1334582075.405 0 172.16.100.180 TCP_DENIED/400 5233 GET NONE:// - NONE/- text/html
1334582075.424 0 172.16.100.180 TCP_DENIED/400 5233 GET NONE:// - NONE/- text/html
1334582075.575 0 172.16.100.180 TCP_DENIED/400 5233 GET NONE:// - NONE/- text/html
1334582075.595 0 172.16.100.180 TCP_DENIED/400 5233 GET NONE:// - NONE/- text/html
1334582075.596 0 172.16.100.180 TCP_DENIED/400 5233 GET NONE:// - NONE/- text/html
1334582075.597 0 172.16.100.180 TCP_DENIED/400 5233 GET NONE:// - NONE/- text/html
1334582075.614 0 172.16.100.180 TCP_DENIED/400 5233 GET NONE:// - NONE/- text/html
1334582075.648 0 172.16.100.180 TCP_DENIED/400 5233 GET NONE:// - NONE/- text/html
1334582075.692 0 172.16.100.180 TCP_DENIED/400 5233 GET NONE:// - NONE/- text/html
1334582075.713 0 172.16.100.180 TCP_DENIED/400 5233 GET NONE:// - NONE/- text/html
1334582075.724 0 172.16.100.180 TCP_DENIED/400 5233 GET NONE:// - NONE/- text/html
1334582075.798 0 172.16.100.180 TCP_DENIED/400 5233 GET NONE:// - NONE/- text/html
1334582075.810 0 172.16.100.180 TCP_DENIED/400 5233 GET NONE:// - NONE/- text/html
1334582075.819 0 172.16.100.180 TCP_DENIED/400 5233 GET NONE:// - NONE/- text/html
1334582075.827 0 172.16.100.180 TCP_DENIED/400 5233 GET NONE:// - NONE/- text/html
1334582075.851 0 172.16.100.180 TCP_DENIED/400 5233 GET NONE:// - NONE/- text/html
1334582075.858 0 172.16.100.180 TCP_DENIED/400 5233 GET NONE:// - NONE/- text/html
1334582075.874 0 172.16.100.180 TCP_DENIED/400 5233 GET NONE:// - NONE/- text/html
1334582075.886 0 172.16.100.180 TCP_DENIED/400 5233 GET NONE:// - NONE/- text/html
1334582075.970 0 172.16.100.180 TCP_DENIED/400 5233 GET NONE:// - NONE/- text/html
1334582086.382 0 172.16.100.180 TCP_DENIED/400 2120 POST NONE:// - NONE/- text/html
1334582247.134 0 172.16.100.180 TCP_DENIED/400 5301 GET NONE:// - NONE/- text/html
1334582254.853 0 172.16.100.180 TCP_DENIED/400 2389 GET NONE:// - NONE/- text/html
1334582263.322 0 172.16.100.180 TCP_DENIED/400 2387 GET NONE:// - NONE/- text/html
1334582263.334 0 172.16.100.180 TCP_DENIED/400 2695 GET NONE:// - NONE/- text/html
1334582263.450 0 172.16.100.180 TCP_DENIED/400 2387 GET NONE:// - NONE/- text/html
1334582277.042 0 172.16.100.180 TCP_DENIED/400 5565 GET NONE:// - NONE/- text/html
1334582297.071 0 172.16.100.180 TCP_DENIED/400 2387 GET NONE:// - NONE/- text/html
1334582304.514 0 172.16.100.180 TCP_DENIED/400 2765 GET NONE:// - NONE/- text/html
1334582305.613 0 172.16.100.180 TCP_DENIED/400 6157 GET NONE:// - NONE/- text/html
1334582305.799 0 172.16.100.180 TCP_DENIED/400 6204 GET NONE:// - NONE/- text/html
1334582306.253 0 172.16.100.180 TCP_DENIED/400 2387 GET NONE:// - NONE/- text/html
1334582306.903 0 172.16.100.180 TCP_DENIED/400 5565 GET NONE:// - NONE/- text/html
1334582308.307 0 172.16.100.180 TCP_DENIED/400 2387 GET NONE:// - NONE/- text/html
1334582336.763 0 172.16.100.180 TCP_DENIED/400 5565 GET NONE:// - NONE/- text/html
1334582345.276 0 172.16.100.180 TCP_DENIED/400 2387 GET NONE:// - NONE/- text/html



4. Re: SQUID COM ERRO

Perfil removido
removido

(usa Nenhuma)

Enviado em 18/04/2012 - 19:10h

Veja se a regra "http_access deny all" está primeiro que qualquer outra regra que libera a sua rede.
Aconteceu isso comigo e o problema foi esse. Invertir a ordem.Pode ser que também seja seu caso.




5. Re: SQUID COM ERRO

Daniel Lara Souza
danniel-lara

(usa Fedora)

Enviado em 18/04/2012 - 19:15h

posta ai o seu squid.conf
para o pessoal analizar e ajudar


6. Re: SQUID COM ERRO

Jefferson Luiz Silva
jlsistemas

(usa Debian)

Enviado em 30/05/2012 - 00:34h

Obrigado a todos mas ja resolvi, só não estava setado como proxy transparente, setei e agora funfando.
as vezes da um branco e o que é banal parece o bicho de 7 abeças.. rsrsrsrsrsrs

vlw.


7. none/400

Leandro Marcel Freitas e Santos
LeandroMarcel

(usa Ubuntu)

Enviado em 05/10/2015 - 11:06h

Meu proxy apresentou esse problema por estar com mais de uma vez com o loopback inserido no squid.conf

"
http_port 127.0.0.1:3128
http_port 127.0.0.1:3128 intercept
"







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts