ZE20017: Could not upload file to your Edge Provider.

Hi, I am new to community, working on react app. We have multiple projects, works fine. One project, keeps throwing below error. I confirmed this is not network since this worked earlier. Other teammates, it works within same office network. I tried inside VPN, outside VPN, same error. Any tips to troubleshoot this error?

ZEPHYR ZE20017: Could not upload file to your Edge Provider. This error will affect your tags and environments and it might fail deployments to custom domains.
ZEPHYR
ZEPHYR Please check your network connection and try again.
ZEPHYR
ZEPHYR Visit https://docs.zephyr-cloud.io/errors/ZE20017 for more information
ZEPHYR Or join our Discord server at https://zephyr-cloud.io/discord

● ━━━━━━━━━━━━━━━━━━━━━━━━━ (93%) sealing after asset optimization node:events:496
throw er; // Unhandled 'error' event
^

Error: write EPIPE
at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:87:19)
Emitted 'error' event on TLSSocket instance at:
at emitErrorNT (node:internal/streams/destroy:170:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3)
at processTicksAndRejections (node:internal/process/task_queues:90:21) {
errno: -32,
code: 'EPIPE',
syscall: 'write'
}

ZEPHYR ZE20017: Could not upload file to your Edge Provider. This error will affect your tags and environments and it might fail deployments to custom domains.
ZEPHYR
ZEPHYR Please check your network connection and try again.
ZEPHYR
ZEPHYR Visit https://docs.zephyr-cloud.io/errors/ZE20017 for more information
ZEPHYR Or join our Discord server at https://zephyr-cloud.io/discord

● ━━━━━━━━━━━━━━━━━━━━━━━━━ (93%) sealing after asset optimization node:events:496
throw er; // Unhandled 'error' event
^

Error: write EPIPE
at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:87:19)
Emitted 'error' event on TLSSocket instance at:
at emitErrorNT (node:internal/streams/destroy:170:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3)
at processTicksAndRejections (node:internal/process/task_queues:90:21) {
errno: -32,
code: 'EPIPE',
syscall: 'write'
}
18 Replies
Leo Oliveira
Leo Oliveira4mo ago
Hello Sarav Which Edge Provider are you using?
Néstor
Néstor4mo ago
Can you run the same command with DEBUG=zephyr:* and throw the output here ?
ShaneCodes
ShaneCodes4mo ago
DEBUG=zephyr:* pnpm build for example It should log out a whole bunch of helpful zephyr debug output
Sarav
SaravOP4mo ago
sure, we are using Fastly Edge. i ll run with debug and share
zephyr:http [POST][https://ze.southernglazers.com/upload?type=file&hash=**&filename=vendors-node_modules_pnpm_lucide-react_0_474_0_react_18_3_1_node_modules_lucide-react_dist_es-727f71.a1cc719f36f1c2da.js]: 212ms
zephyr:http - 3339.69kb
zephyr:http Response: {"message":"Skipping upload for existing files."}
zephyr:http Options: {"method":"POST","headers":{"x-file-size":"3419844","x-file-path":"vendors-node_modules_pnpm_lucide-react_0_474_0_react_18_3_1_node_modules_lucide-react_dist_es-727f71.a1cc719f36f1c2da.js","can_write_jwt: [REDACTED],"Content-Type":"application/octet-stream"}} +1ms
zephyr:upload file vendors-node_modules_pnpm_lucide-react_0_474_0_react_18_3_1_node_modules_lucide-react_dist_es-727f71.a1cc719f36f1c2da.js uploaded in 212ms (3339.69kb) +1ms
node:events:502
throw er; // Unhandled 'error' event
zephyr:http [POST][https://ze.southernglazers.com/upload?type=file&hash=**&filename=vendors-node_modules_pnpm_lucide-react_0_474_0_react_18_3_1_node_modules_lucide-react_dist_es-727f71.a1cc719f36f1c2da.js]: 212ms
zephyr:http - 3339.69kb
zephyr:http Response: {"message":"Skipping upload for existing files."}
zephyr:http Options: {"method":"POST","headers":{"x-file-size":"3419844","x-file-path":"vendors-node_modules_pnpm_lucide-react_0_474_0_react_18_3_1_node_modules_lucide-react_dist_es-727f71.a1cc719f36f1c2da.js","can_write_jwt: [REDACTED],"Content-Type":"application/octet-stream"}} +1ms
zephyr:upload file vendors-node_modules_pnpm_lucide-react_0_474_0_react_18_3_1_node_modules_lucide-react_dist_es-727f71.a1cc719f36f1c2da.js uploaded in 212ms (3339.69kb) +1ms
node:events:502
throw er; // Unhandled 'error' event
Zack
Zack4mo ago
@ShaneCodes something to look at, its a 3mb file, wonder if thats part of whats causing the issue with fastly edge
Sarav
SaravOP4mo ago
nice. thansk for pointer. and technical possible for us to reduce bundle size and retry. we ll try to add more lazyload and break 3mb bundle smaller. will reply if breaking the bundle helps us
Zack
Zack4mo ago
But we still need to dig in as to why
Sarav
SaravOP4mo ago
thanks for reply and support @Zack . it was indeed the icons package > 3MB that was timing out. Now, any idea what region is https://ze.southernglazers.com? Reason is, I am in toronto and facing timeout. teammates from Atlanta always works nvr timesout. Smelling developers outside certain cloud regions, are slapped with timeouts.
Zack
Zack4mo ago
we have a potential fix for this we're testing right now
ShaneCodes
ShaneCodes4mo ago
anyone have at&t fiber? They're installing it in our neigbhorhood and I was wondering if I should get it
Zack
Zack4mo ago
thats what i have 1gb up and down its nice
ShaneCodes
ShaneCodes4mo ago
Is that actual? I see them market it like that but I want to know the wifi up/down closeish to the router also how much is it?
Zack
Zack4mo ago
close enough?
No description
Zack
Zack4mo ago
and thats with my kids upstairs streaming
Zack
Zack4mo ago
No description
Zack
Zack4mo ago
via my switch
ShaneCodes
ShaneCodes4mo ago
thats fire my 1.2 gb download
No description
ShaneCodes
ShaneCodes4mo ago
that costs me 150 a month Literally only internet unlimited data

Did you find this page helpful?