[Webware-discuss] Recurring AssertionErrors from URLParser.py
Hi all, I've been receiving email notifications for this type of error (traceback at the end) since going live with one of my Webware-based sites back in October. Only recently has it ramped up to be troublesome. The AssertionError happens every time, but the URL shown in the traceback changes. I looked up this proxy5/check.php thing in Google it indicates (?) some type of proxy abuse (led me to: http://wiki.apache.org/httpd/ ProxyAbuse). So I changed the config. in httpd.conf, but that only seemed to generate more errors emails. My question, then, is: Have any of you run into something like this before? If so, did you successfully stop it from happening what did you do? Otherwise, anybody have any suggestions? Running Ww 0.9.4 on RH/CentOS with Apache 2.0.54 and mod_webkit2. Thanks for any guidance, -Gary WebKit caught an exception while processing a request for None at Mon Jun 1 15:29:50 2009 (timestamp: 1243884590.91). The plain text traceback from Python is printed below and the full HTML error report from WebKit is attached. Traceback (most recent call last): File /usr/local/Webware-0.9.4/WebKit/Application.py, line 645, in runTransaction servlet = findServlet(trans) File /usr/local/Webware-0.9.4/WebKit/URLParser.py, line 70, in findServletForTransaction return self.parse(trans, trans.request().urlPath()) File /usr/local/Webware-0.9.4/WebKit/URLParser.py, line 314, in parse return fpp.parse(trans, requestPath) File /usr/local/Webware-0.9.4/WebKit/URLParser.py, line 387, in parse assert not requestPath or requestPath.startswith('/'), \ AssertionError: Not what I expected: 'http://206.51.235.166/proxy5/ check.php' -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] Recurring AssertionErrors from URLParser.py
Gary Perez schrieb: I looked up this proxy5/check.php thing in Google it indicates (?) some type of proxy abuse (led me to: http://wiki.apache.org/httpd/ ProxyAbuse). So I changed the config. in httpd.conf, but that only seemed to generate more errors emails. Hi Gary, I did not come across these errors so far. They do not appear in the log of our Webware server at w4py.org either. What did you change in the config? Did you set the ServerName? I think that should solve the issue. -- Christoph -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] Recurring AssertionErrors from URLParser.py
Hi Christoph, For each of the domains hosted under this installation, I have: NameVirtualHost [ipaddr]:80 VirtualHost [ipaddr]:80 ServerName [domain].com ServerAlias [domain].com *.[domain].com DocumentRoot /var/www/[domain] /VirtualHost But I also employ a number of rewrite rules (within the VirtualHost directive) for those which primarily use the webkit application server (the wk part of the URL): RewriteEngine On RewriteRule ^/wk/(.*) /$1 [R] RewriteRule ^/js/(.*) /js/$1 [PT] RewriteRule ^/gfx/(.*) /gfx/$1 [PT] RewriteRule ^/logos/(.*) /logos/$1 [PT] RewriteRule ^/screens/(.*) /screens/$1 [L,PT] RewriteRule ^/(.*) /wk/$1 [L,PT] I killed the application server earlier today to halt the increasing # of emailed tracebacks/errors. I'm surprised nobody has had this happen before. Googling the specific error turns up zero hits. I must be an edge-case. Thanks, -Gary On Jun 1, 2009, at 5:30, Christoph Zwerschke wrote: Gary Perez schrieb: I looked up this proxy5/check.php thing in Google it indicates (?) some type of proxy abuse (led me to: http://wiki.apache.org/ httpd/ ProxyAbuse). So I changed the config. in httpd.conf, but that only seemed to generate more errors emails. Hi Gary, I did not come across these errors so far. They do not appear in the log of our Webware server at w4py.org either. What did you change in the config? Did you set the ServerName? I think that should solve the issue. -- Christoph -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss -- Gary Perez :: Interwebs Guy Advanced Simulation Technology inc. gary.pe...@asti-usa.com http://www.asti-usa.com/ -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss