Installing KoBoToolbox on our server

Hi all,

We are trying to install KoBoToolbox on our Ubuntu server (released version 16.04). We have installed with Kobo Docker and the envfile.local.txt configure file. We have checked the ports “8000” KPI, “8001” KOBOCAT and “8005” ENKETO-EXPRESS.

The 3 modules seem to be correctly installed however when we create a form on KPI and try to deploy it through KOBOCAT it doesn’t work and we received the following error: unable to deploy,your form cannot be deployed because it contains errors:HTTPConnectionPool(host=’...’, port=8001): Max retries exceeded with url: /api/v1/forms (Caused by NewConnectionError(’: Failed to establish a new connection: [Errno 110] Connection timed out’,)).

Also, the form preview through ENKETO is not working.

If we download the form (.xls format) from the KPI component and we upload it in KOBOCAT, it works correctly. In this case we can also connect the KOBOCOLLECT Android Application, download the survey form, collect some data and send the instance to the server. We can also see the uploaded instance through KOBOCAT.

We suspect there is a problem about the interconnection between the 3 modules but we are not sure of that.

Thanks for any help!

Ciao

Hi, Alessandro. Did you use your IP address for [HOST_ADDRESS](https://github.com/kobotoolbox/kobo-docker/blob/80cc7b9009ce5dd260320562049bb9b1f6b26781/envfile.local.txt#L5-L11)?

···

On Friday, June 16, 2017 at 4:22:10 AM UTC-4, Alessandro Demarchi wrote:

Hi all,

We are trying to install KoBoToolbox on our Ubuntu server (released version 16.04). We have installed with Kobo Docker and the envfile.local.txt configure file. We have checked the ports “8000” KPI, “8001” KOBOCAT and “8005” ENKETO-EXPRESS.

The 3 modules seem to be correctly installed however when we create a form on KPI and try to deploy it through KOBOCAT it doesn’t work and we received the following error: unable to deploy,your form cannot be deployed because it contains errors:HTTPConnectionPool(host=’...’, port=8001): Max retries exceeded with url: /api/v1/forms (Caused by NewConnectionError(’: Failed to establish a new connection: [Errno 110] Connection timed out’,)).

Also, the form preview through ENKETO is not working.

If we download the form (.xls format) from the KPI component and we upload it in KOBOCAT, it works correctly. In this case we can also connect the KOBOCOLLECT Android Application, download the survey form, collect some data and send the instance to the server. We can also see the uploaded instance through KOBOCAT.

We suspect there is a problem about the interconnection between the 3 modules but we are not sure of that.

Thanks for any help!

Ciao

Dear Esmail,

Yes we used the IP of our server, where we installed kobotoolbox…

···

Il giorno venerdì 16 giugno 2017 22:37:04 UTC+2, Esmail Fadae ha scritto:

Hi, Alessandro. Did you use your IP address for [HOST_ADDRESS](https://github.com/kobotoolbox/kobo-docker/blob/80cc7b9009ce5dd260320562049bb9b1f6b26781/envfile.local.txt#L5-L11)?

On Friday, June 16, 2017 at 4:22:10 AM UTC-4, Alessandro Demarchi wrote:

Hi all,

We are trying to install KoBoToolbox on our Ubuntu server (released version 16.04). We have installed with Kobo Docker and the envfile.local.txt configure file. We have checked the ports “8000” KPI, “8001” KOBOCAT and “8005” ENKETO-EXPRESS.

The 3 modules seem to be correctly installed however when we create a form on KPI and try to deploy it through KOBOCAT it doesn’t work and we received the following error: unable to deploy,your form cannot be deployed because it contains errors:HTTPConnectionPool(host=’...’, port=8001): Max retries exceeded with url: /api/v1/forms (Caused by NewConnectionError(’: Failed to establish a new connection: [Errno 110] Connection timed out’,)).

Also, the form preview through ENKETO is not working.

If we download the form (.xls format) from the KPI component and we upload it in KOBOCAT, it works correctly. In this case we can also connect the KOBOCOLLECT Android Application, download the survey form, collect some data and send the instance to the server. We can also see the uploaded instance through KOBOCAT.

We suspect there is a problem about the interconnection between the 3 modules but we are not sure of that.

Thanks for any help!

Ciao

I’ve seen similar things happen due to firewall issues, particularly when people run kobo-docker inside a VM. One way I’d troubleshoot this would be by dropping into the KPI container with docker-compose exec kpi bash and checking the container’s connectivity with the specified HOST_ADDRESS.

···

On Monday, June 19, 2017 at 5:30:57 AM UTC-4, Alessandro Demarchi wrote:

Dear Esmail,

Yes we used the IP of our server, where we installed kobotoolbox…

Il giorno venerdì 16 giugno 2017 22:37:04 UTC+2, Esmail Fadae ha scritto:

Hi, Alessandro. Did you use your IP address for [HOST_ADDRESS](https://github.com/kobotoolbox/kobo-docker/blob/80cc7b9009ce5dd260320562049bb9b1f6b26781/envfile.local.txt#L5-L11)?

On Friday, June 16, 2017 at 4:22:10 AM UTC-4, Alessandro Demarchi wrote:

Hi all,

We are trying to install KoBoToolbox on our Ubuntu server (released version 16.04). We have installed with Kobo Docker and the envfile.local.txt configure file. We have checked the ports “8000” KPI, “8001” KOBOCAT and “8005” ENKETO-EXPRESS.

The 3 modules seem to be correctly installed however when we create a form on KPI and try to deploy it through KOBOCAT it doesn’t work and we received the following error: unable to deploy,your form cannot be deployed because it contains errors:HTTPConnectionPool(host=’...’, port=8001): Max retries exceeded with url: /api/v1/forms (Caused by NewConnectionError(’: Failed to establish a new connection: [Errno 110] Connection timed out’,)).

Also, the form preview through ENKETO is not working.

If we download the form (.xls format) from the KPI component and we upload it in KOBOCAT, it works correctly. In this case we can also connect the KOBOCOLLECT Android Application, download the survey form, collect some data and send the instance to the server. We can also see the uploaded instance through KOBOCAT.

We suspect there is a problem about the interconnection between the 3 modules but we are not sure of that.

Thanks for any help!

Ciao

Dear Esmail,

Just another detail: we have installed the Kobotoolbox instance through Kobo-Docker in “Local modality”.

About the testing of the “HOST_ADDRESS”, I do not know how to do it… May you please explain me which commandes I should launch to test the container’s connectivity?

Thank you very much!

···

Il giorno martedì 20 giugno 2017 17:03:24 UTC+2, Esmail Fadae ha scritto:

I’ve seen similar things happen due to firewall issues, particularly when people run kobo-docker inside a VM. One way I’d troubleshoot this would be by dropping into the KPI container with docker-compose exec kpi bash and checking the container’s connectivity with the specified HOST_ADDRESS.

On Monday, June 19, 2017 at 5:30:57 AM UTC-4, Alessandro Demarchi wrote:

Dear Esmail,

Yes we used the IP of our server, where we installed kobotoolbox…

Il giorno venerdì 16 giugno 2017 22:37:04 UTC+2, Esmail Fadae ha scritto:

Hi, Alessandro. Did you use your IP address for [HOST_ADDRESS](https://github.com/kobotoolbox/kobo-docker/blob/80cc7b9009ce5dd260320562049bb9b1f6b26781/envfile.local.txt#L5-L11)?

On Friday, June 16, 2017 at 4:22:10 AM UTC-4, Alessandro Demarchi wrote:

Hi all,

We are trying to install KoBoToolbox on our Ubuntu server (released version 16.04). We have installed with Kobo Docker and the envfile.local.txt configure file. We have checked the ports “8000” KPI, “8001” KOBOCAT and “8005” ENKETO-EXPRESS.

The 3 modules seem to be correctly installed however when we create a form on KPI and try to deploy it through KOBOCAT it doesn’t work and we received the following error: unable to deploy,your form cannot be deployed because it contains errors:HTTPConnectionPool(host=’...’, port=8001): Max retries exceeded with url: /api/v1/forms (Caused by NewConnectionError(’: Failed to establish a new connection: [Errno 110] Connection timed out’,)).

Also, the form preview through ENKETO is not working.

If we download the form (.xls format) from the KPI component and we upload it in KOBOCAT, it works correctly. In this case we can also connect the KOBOCOLLECT Android Application, download the survey form, collect some data and send the instance to the server. We can also see the uploaded instance through KOBOCAT.

We suspect there is a problem about the interconnection between the 3 modules but we are not sure of that.

Thanks for any help!

Ciao