jaydenseric/apollo-upload-client

Pending requests issue

moroale93 opened this issue · 2 comments

There is something not working on the upload link.
The requests are pending forever.
Screenshot 2024-02-21 at 09 12 54
Screenshot 2024-02-21 at 09 13 00
but if you copy the exact same cURL request from the network tab and paste it on e.g. PostMan (selecting the same file), the request it's working.
Screenshot 2024-02-21 at 09 13 20

I've added the example here:
https://github.com/moroale93/upload-gql

In the past, there have been some issues with different dev tools, particularly for React Native conflicting with the Chrome network inspector. Just having the tools running or the inspector open could cause multipart requests to display as pending.

It's good that you have a reproduction in https://github.com/moroale93/upload-gql , but it's not minimal with a lock file close to 32k lines of code long:

https://github.com/moroale93/upload-gql/blob/main/package-lock.json

It's a security risk for me to install a project like that on my local machine without auditing all the dependencies.

I'll leave this issue open for a bit to give you a chance to isolate a specific problem with the apollo-upload-client code that I maintain in this repo, but as you can understand I don't have the availability to help people debug projects to figure out what is a bug or not, I can only action issues here that report specific bugs that have already been found. 9/10 times someone has something weird happening in their project it's a bug in their project code, not this library.