Nikeev / sesdashboard

Analytics and activity tracking dashboard for AWS Simple Email Service
https://sesdashboard.com/
MIT License
86 stars 27 forks source link

Activity UI Tab not working #43

Closed yogesh-bangar closed 2 years ago

yogesh-bangar commented 2 years ago

Hi, I have setup sesdashboard on EC2 instance and also linked with AWS SNS, I could see the data in Dashboard, but I am not able to see data on Activity Tab. When I download the report, the data is reflected in it but not on the Activity Tab UI. I've attached the screen shoot for the same. Please look into it ASAP Dashboard(Working fine) Activity(Not Working) When I inspected the Activity UI console, below is the error I'm seeing. Activity(When Inspected console)

Nikeev commented 2 years ago

Hello! Sorry for late reply. It's quite strange about 404 error for api url. Could you please clear all caches

$ ./bin/console cache:clear
$ ./bin/console cache:warmup

Or for Docker

$ docker exec -it sesdashboard-php-fpm ./bin/console cache:clear
$ docker exec -it sesdashboard-php-fpm ./bin/console cache:warmup

And try again? Also please try to open http:///activity/list/api?page=1&limit=10 in browser. Do you see any json response or the same 404 error?

yogesh-bangar commented 2 years ago

Hi Nikeev, As suggested by you, ran the command for clearing all caches. But I'm still face the same issue(404 error) as attached in the previous screen shot. I also tried to open "http:///activity/list/api?page=1&limit=10" in browser and I am getting the Json response in return. The json data is the actual data which I need to get displayed in the Activity UI.

Nikeev commented 2 years ago

Hmm, quite interesting. Could you provide me an url from browser inspector console that it tries to access? Like /list/api?...... with all query parameters. Maybe there is an issue with filter.

yogesh-bangar commented 2 years ago

Nikeev thanks for your response, the issue is resolved. The issue was in apache configuration (.htaccess file) where it was not allowing some redirects.