Paste number 58955: Maybe osrf-http-translator misconfiguration, or dbs boneheadedness

Index of paste annotations: 1 | 2

Paste number 58955: Maybe osrf-http-translator misconfiguration, or dbs boneheadedness
Pasted by: dbs
7 months, 3 weeks ago
#openils-evergreen | Context in IRC logs
Paste contents:
Raw Source | XML | Display As
==> /openils/var/log/opensrf.settings_unix.log <==
shutdown() on closed socket GEN0 at /openils/lib/perl5/OpenSRF/Transport/SlimJabber/XMPPReader.pm line 140 during global destruction.
shutdown() on closed socket GEN0 at /openils/lib/perl5/OpenSRF/Transport/SlimJabber/XMPPReader.pm line 140, <_READ> line 5 during global destruction.
shutdown() on closed socket GEN0 at /openils/lib/perl5/OpenSRF/Transport/SlimJabber/XMPPReader.pm line 140 during global destruction.

==> /openils/var/log/gateway.log <==
gateway 2008-04-10 21:15:00 [INFO:6848:osrf_system.c:411:] Bootstrapping system with domain localhost, port 5222, and unixpath (none)
gateway 2008-04-10 21:15:00 [INFO:6848:osrf_json_gateway.c:104:] Bootstrapping gateway child for requests
gateway 2008-04-10 21:15:00 [INFO:6849:osrf_system.c:411:] Bootstrapping system with domain localhost, port 5222, and unixpath (none)
gateway 2008-04-10 21:15:00 [INFO:6849:osrf_json_gateway.c:104:] Bootstrapping gateway child for requests
[INFO:6839:buildnet.py:158:MainThread:] Successfully connected to the opensrf network
[ERR :6839:buildnet.py:173:MainThread:1207876509.6468390] XMPP error message received from router@localhost/open-ils.permacrud

apache2/access.log:
127.0.0.1 - - [10/Apr/2008:21:14:57 -0400] "GET /js/dojo/resources/dojo.css HTTP/1.1" 304 - "http://localhost/conify/global/admin.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.13) Gecko/20080325 Ubuntu/7.10 (gutsy) Firefox/2.0.0.13"
127.0.0.1 - - [10/Apr/2008:21:14:57 -0400] "GET /js/dijit/themes/tundra/tundra.css HTTP/1.1" 304 - "http://localhost/conify/global/admin.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.13) Gecko/20080325 Ubuntu/7.10 (gutsy) Firefox/2.0.0.13"
127.0.0.1 - - [10/Apr/2008:21:14:57 -0400] "GET /js/dijit/themes/dijit.css HTTP/1.1" 304 - "http://localhost/js/dijit/themes/tundra/tundra.css" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.13) Gecko/20080325 Ubuntu/7.10 (gutsy) Firefox/2.0.0.13"
127.0.0.1 - - [10/Apr/2008:21:14:57 -0400] "GET /js/dojox/widget/Toaster/Toaster.css HTTP/1.1" 304 - "http://localhost/conify/global/admin.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.13) Gecko/20080325 Ubuntu/7.10 (gutsy) Firefox/2.0.0.13"
127.0.0.1 - - [10/Apr/2008:21:15:07 -0400] "POST /osrf-http-translator HTTP/1.1" 404 378 "http://localhost/conify/global/actor/org_unit_type.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.13) Gecko/20080325 Ubuntu/7.10 (gutsy) Firefox/2.0.0.13"


Annotations for this paste:

Annotation number 1: Live Headers
Pasted by: dbs
7 months, 3 weeks ago
Context in IRC logs
Paste contents:
Raw Source | Display As
GET /js/dojox/grid/_grid/tundraGrid.css HTTP/1.1

Host: localhost

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.13) Gecko/20080325 Ubuntu/7.10 (gutsy) Firefox/2.0.0.13

Accept: text/css,*/*;q=0.1

Accept-Language: en-us,en;q=0.5

Accept-Encoding: gzip,deflate

Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

Keep-Alive: 300

Connection: keep-alive

Referer: http://localhost/conify/global/permission/perm_list.html

If-Modified-Since: Wed, 26 Mar 2008 13:42:54 GMT

If-None-Match: "249bfc-129f-3ef3f380"



HTTP/1.x 304 Not Modified

Date: Fri, 11 Apr 2008 01:20:17 GMT

Server: Apache/2.2.4 (Ubuntu) mod_python/3.3.1 Python/2.5.1 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_perl/2.0.2 Perl/v5.8.8

Connection: Keep-Alive

Keep-Alive: timeout=15, max=100

Etag: "249bfc-129f-3ef3f380"

Expires: Fri, 11 Apr 2008 02:10:17 GMT

Cache-Control: max-age=3000

----------------------------------------------------------

http://localhost/osrf-http-translator



POST /osrf-http-translator HTTP/1.1

Host: localhost

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.13) Gecko/20080325 Ubuntu/7.10 (gutsy) Firefox/2.0.0.13

Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5

Accept-Language: en-us,en;q=0.5

Accept-Encoding: gzip,deflate

Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

Keep-Alive: 300

Connection: keep-alive

Content-Type: application/x-www-form-urlencoded

X-OpenSRF-thread: 0.86085819858454861207876819149

X-OpenSRF-service: open-ils.permacrud

Referer: http://localhost/conify/global/permission/perm_list.html

Content-Length: 406

Pragma: no-cache

Cache-Control: no-cache

osrf-msg=%5B%7B%22__c%22%3A%22osrfMessage%22%2C%22__p%22%3A%7B%22threadTrace%22%3A0%2C%22type%22%3A%22REQUEST%22%2C%22payload%22%3A%7B%22__c%22%3A%22osrfMethod%22%2C%22__p%22%3A%7B%22method%22%3A%22open-ils.permacrud.search.ppl.atomic%22%2C%22params%22%3A%5Bnull%2C%7B%22id%22%3A%7B%22!%3D%22%3Anull%7D%7D%2C%7B%22order_by%22%3A%7B%22ppl%22%3A%22code%22%7D%7D%5D%7D%7D%2C%22locale%22%3A%22en-US%22%7D%7D%5D

HTTP/1.x 404 Not Found

Date: Fri, 11 Apr 2008 01:20:19 GMT

Server: Apache/2.2.4 (Ubuntu) mod_python/3.3.1 Python/2.5.1 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_perl/2.0.2 Perl/v5.8.8

Content-Length: 378

Keep-Alive: timeout=15, max=99

Connection: Keep-Alive

Content-Type: text/html; charset=iso-8859-1

Annotation number 2: translator config from dev.gapines.org
Pasted by: miker_
7 months, 3 weeks ago
Context in IRC logs
Paste contents:
Raw Source | Display As
<Location /osrf-http-translator>
    SetHandler mod_python
    #PythonPath "['/home/erickson/code/OpenSRF/trunk/src/python','/home/erickson/code/ILS/trunk/Open-ILS/src/python'] + sys.path"
    PythonPath "['/home/erickson/code/OpenSRF/trunk/src/python'] + sys.path"
    #PythonPath "['/usr/lib/python2.4/site-packages/OpenSRF-1.0.0-py2.4.egg'] + sys.path"
    #PythonPath "['/usr/lib/python2.4/site-packages'] + sys.path"
    PythonHandler osrf.http_translator
    #PythonAutoReload On
    PythonOption OSRF_CONFIG /openils/conf/opensrf_core.xml
    PythonOption OSRF_CONFIG_CONTEXT config.gateway
    PythonOption OSRF_CACHE_SERVERS 10.4.0.107:11211
</Location>

Colorize as:
Show Line Numbers
Index of paste annotations: 1 | 2

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.