In my case, for local testing, the problem was changing from https to http. So http://localhost:8080/...