US-CBP / GTAS

Global Travel Assessment System | A passenger data screening and analysis system for enhancing global security
https://us-cbp.github.io/GTAS/
Other
111 stars 77 forks source link

Docker setup | Errors related to spring-security-csrf-token-interceptor.min.js, kibana and angular functions #1845

Open arunkchahar-minelytics opened 4 years ago

arunkchahar-minelytics commented 4 years ago

Describe the bug NOTE: Press F12 to open developer console

  1. On login screen in console it gives an error related to spring-security-csrf-token-interceptor.min.js. Please refer to [SCREENSHOT 1] in Screenshots section.
  2. After the login, in dashboard screen kibana has iframe related error [SCREENSHOT 2] as it says Refused to display 'http://localhost:8080/gtas/%7B%7BgetKibanaUrl()%7D%7D' in a frame because it set 'X-Frame-Options' to 'deny'.. On mouse hover over the kibana iframe it displays this message The web page at https://localhost:80/app/kibana#/dashboard/7cfbbdc0-2e13-11e9-81a3-0f5bd8b0a7ac?embed=true&_g=(refreshInterval%3A(pause%3A!t%2Cvalue%3A0)%2Ctime%3A(from%3Anow-3d%2Fd%2Cmode%3Arelative%2Cto%3Anow%2B3d%2Fd)) might be temporarily down or it may have moved permanently to a new web address.
  3. Following angular functions are also giving error - getFlightsAndPassengersAndHitsCountInbound GET http://localhost:8080/gtas/getFlightsAndPassengersAndHitsCountInbound?endDate=2020-07-06&startDate=2020-07-03 404 getFlightsAndPassengersAndHitsCountOutbound GET http://localhost:8080/gtas/getFlightsAndPassengersAndHitsCountOutbound?endDate=2020-07-06&startDate=2020-07-03 404 Please refer to error number 3 and 4 in [SCREENSHOT 2] in Screenshots section. Attached a screenshot of network tab as well in [SCREENSHOT 3]

To Reproduce Steps to reproduce the behavior: NOTE: Running this setup on a Ubuntu Virtual Machine.

  1. Go to youtube resource for setting up project using docker How to install GTAS using Docker https://www.youtube.com/watch?v=vR9ihvtP5BA. And follow the steps as shown in the video till the end when you get login screen in browser.
  2. Press F12 to open developer console.
  3. Refresh the page. And login to get dashbboard.
  4. Click on network tab to view more details.

Expected behavior Expected the project website to run without issues after following the steps mentioned in the video tutorial. But found kibana not running and after checking out the console found out more errors.

Screenshots SCREENSHOT 1 image

SCREENSHOT 2 image

SCREENSHOT 3 image

Desktop (please complete the following information):

Smartphone (please complete the following information): N/A

Additional context Attached terminal outputs:

Running docker pull command 002_gtas_master_docker_pull.txt

Running docker up command 003_gtas_master_docker_up.txt

mfscripts commented 3 years ago

@arunkchahar-minelytics I'm seeing the same issue. Did you ever find a resolution to it?