← Back to team overview

dhis2-devs team mailing list archive

404 response from the API when using Event Capture

 

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:adminVersion:2.29Build revision:e1c949fBuild
date:2018-11-02 02:21Jasper reports version:6.3.1User
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.36Server date:2018-11-02 03:20Last analytics table
generation:Time since last analytics table generation:Last analytics
table runtime:Environment variable:DHIS2_HOMEExternal configuration
directory:/home/dhis/configFile store provider:filesystemNode ID:Cache
provider:ehcacheDatabase type:DhisPostgresDatabase name:dhis2Database
user:dhisRead replica count:0Java opts:-Xmx768m -Xms512m
-Djdk.tls.ephemeralDHKeySize=2048
-Djava.protocol.handler.pkgs=org.apache.catalina.webresources
-Dorg.apache.catalina.security.SecurityListener.UMASK=0027Java
version:1.8.0_181Java vendor:Oracle CorporationOS name:LinuxOS
architecture:amd64OS version:4.4.0-1070-awsServer memory:Mem Total in
JVM: 744 Free in JVM: 451 Max Limit: 744CPU cores:2