Thread: [Rabbit-proxy-users] =?us-ascii?Q?newbie=20problem?=
Brought to you by:
ernimril
From: <Leo...@se...> - 2004-12-28 09:10:08
|
Hallo, On my standalone pc, I used 'scache' web chache [http://scache.sourceforge.net/] but there are some security problems and now I want to try RabbIT. I'am only user and newbie in Java world, so I can't catch my problem and its solution. RabbIT is alive and running, but every connection is ending with 504 Gateway Time-out Unable to handle request: Unable to connect to URL: http://www.google.com/search?q=bus&sourceid=opera&num=0&ie=utf-8&oe=utf-8 I feel that problem will be in my java instalation on win XP, but every my tests (e.g. exporting CLASSPATH [RabbIT's README hint] in zsh, which I'am using on win XP for these tasks) are without positive result, so far. Any hint for my newbie problem will be appreciated Thanks in advance ---------------------------------------------------------------------- Error to google [snip from error_log_onlycaching]: [28/XII/2004:07:41:05 GMT][WARN][Failed to connect socket:java.io.IOException: Could not connect to host: java.net.UnknownHostException: unknown host] [28/XII/2004:07:41:35 GMT][WARN][Could not find the host: 'java.net.UnknownHostException: unknown host': GET http://www.google.com/search?q=vlak&sourceid=opera&num=0&ie=utf-8&oe=utf-8 HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; cs) Opera 7.60 Host: www.google.com Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1 Accept-Language: cs;q=1.0,en;q=0.9 Accept-Charset: iso-8859-2, utf-8, utf-16, iso-8859-1;q=0.6, *;q=0.1 Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0 Cookie: PREF=ID=1520b61cc1cd190a:TM=1103296867:LM=1103296867:S=yss00_QK66_Omxeb Cookie2: $Version=1 Via: HTTP/1.0 RabbIT Error to logrotate [snip from error_log_onlycaching]: [28/XII/2004:07:45:35 GMT][WARN][Failed to connect socket:java.io.IOException: Could not connect to host: java.net.UnknownHostException: unknown host] [28/XII/2004:07:45:35 GMT][WARN][strange error setting up web connection: java.io.IOException: Unable to connect to URL: http://www.google.com/favicon.ico] [28/XII/2004:07:51:20 GMT][MSG][Configuration loaded, ready for action.] [28/XII/2004:07:51:20 GMT][MSG][Started] [28/XII/2004:07:51:41 GMT][WARN][Couldnt find class:favicon.ico, java.lang.ClassNotFoundException: favicon.ico] [28/XII/2004:08:00:33 GMT][MSG][log rotation requested.] [28/XII/2004:08:00:33 GMT][ERROR][failed to rotate error log!] [28/XII/2004:08:00:33 GMT][ERROR][failed to rotate access log!] [28/XII/2004:08:07:57 GMT][MSG][Configuration loaded, ready for action.] [28/XII/2004:08:07:57 GMT][MSG][Started] [28/XII/2004:08:08:52 GMT][WARN][Could not find the host: 'java.net.UnknownHostException: unknown host': ET http://www.google.com/search?q=bus&sourceid=opera&num=0&ie=utf-8&oe=utf-8 HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; cs) Opera 7.60 Host: www.google.com Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1 Accept-Language: cs;q=1.0,en;q=0.9 Accept-Charset: iso-8859-2, utf-8, utf-16, iso-8859-1;q=0.6, *;q=0.1 Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0 Cookie: PREF=ID=1520b61cc1cd190a:TM=1103296867:LM=1103296867:S=yss00_QK66_Omxeb Cookie2: $Version=1 Via: HTTP/1.0 RabbIT My configuration: ---------------------------------------------------------------------- Version: RabbIT proxy version 2.0.35 Running on: w/IP : 9668 Started at: Tue Dec 28 09:07:57 CET 2004 Current time: Tue Dec 28 09:13:10 CET 2004 Alive and kicking with 1 current connections. java -version java version "1.4.2" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28) Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode) zsh for windows (CLI) Windows XP Prof browser Opera 7.60 for win ---------------------------------------------------------------------- Thanks in advance Leos |
From: Robert O. <ro...@kh...> - 2004-12-28 18:46:48
|
Leos Buchacek wrote: >zsh for windows (CLI) >Windows XP Prof > > zsh for windows? Can you try it in the standard command.com (or is that cmd?). I am not sure, but I would guess that dnsjava does not understand how it should do name lookups.. /robo |
From: <Leo...@se...> - 2004-12-29 08:53:30
|
Hallo, thank You very much for your reply. > zsh for windows? > Can you try it in the standard command.com (or is that cmd?). > I am not sure, but I would guess that dnsjava does not understand > how it should do name lookups... Yes, I tried that in standard "cmd" thing in XP, unfortunately with the absolute same result (which I described in my first post). I would like to mention, that I've complete new instalation on my pc, so I think that XP's reinstalation isn't way for solution (but I'll try that as well - probably my java instalation only looks on first spot like well-instaled(?)). I'am afraid, that I can't see any other ways for solution... NOTE: I'am using zsh and gnu-tools on all of my computers (XP, Irix and OpenBSD), because of the same user interface. I will appreciate any other hints, thanks in advance Leos |
From: Robert O. <ro...@kh...> - 2004-12-29 21:35:48
|
Leos Buchacek wrote: > I will appreciate any other hints, Ok, can you try this one: http://www.khelekore.org/rabbit/RabbIT2.0.36-pre2.tar.gz You will have to configure it to use the DNSSunHandler (in conf/rabbit.conf): dnsHandler=rabbit.proxy.DNSSunHandler /robo |
From: Holger K. <hol...@gm...> - 2004-12-30 15:28:59
|
> Ok, can you try this one: > > http://www.khelekore.org/rabbit/RabbIT2.0.36-pre2.tar.gz > Hello, this version solved my recompression problems. And i get less unable to parse expire date messages, instead a lot [WARN][Bad conversion: /dev/shm/rcache/temp/794 show up. But the pictures get recompressed. Thanks, Holger |
From: Robert O. <ro...@kh...> - 2004-12-30 17:21:09
|
Holger Krull wrote: >> http://www.khelekore.org/rabbit/RabbIT2.0.36-pre2.tar.gz > > Hello, > this version solved my recompression problems. Odd. There should be nothing new in there to handle that. > And i get less unable to parse expire date messages, Well, that could have been fixed by a data parsing bug fix, good to hear that it seems to help. > instead a lot [WARN][Bad conversion: /dev/shm/rcache/temp/794 show up. > But the pictures get recompressed. Hmmm. That happens when the return value of the image conversion is non-zero. On unix that usually that indicates an error, on windows it seems that return values are totaly random. I have added the exit value to that warning. Happy new year! /robo |