Git Product home page Git Product logo

Comments (10)

abdulrehmanjaved-1 avatar abdulrehmanjaved-1 commented on July 19, 2024

Hey Joschan! I would like to work on it.

from quill.

fxellence avatar fxellence commented on July 19, 2024

Hello Guys, i am seeing the same issue, file uploaded fine, i can also see database entry for, it just take too much time for processing and then give me error "only 5 page is allowed" and i can see the same error "/api/trpc/getFile?batch=1 404 (Not Found) " in the browser console.. i am using just one page pdf.

from quill.

KLGH24 avatar KLGH24 commented on July 19, 2024

I get the exact same error. Anyone find a fix for this?

I think it has something to do with the pathing and indexing since batch=1 is the second in list of index but it should be batch=0 (when only one file). Not totally sure.

from quill.

Roromus avatar Roromus commented on July 19, 2024

It's totally normal. It's this code that does it in ChatWrapper.tsx
const { data, isLoading } = trpc.getFileUploadStatus.useQuery( { fileId }, { refetchInterval: (data) => data?.status === "SUCESS" || data?.status === "FAILED" ? false : 500, } );

from quill.

engmsaleh avatar engmsaleh commented on July 19, 2024

Same issues any updates?

from quill.

MrArabAi avatar MrArabAi commented on July 19, 2024

any updates?

from quill.

engmsaleh avatar engmsaleh commented on July 19, 2024

What I have found until now is the problem is onUploadComplete isn't being called on the production environment and that is the cause getfile or getFileUploadStatus fails as the file is uploaded to uploadthing but not firing back the callback onUploadComplete on production

and as there is a polling loop it will wait forever for it without any progress
My workaround is to make the next js app run in dev using npm run dev even on production

either on Vercel or any other host
BTW: there is an issue on uploadthing repo about that issue, but isn't completed or defined yet

from quill.

maximBurinskyi avatar maximBurinskyi commented on July 19, 2024

Can someone explain how to run npm run dev in production?

from quill.

ck18sss avatar ck18sss commented on July 19, 2024

I had this issue, What fixed the problem for me was that I had my OpenAI key spelled differently in my env file as compared to my /uploadthing/core file.

from quill.

Aadityakesarwani avatar Aadityakesarwani commented on July 19, 2024

Any updates ? How to solve this issue.

from quill.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.