Question: I have a hybrid app that was created with WL 6.1 that uses the included dojolib. Currently it is in production for iphone and we are adding the android flavor of it. When running the code from the mobile simulator on the console, both the android and iphone work fine. The ipa file works fine. When I run the hybrid on an android device (Samsung S4), the application throws errors in the log on app startup. I have the "provide dojo libraries" turned off. In the DDMS log I see statements like the following:

```
09-09 12:47:12.092: E/AndroidProtocolHandler(20324): Unable to open asset URL: file:///android_asset/www/default/dojo/_base/declare.js
09-09 12:47:12.263: E/AndroidProtocolHandler(20324): Unable to open asset URL: file:///android_asset/www/default/dojo/_base/connect.js
09-09 12:47:12.303: E/AndroidProtocolHandler(20324): Unable to open asset URL: file:///android_asset/www/default/dojo/_base/event.js

```

Looking out in the android project in eclipse, I see those files in the "assets/www/default/dojo/\_base" directory. The issue is when I look in the APK file, the "\_base" directory is not there. Any help as to understanding why it is missing?

Answer: 
This problem due to postgres authentication methods configured at **/etc/postgresql/10/main/pg\_hba.conf** , the configuration location may vary depending on the version installed, **/etc/postgresql//main/pg\_hba.conf**

```html
sample ansible recipe
---
- name : "Dump PostgreSQL database"
  gather_facts: true
  hosts: posgre_host
  tasks:
    - name: Dump existing PostgreSQL database
      community.postgresql.postgresql_db:
        name: demo
        state: dump
        target: /tmp/backup/backup.sql.gz
      become: true

```

From

```
local           all           postgres           peer

```

To

```
local           all             postgres        trust

```

Here trust authentication method anyone connect to the server is authorized to access the database, since ansible is working based on ssh, it is safe to change.
So if I understood well you are on a remote machine, and maybe you should change /usr/local/pgsql/data/pg\_hba.conf to allow remote connections 'host all all 0.0.0.0/0 md5' or another specific network address.