504 Error with survey with Multiple Repeats

1559
6
01-24-2019 09:10 PM
ChrisRoberts2
Occasional Contributor II

Hi

We have a survey with multi repeats and when I try to publish to our 10.6 Enterprise Portal from Survey123 Connect (3.1.126) I keep getting get a 504 timeout error.  If I take out all but one repeat (doesnt matter which) it will publish fine.  It is possible to have a survey with more than one repeat isnt it??

Just wondering if there is something I am missing our if I have the syntax wrong somewhere in this form?

Cheers, Chris

0 Kudos
6 Replies
JamesTedrick
Esri Esteemed Contributor

Hi Chris,

Is the feature service one that was published by Survey123, or an existing service (either hosted or in the enterprise geodatabase).  A 504 error is an ArcGIS Server error - have you checked the ArcGIS Server logs for any issues?

0 Kudos
ChrisRoberts2
Occasional Contributor II

Thanks James

I have created a new survey in Survey123 Connect from scratch to publish to our Enterprise Portal, so it is a new hosted feature service that is should be creating.

The ArcGIS Server logs don't show anything of note to me

INFOJan 29, 2019, 8:50:16 AMRequest user: ad2f4121-5a7a-421e-9da9-171a7033945b, Service: null/nullRest
VERBOSEJan 29, 2019, 8:50:15 AMReleased 'service-hosted.service_b3461563c01447bfaa9e6945e627dfff.featureserver' workflow lock.Admin
INFOJan 29, 2019, 8:50:14 AMRequest user: ad2f4121-5a7a-421e-9da9-171a7033945b, Service: null/nullRest
VERBOSEJan 29, 2019, 8:50:13 AMStarting the service 'Hosted/service_b3461563c01447bfaa9e6945e627dfff.FeatureServer'.Admin
INFOJan 29, 2019, 8:50:11 AMRequest user: ad2f4121-5a7a-421e-9da9-171a7033945b, Service: null/nullRest
VERBOSEJan 29, 2019, 8:50:06 AMStopping the service 'Hosted/service_b3461563c01447bfaa9e6945e627dfff.FeatureServer'.Admin
FINEJan 29, 2019, 8:50:06 AMREST request successfully processed. Response size is 508 characters.System/PublishingToolsEx.GPServer
FINEJan 29, 2019, 8:50:06 AMREST request received. Request size is 268 characters.System/PublishingToolsEx.GPServer
FINEJan 29, 2019, 8:50:06 AMWait time for 'System.PublishingToolsEx.GPServer' service request is 0 milliseconds.Server
INFOJan 29, 2019, 8:50:06 AMRequest user: croberts, Service: System/PublishingToolsEx/GPServerRest
FINEJan 29, 2019, 8:50:06 AMREST request successfully processed. Response size is 587 characters.System/PublishingToolsEx.GPServer
FINEJan 29, 2019, 8:50:06 AMREST request received. Request size is 268 characters.System/PublishingToolsEx.GPServer
FINEJan 29, 2019, 8:50:06 AMWait time for 'System.PublishingToolsEx.GPServer' service request is 0 milliseconds.Server
INFOJan 29, 2019, 8:50:06 AMRequest user: croberts, Service: System/PublishingToolsEx/GPServerRest

It does seem to me to be something with having multiple repeats.  As I have tried publish the same form with just a single repeat and it works fine.  As soon as I have more than one it fails.

Cheers

Chris

0 Kudos
AshaV
by
New Contributor

As far as I can tell, this issue wasn't resolved... I am having the same error when I try to generate a report with multiple repeats. I was able to get my template to pass the syntax check, but now the report won't generate. Perhaps it's a formatting/syntax nuance I'm missing? Any tips for multiple repeats formatting?

0 Kudos
AshaV
by
New Contributor

I kept plodding away and discovered that with multiple repeats, tables are your friend. If you have repeats within a larger repeat section, add all the child repeats to a parent table (I just made the parent a one row/column table) that includes the parent repeat syntax at top and bottom, outside of the child repeats.

0 Kudos
Felicitychun
New Contributor III

I'm also getting a 504 error a lot. I'm on an Enterprise Portal. This is with feature report templates.

- When trying to upload templates from a file the error seems to come through with the check syntax api request. 'Error: Undefined'

- When just asking it to create its own sample template.

- sometimes even using the quick reference link

0 Kudos
Katherine_Clark
MVP Regular Contributor

I am also getting this error working with a Survey published to ArcGIS Online. It returns a 504 error when checking the template syntax even from the sample template. Were you able to find any kind of resolution? (The table workaround mentioned above didn't seem to work for me)

0 Kudos