← Back to team overview

dhis2-devs team mailing list archive

Re: 404 response from the API when using Event Capture

 

Hey Carlos and Kevin,
The eventCaptureGridColumns call is likely not the problem - this error is just a bit of log noise that comes in the console for everyone that has never rearranged the columns in the event capture. 

Have you tried clearing the cache with the cache cleaner app? Is there any other calls failing during the startup that seems to fail? I tried reproducing in 2.29 play but the app seems to be working there.

Markus

P.S. we are welcoming you all to join community.dhis2.org <http://community.dhis2.org/> for support and discussions on DHIS2.

> 2. nov. 2018 kl. 13:21 skrev Kevin Bolger <kevin.bolger@xxxxxxxxx <mailto:kevin.bolger@xxxxxxxxx>>:
> 
> Hi Carlos,
> 
> Thanks for your response. Any idea what the correct format might be?
> 
> Thanks,
> Kevin
> 
> On Fri, Nov 2, 2018 at 1:59 AM Carlos Nyembwe <nyembwe@xxxxxxxxx <mailto:nyembwe@xxxxxxxxx>> wrote:
> Hi Kevin,
> 
> be sure on your API Url, I think It's not well
> 
> Regards
> 
> On Fri, Nov 2, 2018 at 4:54 AM Kevin Bolger <kevin.bolger@xxxxxxxxx <mailto:kevin.bolger@xxxxxxxxx>> wrote:
>  <https://www.boxbe.com/overview>   This message is eligible for Automatic Cleanup! (kevin.bolger@xxxxxxxxx <mailto:kevin.bolger@xxxxxxxxx>) Add cleanup rule <https://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Fkey%3D1Yr%252B0%252BueLySeLj1rfaaM2jOLcoRUBvMyclacnFbErQ4%253D%26token%3DK2HoF8SUZLPyrnQr8aua08rFu6llZ7gQkE9QT1kRhzwUBBq%252B%252BGgAXWxwKdoKUsVLWIRXNlWkg%252BKuYeVM6cB%252FjsAAMvMsCBD1X7kTPmhxtcG3%252FXKXnGDu5tk8lM2pPNGVGtxUrU%252FXPlpHY2WoLO45VQ%253D%253D&tc_serial=44768607269&tc_rand=1581084719&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001> | More info <http://blog.boxbe.com/general/boxbe-automatic-cleanup?tc_serial=44768607269&tc_rand=1581084719&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001> 
> Hi Folks,
> 
> I've deployed 2.29 build e1c949f (full About details below) on an aws ec2 instance running Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-1070-aws x86_64).
> 
> When trying to use the Event Capture app to record a single event the page load stalls. 
> In response to the api call;
> 8080/api/28/userDataStore/gridColumns/eventCaptureGridColumns
> the debugging console in chrome shows the following error; 
> {"httpStatus":"Not Found","httpStatusCode":404,"status":"ERROR","message":"The key 'eventCaptureGridColumns' was not found in the namespace 'gridColumns'."}
>  
> The catalina.out logs don't show any warning or error when the issue occurs or anything referencing an obviously related issue during the ROOT.war deployment. Any suggestions on how to further troubleshoot would be greatly appreciated.
> 
> Best,
> Kevin
>  
> Current user:
> admin
> Version:
> 2.29
> Build revision:
> e1c949f
> Build date:
> 2018-11-02 02:21
> Jasper reports version:
> 6.3.1
> User agent:
> Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36
> Server date:
> 2018-11-02 03:20
> Last analytics table generation:
> Time since last analytics table generation:
> Last analytics table runtime:
> Environment variable:
> DHIS2_HOME
> External configuration directory:
> /home/dhis/config
> File store provider:
> filesystem
> Node ID:
> Cache provider:
> ehcache
> Database type:
> DhisPostgres
> Database name:
> dhis2
> Database user:
> dhis
> Read replica count:
> 0
> Java opts:
> -Xmx768m -Xms512m -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
> Java version:
> 1.8.0_181
> Java vendor:
> Oracle Corporation
> OS name:
> Linux
> OS architecture:
> amd64
> OS version:
> 4.4.0-1070-aws
> Server memory:
> Mem Total in JVM: 744 Free in JVM: 451 Max Limit: 744
> CPU cores:
> 2
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs <https://launchpad.net/~dhis2-devs>
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx <mailto:dhis2-devs@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : https://launchpad.net/~dhis2-devs <https://launchpad.net/~dhis2-devs>
> More help   : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>
> 
> 
> -- 
> Carlos Nyembwe
> I'm just a Computer Scientist
> 
> Skype: carloscnk1
> Cell: (+243)813166381
> Find me in: | Google Plus <https://plus.google.com/+CarlosNyembwe> | Linkedin <http://www.linkedin.com/in/carloscnk> | Facebook <https://www.facebook.com/carloscnksys> | Twitter <https://twitter.com/Carlos_CNK> |
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs <https://launchpad.net/~dhis2-devs>
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx <mailto:dhis2-devs@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : https://launchpad.net/~dhis2-devs <https://launchpad.net/~dhis2-devs>
> More help   : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>


Follow ups

References