akvo / akvo-tech-consultancy

Custom Development to Support Partner's Data Journey
https://www.akvo.org
7 stars 2 forks source link

Webforms not loading for migrated instances #482

Closed janagombitova closed 3 years ago

janagombitova commented 3 years ago

https://akvoo.reamaze.com/admin/conversations/akvoflow-support-request-number-521137-from-karmath-at-akvo-dot-org

Via support, two separate partners reported webforms not loading. I checked a few random surveys on both instances and the same issue happened:

  1. Found a published survey that is shareable as a webform
  2. copied the URL and opened it in a private window
  3. Saw a Network error Screenshot 2021-05-31 at 15 46 43
  4. The error disappeared and the form did not load Screenshot 2021-05-31 at 14 21 20

I tried a few other instances and the webforms worked fine > they loaded fine.

The one common thing these partners have that experience the issue is that they are from the group of instances we migrated earlier this month. For other instances (not migrated) the webforms work fine.

The migrated instances are: https://github.com/akvo/akvo-flow-server-config/issues/649#issuecomment-817542638

The issue is that the webforms simply do not load. The survey exists, it is published but after opening the webform URL the user sees an error and then the actual form does not load in the webform UI.

janagombitova commented 3 years ago

Jumped the gun. Actually, some other forms do load. Reseraching further

janagombitova commented 3 years ago

Reopening the issue so we can track the investigation here. What we saw today is webforms work for some of the above mentioned instances, but not for all:

old ID new ID domain name Do webforms load?
akvoflow-14.appspot.com akvoflow-214 cwsa.akvoflow.org yes
flowliberia-hrd.appspot.com akvoflow-215 liberia.akvoflow.org (this URL has changed from the original one) no
watermapmonitordev-hrd.appspot.com akvoflow-216 wfp.akvoflow.org no
akvoflow-7.appspot.com akvoflow-217 wai.akvoflow.org yes
akvoflow-23.appspot.com akvoflow-218 welthungerhilfe.akvoflow.org no
akvoflow-27.appspot.com akvoflow-219 snape.akvoflow.org yes

For example, they DO NOT load for welthungerhilfe.akvoflow.org.

janagombitova commented 3 years ago

Just for the sake of note-taking: I checked all the mentioned instances where webforms did not load and they all now load the webforms as expected. Thank you. Case closed.