themekit: Protocol ERROR
Describe the bug reported in https://github.com/Shopify/themekit/issues/631
REPORT
I’m having this issue all of a sudden. I’ve been working for a week with my theme. All of a sudden tonight while using theme watch
I refreshed and suddenly theme when nuts. Now my theme is borked, and totally using wrong theme settings. I can’t upload.
- I’ve tried creating a new theme entirely with theme deploy. No dice.
- I’ve tried deleting all the theme files on the server, but no go.
I’m not going to lie I’m kind of freaking out. I even rolled back to a few version of my theme in git and no dice. Any ideas?
I adjusted the timeout to 10min. Still the same errors. I just tried it on different ISPs. I don’t have any proxy installed. Additionally the files it complains about if I upload them with theme deploy
on just the individual file it’s fine. But I can’t upload or fix my theme. Something about assets.json seems bad on shopify’s servers.

Here you can take a look. My theme is totally borked. It’s using the wrong style, colors, and has a whole bunch of modules I normally don’t have. https://0gu1633t8wuopedl-14175736.shopifypreview.com/
When I go into the shopify admin it claims some file I’ve never edited is broken. (I checked git history)


Thanks for any help!
FOLLOW UP
I’ve restarted. Tried an entirely different computer with a new checked out version of my theme @tanema
The issues started around 12:30am at Shopify. They aren’t fixed still. It’s def on Shopify’s servers as the same thing is happening on a new computer with a brand new checked out copy.
I consider myself a decent developer, and have no idea hoaw to proceed. I even tried looking for the assets.json file to delete.
Any of those protocol error files above if I manually deploy them it works fine deploy assets/cervical-leadin-page-6.jpg
works. So it’s not the file
cc @ckizer
About this issue
- Original URL
- State: open
- Created 5 years ago
- Comments: 27 (9 by maintainers)
It always seems to get about 30% done, then hang. I set the timeout to 2000s thinking that might fix it. I’ve have pretty fast upstream so I don’t think it’s actually timing out. Files are max about 3.2MB
[development] 79|234 [=========================>----------------------------------------------------] 34 % [development] (assets/thin-leadin-page-8.jpg) Put https://cradle-me.myshopify.com/admin/themes/74945298535/assets.json: stream error: stream ID 129; PROTOCOL_ERROR
Thanks, no that is my fault, I was uploading a test theme using your private app so that I could test your scenario however I am not having problems. I am still investigating. You should be able to upload smoothly again in a few moments
If it’s useful, I invited you to the github repository of the theme. You can look back at around 11:30PM PST and see the commits I did before the error started happening.
https://github.com/ckizer/lofty-sleep-theme