/ODKAggregate/local_login.html?redirect=Aggregate.html not found

Hi to all!

I installed ODK 1.5.0 Aggregate on a linux ubuntu 16.04 vm. It works well with the exepstion that i can't login. When i click on the login i get the page where i can choose between the "Sign in with Aggregate password" and "Anonymous Access". In case i choose "Sign in with Aggregate password" i get an 404 error. The tomcat log says to me:

---
org.opendatakit.aggregate.servlet.MultimodeLoginPageServlet doGet INFORMATION: Invalidating login session C4E08571B94ADF0AEF65D6ADD63A1C5A
---

What ODK tool and version are you using? And on what device and operating system version?
ODK Aggregate 1.5.0
OS: Ubuntu 16.04

I hope someone have a tip for me to solve the problem.

Kind regards
Christopher

We'll need more of the log to be able to help to figure out what is going on, but my guess is that the problem you are running into has to do with the fully qualified domain name that you specified when you installed Aggregate and how it interacts with the IP of the VM and the IP of your host machine.

Might just be easier to download and install the Aggregate VM. It sort of solves all these problems for you. https://docs.opendatakit.org/aggregate-vm/

1 Like

Hello yanokwa!
Iam not quit sure if my problem depends on the fqdn. I can upload forms and submit forms. Also ODK Collect works fine. The only problem is that i can't login.

The Networkadapter is set to bridged on my VM. NAT forwards 8080 to the local ip of the VM (Router).
When i click to "Log in" http://subdomain:8080/ODKAggregate/multimode_login.html it works.
After i choose "Sign in width Aggregate Password" i get http://subdomain:8080/ODKAggregate/local_login.html?redirect=Aggregate.html and a blank page.

my tomcat log say only:

Jun 20, 2018 8:11:10 AM org.opendatakit.aggregate.form.FormFactory internalGetForms
INFORMATION: FormCache: using cached list of Forms
Jun 20, 2018 8:11:10 AM org.opendatakit.aggregate.form.FormFactory internalGetForms
INFORMATION: FormCache: using cached list of Forms
Jun 20, 2018 8:11:10 AM org.opendatakit.aggregate.form.FormFactory internalGetForms
INFORMATION: FormCache: using cached list of Forms
Wed Jun 20 08:11:10 CEST 2018 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.2$
Wed Jun 20 08:11:10 CEST 2018 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.2$
Wed Jun 20 08:11:10 CEST 2018 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.2$
Jun 20, 2018 8:11:10 AM org.opendatakit.aggregate.form.FormFactory internalGetForms
INFORMATION: FormCache: using cached list of Forms
Jun 20, 2018 8:11:10 AM org.opendatakit.aggregate.form.FormFactory internalGetForms
INFORMATION: FormCache: using cached list of Forms
Jun 20, 2018 8:12:05 AM org.opendatakit.aggregate.servlet.MultimodeLoginPageServlet doGet
INFORMATION: Invalidating login session FD86B2F7486284B5824169D507A727F7
Jun 20, 2018 8:12:49 AM org.opendatakit.common.security.spring.RoleHierarchyImpl refreshReachableGrantedAuthorities
INFORMATION: Executing: refreshReachableGrantedAuthorities
Jun 20, 2018 8:12:49 AM org.opendatakit.common.security.spring.UserServiceImpl reloadPermissions
INFORMATION: Executing: reloadPermissions

How are you able to upload blank forms and submit data if you can't login?

I don't know but it works. Here my link to my ODK Aggregate:
http://odk.ff-leopoldsdorf.at:8080/ODKAggregate

Ah, I see! You are able to login anonymously, but you can't login with a username and password.

Very strange. Can you humor me and try the Aggregate v1.5.0 VM
at https://github.com/opendatakit/aggregate/releases/tag/v1.5.0 (Docs at https://docs.opendatakit.org/aggregate-vm) and see if that works with your network setup?

@ggalmazor any other ideas?

Hi, @merlinmc and @yanokwa!

That 404 error you're getting is really weird. If you haven't changed anything on the Aggregate webapp or the source code used to build your Aggregate instance, I don't know what could cause the error.

I would advise trying the VM as @yanokwa has suggested to rule out any other possible networking issue external to Aggregate.

1 Like

Hi! I don#t change anything on the Aggregate webapp. I changed to the ODK VM and it works well.

1 Like