drbeni/malquarium

Latest submitted samples

Closed this issue · 1 comments

boh commented

description

Empty table even though there are samples.

Getting 404 error:

malquarium-backend_1   | Not Found: /api/samples/latest/

Asking api/samples/latest/

image

Total Samples: 12

image

malquarium-frontend_1  | 5.6.7.8 - - [12/Nov/2018:22:32:18 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36"
malquarium-frontend_1  | 5.6.7.8 - - [12/Nov/2018:22:32:18 +0000] "GET /api/samples/stats/ HTTP/1.1" 200 11 "http://1.2.3.4:8080/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36"
malquarium-backend_1   | Not Found: /api/samples/latest/
malquarium-frontend_1  | 5.6.7.8 - - [12/Nov/2018:22:32:18 +0000] "GET /api/samples/latest/ HTTP/1.1" 404 23 "http://1.2.3.4:8080/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36"
boh commented

I found the solution probably. This was related to a locally generated frontend docker image (some minor graphical tweaks).

When i built the backend docker image locally as well, the page started showing samples correctly amd backend error disappeared.

I guess in this case the solution was to build both frontend and backend locally (or don't build them at all) and use the configuration from Github.