Skip to content
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

Error codes when uploading Files to IFPS via nftport/node-js/VScode #154

Open
cryptolive009 opened this issue Feb 2, 2022 · 10 comments
Open

Comments

@cryptolive009
Copy link

Hello, I have many errors when trying to upload files to IFPS via nftport code, such as :

error:TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
error:FetchError: request to https://api.nftport.xyz/v0/files failed, reason: socket hang up
error:FetchError: invalid json response body at https://api.nftport.xyz/v0/files reason: Unexpected token < in JSON at position 1
error:FetchError: request to https://api.nftport.xyz/v0/files failed, reason: write ECONNABORTED
error:FetchError: request to https://api.nftport.xyz/v0/files failed, reason: read ECONNRESET
error:FetchError: request to https://api.nftport.xyz/v0/files failed, reason: connect ETIMEDOUT 34.120.251.101:443

Yesterday some files got through, but mostly I got errors messages. Today I went from scratch, from the beginning, and not one file is uploaded anymore, only errors such as above. Does someone know what to do ? The code has been checked and rechecked, sometimes copied from CodeStackr, it is supposed to be good... Thanks :)

@Fyzii
Copy link

Fyzii commented Feb 8, 2022

Same problem

@bttd
Copy link

bttd commented Feb 17, 2022

Hi,

I got the same error. Is there any solution?

Regards

@Aymunda
Copy link

Aymunda commented Mar 2, 2022

same error
did anyone find a solution?

@Aymunda
Copy link

Aymunda commented Mar 4, 2022

use the new file not the hashlips one

@Hojatsadri
Copy link

me to.bad problem

@soundcake
Copy link

use the new file not the hashlips one

what new file?

@soundcake
Copy link

soundcake commented May 18, 2022

Ok so apparently, if you get a timeout / socket hangout using this command - you can just stop the process and run the command again. For me it just picked up where it left off (detected the files that were already uploaded etc)

@ZiadElsharkawy
Copy link

ZiadElsharkawy commented May 23, 2022

me too ,same problem

@nab-s
Copy link

nab-s commented May 25, 2022

Hy!
Did you rename the ".env.example" file to ".env" ?

@xjouve
Copy link

xjouve commented Jun 14, 2022

Where is that .env.example? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants