Opened 6 years ago

Closed 6 years ago

#527 closed defect (fixed)

ComComMaker KO : no pg_hba.conf entry

Reported by: vdct Owned by: jocelyn
Priority: major Component: autre
Keywords: Cc:

Description

Le module Ajax.py de comcommaker renvoit cette erreur :

MOD_PYTHON ERROR

ProcessId?: 28370
Interpreter: 'osm112'

ServerName?: 'osm112'
DocumentRoot?: '/data/project/comcommaker/ComcomMaker'

URI: '/ajax.py'
Location: None
Directory: '/'
Filename: '/data/project/comcommaker/ComcomMaker/ajax.py'
PathInfo?:

Phase: 'PythonHandler?'
Handler: 'mod_python.publisher'

Traceback (most recent call last):

File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1537, in HandlerDispatch?

default=default_handler, arg=req, silent=hlist.silent)

File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1229, in _process_target

result = _execute_target(config, req, object, arg)

File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1128, in _execute_target

result = object(arg)

File "/usr/lib/python2.7/dist-packages/mod_python/publisher.py", line 213, in handler

published = publish_object(req, object)

File "/usr/lib/python2.7/dist-packages/mod_python/publisher.py", line 425, in publish_object

return publish_object(req,util.apply_fs_data(object, req.form, req=req))

File "/usr/lib/python2.7/dist-packages/mod_python/util.py", line 554, in apply_fs_data

return object(args)

File "/data/project/comcommaker/ComcomMaker/ajax.py", line 112, in index

status, data, sql = main(req)

File "/data/project/comcommaker/ComcomMaker/ajax.py", line 92, in main

rows, sql = get_entity(params)

File "/data/project/comcommaker/ComcomMaker/ajax.py", line 39, in get_entity

'password':settings.db_password

File "/usr/lib/python2.7/dist-packages/psycopg2/init.py", line 179, in connect

connection_factory=connection_factory, async=async)

OperationalError?: FATAL: no pg_hba.conf entry for host "2a01:e0d:1:c:58bf:fac1:0:112", user "comcommaker", database "osm", SSL on
FATAL: no pg_hba.conf entry for host "2a01:e0d:1:c:58bf:fac1:0:112", user "comcommaker", database "osm", SSL off

MODULE CACHE DETAILS

Accessed: Thu Mar 20 12:48:01 2014
Generation: 2

_mp_53e7d440eb9128d357e198936d4bc899 {

FileName?: '/data/project/comcommaker/ComcomMaker/ajax.py'
Instance: 1
Generation: 2
Modified: Mon May 21 19:25:19 2012
Imported: Thu Mar 20 11:07:12 2014
Children: '/data/project/comcommaker/ComcomMaker/settings.py'

}

_mp_c76322ba1e862ae2d2906e02f3dec8d1 {

FileName?: '/data/project/comcommaker/ComcomMaker/settings.py'
Instance: 1
Generation: 1
Modified: Mon Mar 3 22:06:27 2014
Imported: Thu Mar 20 11:07:12 2014

}

Change History (2)

comment:1 Changed 6 years ago by Jocelyn

Est-ce que tu peux ré-essayer ?

J'ai corrigé les accès sur la base de donnée pour autoriser l'IPv6 2a01:e0d:1:c:58bf:fac1:0:112, même si en théorie, ce genre d'accès devrait passer par le réseau local IPv4.

comment:2 Changed 6 years ago by vdct

  • Resolution set to fixed
  • Status changed from new to closed

Impec, chez moi désormais ça fonctionne

merci !

Note: See TracTickets for help on using tickets.