
Assi Shamay asked a question.
Hello,
Since Oct 27, 2026 our integration has been seeing severe latency and intermittent HTTP 504 Gateway Timeout responses on file uploads. Our download path has stayed healthy, so the problem appears to be isolated to the upload gateway. Details below.
ENVIRONMENT
- ShareFile account on the HIPAA cloud storage zone (US)
- Client: Java (java.net.HttpURLConnection), server-side batch service, US-based
- All timestamps below are [TIMEZONE – please fill in]
API CALLS WE MAKE
1. POST https://<subdomain>.sharefile.com/oauth/token (token refresh)
2. POST https://<subdomain>.sf-api.com/sf/v3/Items(<folderId>)/Upload (method=standard)
3. POST to the returned ChunkUri:
(multipart/form-data, single part; files are small: JSON of a few KB and PDFs of a few hundred KB to a few MB)
4. GET https://<subdomain>.sf-api.com/sf/v3/Items(<id>)/Download → redirect to https://storage-cf-us-hipaa.sharefile.com/Download/...
SYMPTOM 1 – UPLOAD LATENCY
Until Oct 26 a small JSON upload (steps 2+3) completed in about 1 second. Starting Oct 27 ~14:30 the same uploads took 10–90 seconds. The time is spent waiting on the standardupload response; nothing else runs in that thread.
Measured upload duration (time from the Items/Upload call to the standardupload response, hundreds to ~1,000 uploads per day):
Date Median p90 Max Uploads >20s
Oct 23 1.4s 3.2s 12s 0%
Oct 24 1.0s 2.7s 10s 0%
Oct 25 1.0s 2.5s 9s 0%
Oct 26 1.7s 3.8s 25s 0%
Oct 27 17.1s 30.7s 64s 44%
Oct 28 12.0s 37.4s 89s 36%
Oct 30 4.7s 10.3s 65s 6%
Oct 31 1.3s 3.9s 8s 0%
Nov 1 1.6s 5.4s 19s 0%
Nov 2 6.6s 11.0s 33s 2%
Nov 3 1.5s 2.8s 4s 0% (until 03:00)
Worst hour: Oct 28 11:00–12:00, median 37s, p90 64s.
SYMPTOM 2 – HTTP 504 FROM THE UPLOAD GATEWAY
The standardupload call returns HTTP 504 in bursts. Example (IDs redacted):
java.io.IOException: Server returned HTTP response code: 504 for URL:
Count of 504 responses per day (0–4 per day before Oct 27):
Oct 27: 12 Oct 28: 93 Oct 30: 45
Nov 1: 42 Nov 2: 102 Nov 3: 0 (until 03:00)
Burst windows: Oct 28 11:00–12:00 (40 timeouts), Oct 30 07:00–09:00 and 14:00, Nov 1 08:17, 11:xx, 14:xx, 17:xx, 19:xx, Nov 2 00:47–01:xx, 07:xx, 10:xx, 12:xx, 19:xx–20:xx.
We have the exact upload IDs and timestamps for every 504 and can share them privately with support.
SYMPTOM 3 – OTHER ERRORS IN THE SAME PERIOD (lower volume)
- standardupload JSON response with error code -100 / "REJECTED": 21 occurrences, all Oct 28 11:36–11:42 and Oct 30.
- /sf/v3/Items(...) returned 500 (6x) and 502 (5x); Items(...)/Upload returned 502 (3x) and 403 (2x), mostly Oct 28 11:37–11:42.
- /oauth/token returned 502 (2x) and 500 (16 occurrences Oct 28–Nov 3).
- storage-cf-us-hipaa.sharefile.com/Download/... returned 500 (4x) and 503 (4x) on Oct 27 14:36 and 16:44, Oct 28 11:53 and 12:39, Oct 30 09:09 and 14:03.
WHAT WE RULED OUT
- Our request volume did not change. Oct 26 (healthy, ~1,000 uploads) had the same or higher load as the slow days. The slowest hour (Oct 28 11:00) had one of the lowest upload counts.
- Our code did not change before the onset. The slowdown began on Oct 27 ~14:30 on a service running the same build as the healthy Oct 23–26 days.
- Downloads from storage-cf-us-hipaa.sharefile.com stayed at 1–3 seconds throughout.
QUESTIONS
1. Was there an incident or change affecting sf-apiadapter-sharefile-hipaa.sharefile.com / the HIPAA upload zone between Oct 27 and Nov 2?
2. Can support check our upload IDs (shared privately) to see where the time was spent and why the gateway returned 504?
3. Is there a recommended retry policy or an alternative upload method (e.g. streamed upload) for HIPAA-zone accounts while this is ongoing?
Happy to provide upload IDs and full request/response logs privately.
Thanks