← Back to team overview

dhis2-devs team mailing list archive

Re: 404 response from the API when using Event Capture

 

Hi Markus,

Thanks for the response!

I've cleared the cache with the cache cleaner app a number of times, and
also tried a number of versions of (2.27, 2.28, 2.29 & 2.30) and I'm seeing
the same issue on each. I've dropped the database completely and recreated
before deploying each version. Still the same issue each time (starting to
think there may be a problem with either my Tomcat or postgresql builds).

There are a couple of failures I believe in catalina.out during the build,
but most (or all) other features that I use seem to be working ok.
I think most are related to GIS modules but I'll give them a more detailed
second pass.

If you were willing/able to take a closer look then I could provide you
with the server link and a temp login account.

Best,
Kevin

On Fri, Nov 2, 2018 at 9:29 AM Markus Bekken <markus@xxxxxxxxx> wrote:

> 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 for support and
> discussions on DHIS2.
>
> 2. nov. 2018 kl. 13:21 skrev Kevin Bolger <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> 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>
>> wrote:
>>
>>> [image: Boxbe] <https://www.boxbe.com/overview> This message is
>>> eligible for Automatic Cleanup! (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: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
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : 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
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
>

References