There was an error obtaining the webform. (message:Forbidden. This server is not linked with Enketo) Other observations:
Enketo Smart Paper for KoBoCAT is running! Please access Enketo forms from your KoBoCAT installation. |
--
You received this message because you are subscribed to the Google Groups "enketo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enketo-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The URL of the Enketo service API
Hi Piqo,
Your first curl snippet is not a valid API *endpoint*, hence the 405 response. See valid API v1 endpoints here: http://apidocs.enketo.org/ (API v2 is not documented yet, but backwards-compatible with v1).Where is your Aggregate Server? On http://192.168.2.140 or on http://192.168.2.140:8083? Both are very different. This is the server_url you should use in your API requests as this is where Enketo will retrieve your forms and submit data to. To test whether your server_url is actually reachable by Enketo (it isn't currently), just add /formList to the server_url and try to access this in your browser.For further assistance, please cut and paste this relevant section from your enketo-express installation: https://github.com/enketo/enketo-express/blob/master/config/config.json#L4-L11. That will make it easier to help. Make sure to restart the app after making any changes to config.json.Cheers,
Martijn
On Friday, December 5, 2014 7:15:12 AM UTC-7, El Piqo wrote:
Hi Martin,When in 'grunt develop' I get the following (after I removed the server url in config.json, I dont get an messagebox error, it's a 200 but nothing is shown):api-controller account +10s { openRosaServer: 'http://myaggregade.domain.com:8083/ODKAggregate',key: 'zu13jclsuj8gds4i' }survey-model getting id for : or:myaggregade.domain.com:8083/odkaggregate,my_form_name +2mssurvey-model result +1ms null YYYpapi-controller id: YYYp +0mssurvey-model getting id for : or:myaggregade.domain.com:8083/odkaggregate,my_form_name +1mssurvey-model result +0ms null YYYpWhen I post from curl I get:
curl --user MYAPI: -d "server_url=http://192.168.2.140&form_id=my_form_name" http//192.168.2.140:13131/api/v2/
...
key: 'zu13jclsujf8gds4i' }
survey-model getting id for : or:myaggregade.domain.com:8083/odkaggregate,my_form_name +2mssurvey-model result +1ms null YYYpapi-controller id: YYYp +0mssurvey-model getting id for : or:myaggregade.domain.com:8083/odkaggregate,my_form_name +1mssurvey-model result +0ms null YYYpWhen I post from curl I get:curl --user MYAPI: -d "server_url=http://192.168.2.140&form_id=my_form_name" http//192.168.2.140:13131/api/v2/{"code": 405,"message": "Not allowed"curl --user MYAPI: -d "server_url=http://192.168.2.140&form_id=my_form_name" http://192.168.2.140:13131/api/v2/survey{"url": "http://192.168.2.140:13131/::YYY8","code": 201}When I open http://192.168.2.140:13131/::YYY8 kobotoolbox shows up but Request to http://192.168.2.140/formList failed.Any idea?Thankspiqo
On Monday, November 24, 2014 5:10:25 PM UTC+1, martijn wrote:Hi Piqo,Thanks for trying this out. If Aggregate is available on http://192.168.2.140, I suspect the issue may be with Aggregate not sending the correct server_url parameter when it communicates with Enketo's API.Some suggestions to troubleshoot this:- change enketo-express configuration of "server url" to an empty string (so all server_urls will become acceptable) and restart enketo express- make a manual API call e.g. with curl --user MYAPIHERE: -d "server_url=http://192.168.2.140&form_id=test1"
...
...
Hi Piqo,
...
Hi Piqo,
...
--
You received this message because you are subscribed to the Google Groups "enketo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enketo-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Does the Enketo-Express require authentication?The code could be reworked to not supply any authentication if the response URL specifies http.The reason for the check for https is that the request is using Basic authentication -- that encodes the username and password in plaintext on the request.i.e., Basic authentication should never be used outside of an https transport.
You received this message because you are subscribed to the Google Groups "ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit-devel...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
To unsubscribe from this group and stop receiving emails from it, send an email to enketo-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit-developers+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
It seems you're using an older version of Enketo. pull the latest version..On Mon, Mar 2, 2015 at 3:02 PM, Anirudha Rath <anir...@sdrc.co.in> wrote:Hello Piqoni,we have integrated enketo express successfully with ODKAggregate,when I am accessing the web-form with anonymous authentication the web-form is working fine. But when accessing the web-form with user level authentication it is showing authentication error as I have attached the screenshot. Please look into this matter and revert back.below attached screenshot image for that error.On Mon, Mar 2, 2015 at 3:25 PM, Anirudha Rath <anir...@sdrc.co.in> wrote:hello Piqoni,please find another attachment showing request resource not available.RegardsAnirudha RathPh no-+919040331611SDRC Pvt. Ltd.Enabling social change initiatives.On Mon, Mar 2, 2015 at 12:32 AM, Anirudha Rath <anir...@sdrc.co.in> wrote:Hi piqoni,
We have already the grunt in running condition. But the webform is not displayed properly.
On Feb 28, 2015 5:37 PM, "Edi Piqoni" <piq...@gmail.com> wrote:
Hi Anirudha,Make sure you have run 'grunt' from the project root, so it builds the project.
piqo
--
You received this message because you are subscribed to a topic in the Google Groups "enketo-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/enketo-users/FbeXdTQs29Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to enketo-users...@googlegroups.com.
Hello Piqoni, Martijn,Thank you for all the support in helping us setting up enketo. We updated the enketo from Github and were able to successful with the set up. We will continue our work on it and will let you know in case we come across some thing interesting.On a side note, in case we want to do some enhancements on top of the existing themes and designs what would be the starting point.Looking forward to an exciting future for the open source version of enketo.Regards,Narasingha.
--
You received this message because you are subscribed to a topic in the Google Groups "enketo-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/enketo-users/FbeXdTQs29Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to enketo-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "enketo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enketo-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
When I try to edit form from the ODK Aggregate web, I get a small square with a red X in the center.
guess is because there's no test1 form available.
--
You received this message because you are subscribed to the Google Groups "enketo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enketo-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
enketo_api_url=http://XXX.XXX.XXX.XXX:8005/api/v1/survey&form_id=formulario_inscripcion&enketo_api_token
=APIKEY
tail -f /var/log/tomcat6/catalina.out
{ "code": 400, "message": "Bad Request. Server URL missing." }
The link is: "http://XXX.XXX.XXX.XXX:8005/api/v1/survey&form_id=formulario_inscripcion&enketo_api_token=APIKEY"
enketo_api_url=http://XXX.XXX.XXX.XXX:8005/api/v1/survey&form_id=formulario_inscripcion&enketo_api_token
=APIKEY