-
Notifications
You must be signed in to change notification settings - Fork 67
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]: For the case of error reporting when uploading files | 对于上传时文件时出现报错的情况 #33
Comments
My current idea is that for unpaid users, the concurrency will be limited to 1, and there won't be any restrictions on retry attempts. 我目前的想法是,如果是未付费用户,则将并发量控制为1,不进行 retry 次数的限制。 |
@codeacme17 ,又出现新的问题了,传不上去 |
@jwz520 可以看看您的 个人配置页面的内容么,这个报错是因为 api_base 出现的 |
ok, 那您是否更新了代码,确保删除了之前的容器,并且重新启动了。 可以看这里的更新步骤 https://github.com/codeacme17/examor#%EF%B8%8F-update-the-project |
copy下来代码,只执行了 docker-compose up -d --build 命令 |
@codeacme17 ,需要把 images 也删除更新吗? |
没事,不需要,给我一些时间修复这个问题 |
更新了,但还是不行,这是个什么问题呀 |
现在在容器里环境变量有些问题,所以拿不到url地址 |
@jwz520 我更新了代码,请进行尝试 |
@codeacme17 ,又成这样了,一直在上传中😅 |
很奇怪,我使用你的文件上传没有遇到这个问题。你试着用 |
这是docker-compose up --build 之后的,我看着好像没有报错吧!也不行,我再试试将container 和 image删除 #1 [database internal] load .dockerignore #2 [database internal] load build definition from Dockerfile #3 [database internal] load metadata for docker.io/library/mysql:8.0 #4 [database 1/2] FROM docker.io/library/mysql:8.0@sha256:f0e71f077bb27fe17b1b9551f75d1b35ad4dfe3a33c82412acf19684790f3a30 #5 [database internal] load build context #6 [database 2/2] COPY ./database.sql /docker-entrypoint-initdb.d/ #7 [database] exporting to image #8 [server internal] load build definition from Dockerfile #9 [server internal] load .dockerignore #10 [server internal] load metadata for docker.io/library/python:3.11.3 #11 [server 1/8] FROM docker.io/library/python:3.11.3@sha256:3a619e3c96fd4c5fc5e1998fd4dcb1f1403eb90c4c6409c70d7e80b9468df7df #12 [server internal] load build context #13 [server 7/8] COPY . . #14 [server 2/8] WORKDIR /app #15 [server 5/8] COPY wait-for-it.sh . #16 [server 4/8] RUN pip install -r requirements.txt #17 [server 3/8] COPY requirements.txt . #18 [server 6/8] RUN ls -a #19 [server 8/8] RUN chmod +x wait-for-it.sh #20 [server] exporting to image #21 [app internal] load build definition from Dockerfile #22 [app internal] load .dockerignore #23 [app internal] load metadata for docker.io/library/node:18-alpine #24 [app 1/5] FROM docker.io/library/node:18-alpine@sha256:3482a20c97e401b56ac50ba8920cc7b5b2022bfc6aa7d4e4c231755770cf892f #25 [app internal] load build context #26 [app 4/5] RUN npm install -g pnpm && pnpm install && rm -rf /node_modules/.vite #27 [app 2/5] WORKDIR /app #28 [app 3/5] COPY package.json pnpm-lock.yaml ./ #29 [app 5/5] COPY . . #30 [app] exporting to image |
@codeacme17 ,这是删除后运行的,还是不行 #1 [database internal] load .dockerignore #2 [database internal] load build definition from Dockerfile #3 [database internal] load metadata for docker.io/library/mysql:8.0 #4 [database 1/2] FROM docker.io/library/mysql:8.0@sha256:f0e71f077bb27fe17b1b9551f75d1b35ad4dfe3a33c82412acf19684790f3a30 #5 [database internal] load build context #6 [database 2/2] COPY ./database.sql /docker-entrypoint-initdb.d/ #7 [database] exporting to image #8 [server internal] load .dockerignore #9 [server internal] load build definition from Dockerfile #10 [server internal] load metadata for docker.io/library/python:3.11.3 #11 [server 1/8] FROM docker.io/library/python:3.11.3@sha256:3a619e3c96fd4c5fc5e1998fd4dcb1f1403eb90c4c6409c70d7e80b9468df7df #12 [server internal] load build context #13 [server 7/8] COPY . . #14 [server 2/8] WORKDIR /app #15 [server 4/8] RUN pip install -r requirements.txt #16 [server 6/8] RUN ls -a #17 [server 5/8] COPY wait-for-it.sh . #18 [server 3/8] COPY requirements.txt . #19 [server 8/8] RUN chmod +x wait-for-it.sh #20 [server] exporting to image #21 [app internal] load .dockerignore #22 [app internal] load build definition from Dockerfile #23 [app internal] load metadata for docker.io/library/node:18-alpine #24 [app 1/5] FROM docker.io/library/node:18-alpine@sha256:3482a20c97e401b56ac50ba8920cc7b5b2022bfc6aa7d4e4c231755770cf892f #25 [app internal] load build context #26 [app 4/5] RUN npm install -g pnpm && pnpm install && rm -rf /node_modules/.vite #27 [app 2/5] WORKDIR /app #28 [app 3/5] COPY package.json pnpm-lock.yaml ./ #29 [app 5/5] COPY . . #30 [app] exporting to image |
好的,我这几天去搞一个 免费账号来测试一下这个问题到底是为什么会发生,感谢你的协助,请等待我最新的消息 |
@jwz520 我刚刚更新了修复,请在尝试一下~ |
@codeacme17 ,又有了新bug,server启动不了 |
OK |
@jwz520 ,抱歉这个报错是由于 |
@codeacme17 ,还是有问题,server启动不了 |
请尝试将之前的 container 删除在 compose 一下,这个问题应该是数据库的内容没有更新 |
这回可以上传了😄 |
谢天谢地,我重写了上传的逻辑,如果你的账号是未付费版上传时间会比较长,这是因为为了避免 openai 的 rate limits。我将会关闭这个 issue,十分感谢你这段时间的协助!我会将你的名字放在项目的 README 简介中,如果遇到其他问题,很欢迎再次创建 issue 与我沟通~ |
Description of the bug
Appear in:#31
I currently think it is due to limits caused by users using unpaid Openai accounts, of course, it may also be caused by other problems. This week I will focus on solving this bug
我目前认为是由于用户使用未付费的 Openai 账号使得出现了限制, 当然也有可能是由于其他的问题导致的。这本周我会专注于解决这个 Bug
The text was updated successfully, but these errors were encountered: