IR-0013: Publish Flow Fails After 3.31.0 Upgrade (Missing store-submit ENV) - Anadolu Sigorta¶
- Status: Resolved
- Date: 2026-07-05
- Severity: SEV-2 - High
- Duration: Resolved on configuration fix
- Affected: Anadolu Sigorta (Self-Hosted 3.31.0) - Publish module / Build service
- Owners: @berk
Summary¶
After upgrading their self-hosted instance to 3.31.0, Anadolu Sigorta could not start the Publish flow. The build service failed to reach the store-submit service because the store-submit URL environment variable was empty/missing, causing a fallback to a hardcoded URL that does not exist in a self-hosted Docker setup.
Timeline¶
| Time | Date | Event |
|---|---|---|
| - | Jul 2026 | Customer upgrades self-hosted instance to 3.31.0. |
| - | Jul 2026 | Publish flow fails to start; build service log shows HttpRequestException connecting to storesubmitserver-cluster-service:80. |
| - | Jul 5, 2026 | Root cause identified as empty/missing store-submit ENV (same root cause as BE-8841); fix delivered. |
Root Cause¶
The build service reaches the store-submit service via an environment variable. When that variable is empty/missing, it falls back to the hardcoded URL storesubmitserver-cluster-service:80, which does not exist in a self-hosted Docker deployment (correct value: http://store_submit:8080). The connection therefore failed with SocketException (11): Resource temporarily unavailable and the Publish flow could not start. Same root cause as BE-8841.
HttpRequestException: Resource temporarily unavailable (storesubmitserver-cluster-service:80)
---> SocketException (11): Resource temporarily unavailable
at Appcircle.BuildServer.Domain.Infrastructure.StoreSubmitClient.GetAppStoreConnectApiSettings(...)
at Appcircle.BuildServer.Domain.ApplicationService.ProcessQueueItemPublish(...)
Impact¶
- Customers affected: Anadolu Sigorta (self-hosted 3.31.0)
- Services degraded: Publish module (flow cannot start); Build service store-submit calls
- Data loss: No
- Workaround: Set the correct store-submit environment variable
Resolution¶
Set the missing store-submit environment variable so the build service reaches store-submit at http://store_submit:8080 instead of the hardcoded fallback. Permanent fix delivered in ac-script-self-hosted PR #301 so the correct store-submit ENV is set by default for self-hosted deployments and the fallback URL is never used.
Action Items¶
| # | Action | Owner | Due Date | Status |
|---|---|---|---|---|
| 1 | Set correct store-submit ENV by default for self-hosted deployments (PR #301) | @berk | 2026-07-05 | Done |
| 2 | Add a startup/config validation that fails fast when a required service URL ENV is empty | Backend | Pending |
Links¶
- Linear issue(s): PL-275, BE-8841
- Related PR(s): ac-script-self-hosted PR #301