We experienced an interesting behavior. We were unable to publish surveys to ArcGIS Enterprise from Survey123 Connect. However, we were able to publish from Web Designer.
We were receiving a "504 Gateway Time-out." Our Azure engineer informed us the Application Gateway timeout was set to 20 seconds.
The issue was with the ".../addToDefinition" URL for the feature service. The feature service was being published, but not the form item.
After changing it to 120 seconds, we were able to publish from Survey123 Connect.
Is there a recommended timeout value that we should have set for our ArcGIS Enterprise/Survey123 environment?
For reference, logs from Survey123 Connect are below:
<10>1 2024-10-17T15:37:25Z DHPEMERAW76ZB5L ArcGISSurvey123Connect 14136 - [AppStudio@11205 category="PortalRequest" function="onErrorTextChanged" filename="PortalRequest.qml" line="135"] PortalRequest: portalRequest: https://domain.redacted/server/rest/admin/services/Hosted/service_4d0f6bac66a944019253a7baad7a7530/FeatureServer/addToDefinition error: Error transferring https://domain.redacted/server/rest/admin/services/Hosted/service_4d0f6bac66a944019253a7baad7a7530/FeatureServer/addToDefinition - server replied: Gateway Time-out
<10>1 2024-10-17T15:37:25Z DHPEMERAW76ZB5L ArcGISSurvey123Connect 14136 - [AppStudio@11205 category="PortalRequest" function="onReadyStateChanged" filename="PortalRequest.qml" line="121"] PortalRequest: PortalRequest status: 504 504 Gateway Time-out
<10>1 2024-10-17T15:37:25Z DHPEMERAW76ZB5L ArcGISSurvey123Connect 14136 - [AppStudio@11205 category="PortalRequest" function="onFailed" filename="PortalRequest.qml" line="149"] PortalRequest: PortalRequest failed url: https://domain.redacted/server/rest/admin/services/Hosted/service_4d0f6bac66a944019253a7baad7a7530/FeatureServer/addToDefinition error: {
"code": 504,
"message": "504 Gateway Time-out"
}