-
Notifications
You must be signed in to change notification settings - Fork 60.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] 7月20日升级最新版本后,没法上传图片了啊 #5074
Comments
Title: [Bug] After upgrading to the latest version on July 20, I can no longer upload pictures. 📦 Deployment methodVercel 📌 Software version2.13.1 💻 System environmentiOS 📌 System version16 🌐 BrowserSafari 📌 Browser versionirrelevant 🐛 Problem descriptionAfter upgrading to the latest version on July 20, I can no longer upload pictures. I have tried Android phones, Chrome, Edge and other browsers, but nothing works. I also redeployed it, but it didn’t work either. 📷 Steps to reproduceNo response 🚦 Expected resultsAt least give me a way to roll back the version of vercel 📝 Supplementary informationNo response |
请问一下,不是的域名有没有使用https? |
I would like to ask, does the domain name that it is not using https? |
例如在官方的预览版本 https://app.nextchat.dev/#/chat 没有发现问题,这边是能正常上传图片到CacheStorage的 |
For example, no problem was found in the official preview version https://app.nextchat.dev/#/chat. Images can be uploaded to CacheStorage normally. |
你好,我用得就是https呀
获取 Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
发件人: Lloyd Zhou ***@***.***>
发送时间: Sunday, July 21, 2024 9:55:33 PM
收件人: ChatGPTNextWeb/ChatGPT-Next-Web ***@***.***>
抄送: davy3331 ***@***.***>; Author ***@***.***>
主题: Re: [ChatGPTNextWeb/ChatGPT-Next-Web] [Bug] 7月20日升级最新版本后,没法上传图片了啊 (Issue #5074)
请问一下,不是的域名有没有使用https?
新的版本将图片从localStorage移到了CacheStorage,这个依赖service worker,如果是http协议就注册不了service worker
―
Reply to this email directly, view it on GitHub<#5074 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AEG5LEXE26MOJZ426GXHR7DZNO4VLAVCNFSM6AAAAABLG2HULOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBRGYZDAMBRHE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
我用演示站都不行,你看截图
还有一个现象,很奇怪用笔记本就可以,用手机就不行。
获取 Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
发件人: Lloyd Zhou ***@***.***>
发送时间: Sunday, July 21, 2024 9:57:46 PM
收件人: ChatGPTNextWeb/ChatGPT-Next-Web ***@***.***>
抄送: davy3331 ***@***.***>; Author ***@***.***>
主题: Re: [ChatGPTNextWeb/ChatGPT-Next-Web] [Bug] 7月20日升级最新版本后,没法上传图片了啊 (Issue #5074)
例如在官方的预览版本 https://app.nextchat.dev/#/chat 没有发现问题,这边是能正常上传图片到CacheStorage的
image.png (view on web)<https://github.com/user-attachments/assets/50c635d3-5afe-477f-862b-9adc93b73957>
―
Reply to this email directly, view it on GitHub<#5074 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AEG5LEXYR6U3K3DH2Z67H3DZNO45VAVCNFSM6AAAAABLG2HULOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBRGYZDANRWGU>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
我用你们的演示站也不行的
规律是使用手机不行,电脑可以正常使用
获取 Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
发件人: Lloyd Zhou ***@***.***>
发送时间: Sunday, July 21, 2024 9:57:46 PM
收件人: ChatGPTNextWeb/ChatGPT-Next-Web ***@***.***>
抄送: davy3331 ***@***.***>; Author ***@***.***>
主题: Re: [ChatGPTNextWeb/ChatGPT-Next-Web] [Bug] 7月20日升级最新版本后,没法上传图片了啊 (Issue #5074)
例如在官方的预览版本 https://app.nextchat.dev/#/chat 没有发现问题,这边是能正常上传图片到CacheStorage的
image.png (view on web)<https://github.com/user-attachments/assets/50c635d3-5afe-477f-862b-9adc93b73957>
―
Reply to this email directly, view it on GitHub<#5074 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AEG5LEXYR6U3K3DH2Z67H3DZNO45VAVCNFSM6AAAAABLG2HULOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBRGYZDANRWGU>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
|
|
你好,感谢答复
1,在支持列表里
2,iOS 16.7.2的浏览器safari, chrome和edge都试过了,都不行。MACBOOK电脑上试过了,是OK的。
获取 Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
发件人: Lloyd Zhou ***@***.***>
发送时间: Monday, July 22, 2024 9:42:58 AM
收件人: ChatGPTNextWeb/ChatGPT-Next-Web ***@***.***>
抄送: davy3331 ***@***.***>; Author ***@***.***>
主题: Re: [ChatGPTNextWeb/ChatGPT-Next-Web] [Bug] 7月20日升级最新版本后,没法上传图片了啊 (Issue #5074)
1. 请问你的手机浏览器是在这个支持列表里面吗?
https://caniuse.com/?search=serviceworker
image.png (view on web)<https://github.com/user-attachments/assets/fbddcc8f-a1d2-497e-b200-0c7857c2ffdd>
2. 你从邮箱回复说电脑可以,手机不行。但是我看了看前面issue里面的描述,说chrome, edge都不行(一方面是这个在app.nextchat.dev未复现,另一方面似乎和你后面提到的电脑端可以的描述不一样?)
―
Reply to this email directly, view it on GitHub<#5074 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AEG5LET7JJV2W4SAHEN4XODZNRPSFAVCNFSM6AAAAABLG2HULOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBRHA4DSNBVGY>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
更新前是好着呢,有在vercel部署指定版本的方法吗?或者版本回退的方法?
获取 Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
发件人: Lloyd Zhou ***@***.***>
发送时间: Monday, July 22, 2024 9:42:58 AM
收件人: ChatGPTNextWeb/ChatGPT-Next-Web ***@***.***>
抄送: davy3331 ***@***.***>; Author ***@***.***>
主题: Re: [ChatGPTNextWeb/ChatGPT-Next-Web] [Bug] 7月20日升级最新版本后,没法上传图片了啊 (Issue #5074)
1. 请问你的手机浏览器是在这个支持列表里面吗?
https://caniuse.com/?search=serviceworker
image.png (view on web)<https://github.com/user-attachments/assets/fbddcc8f-a1d2-497e-b200-0c7857c2ffdd>
2. 你从邮箱回复说电脑可以,手机不行。但是我看了看前面issue里面的描述,说chrome, edge都不行(一方面是这个在app.nextchat.dev未复现,另一方面似乎和你后面提到的电脑端可以的描述不一样?)
―
Reply to this email directly, view it on GitHub<#5074 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AEG5LET7JJV2W4SAHEN4XODZNRPSFAVCNFSM6AAAAABLG2HULOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBRHA4DSNBVGY>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
这个版本针对文件存储做了一个比较大的改动: 之前存储localStorage只有10M的空间,随便放几张图就满了。 我们会继续在iOS设备上复现一下,看看怎么处理这个问题 |
This version has made a major change for file storage: Previously, localStorage only had 10M of space, and it would be full just by placing a few pictures. We will continue to reproduce it on iOS devices to see how to solve this problem |
vercel里面找到之前的deployment记录,redeploy一下就可以发布之前的版本 |
同样出现了这个问题,所以目前http的域名无法使用上传图片功能了吗 |
This problem also occurs, so the image upload function cannot be used for http domain names? |
问题已经定位:老设备不兼容导致,但只要是 https 链接 servicework 都会成功注册导致 window._SW_ENABLED 依然判断为 true.请求 cache 的时候 res 返回 404 状态导致后续数据处理异常。
|
@gaogao1030
|
@gaogao1030
|
对,我这里的回答有点问题,它之所以返回404,是因为我本地走的ip没有注册servicework。 使用的设备: iPhoneX(ios16.7.8) 调试的模式: safari 调试 iphone |
Yes, there is something wrong with my answer here. The reason why it returns 404 is because the IP I am using locally does not have servicework registered. Device used: iPhoneX(ios16.7.8) Debug mode: safari debug iphone |
i see the error message is:
maybe same as https://stackoverflow.com/questions/43793159/parsing-json-in-service-worker-getting-undefined @gaogao1030 |
The same mistake, maybe you can try the code I have already verified above. |
in #5103 just using
|
The anomaly in this screenshot comes from TestLink. |
📦 部署方式
Vercel
📌 软件版本
2.13.1
💻 系统环境
iOS
📌 系统版本
16
🌐 浏览器
Safari
📌 浏览器版本
无关
🐛 问题描述
7月20日升级最新版本后,没法上传图片了,试过安卓手机,和chrome,edge等浏览器,都不行。也重新部署过,也不行
📷 复现步骤
No response
🚦 期望结果
至少给个vercel回退版本的方法
📝 补充信息
No response
The text was updated successfully, but these errors were encountered: