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

signatureUnsubscribe error: Invalid subscription id. #1100

Closed
gioNJIT opened this issue Dec 2, 2021 · 29 comments
Closed

signatureUnsubscribe error: Invalid subscription id. #1100

gioNJIT opened this issue Dec 2, 2021 · 29 comments
Labels

Comments

@gioNJIT
Copy link

gioNJIT commented Dec 2, 2021

Beginning the upload for 1151 (png+json) pairs
started at: 1638464095754
wallet public key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
USING CUSTOM URL https://solana-mainnet.phantom.tech/
Processing file: 0, 0.png
Processing file: 1000, 863.png
initialized config for a candy machine with publickey: xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
signatureUnsubscribe error: Invalid subscription id.

currently getting this error when i upload over 1000 pngs and json.

I'm using a custom RPC and this is confirmed by the console log USING CUSTOM URL 'url I use'

does anyone have any idea why this is happening?

@MiguelRogerio
Copy link

I'm getting the same error, if you find out how to fix it please tell, I will do the same

@AlexVanDyne
Copy link

AlexVanDyne commented Dec 2, 2021

yup me too. seems like something broke on this last update.

@ghost
Copy link

ghost commented Dec 3, 2021

Same here. I will try to downgrade the mateplex foundation.

@kevin-dev71
Copy link

same here... should we downgrade?

@ghost
Copy link

ghost commented Dec 4, 2021

I had used Arweave uploader instead https://github.com/0xEnrico/arweave-nft-uploader

@cultureofwomen
Copy link

cultureofwomen commented Dec 4, 2021

Hi Guys, I am getting the same error. I have 10k assets.

Rejecting for timeout...
Timeout Error caught { timeout: true }
Error uploading file 2113 Error: Timed out awaiting confirmation on transaction
    at /User//Dev/CoW-NFT/production2/metaplex/js/packages/cli/src/helpers/transactions.ts:121:13
    at step (/User//Dev/CoW-NFT/production2/metaplex/js/packages/cli/src/helpers/transactions.ts:33:23)
    at Object.throw (/User//Dev/CoW-NFT/production2/metaplex/js/packages/cli/src/helpers/transactions.ts:14:53)
    at rejected (/User//Dev/CoW-NFT/production2/metaplex/js/packages/cli/src/helpers/transactions.ts:6:65)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
signatureUnsubscribe error: Invalid subscription id.
signatureUnsubscribe error: Invalid subscription id.
signatureUnsubscribe error: Invalid subscription id.
signatureUnsubscribe error: Invalid subscription id.

Any luck?

@mustafabalci
Copy link

mustafabalci commented Dec 4, 2021

I checkout to the last commit I was able to upload successfully. And it worked

git checkout 938116471dcdb69a233a7ec3e167c83540c2eae4

@jclmnop
Copy link

jclmnop commented Dec 6, 2021

Hi Guys, I am getting the same error. I have 10k assets.

Rejecting for timeout...
Timeout Error caught { timeout: true }
Error uploading file 2113 Error: Timed out awaiting confirmation on transaction
    at /User//Dev/CoW-NFT/production2/metaplex/js/packages/cli/src/helpers/transactions.ts:121:13
    at step (/User//Dev/CoW-NFT/production2/metaplex/js/packages/cli/src/helpers/transactions.ts:33:23)
    at Object.throw (/User//Dev/CoW-NFT/production2/metaplex/js/packages/cli/src/helpers/transactions.ts:14:53)
    at rejected (/User//Dev/CoW-NFT/production2/metaplex/js/packages/cli/src/helpers/transactions.ts:6:65)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
signatureUnsubscribe error: Invalid subscription id.
signatureUnsubscribe error: Invalid subscription id.
signatureUnsubscribe error: Invalid subscription id.
signatureUnsubscribe error: Invalid subscription id.

Any luck?

I'm currently uploading 10k assets. Had this issue when using the default batch size (1000), trying again with batch size of 10000 now.

So far it's taking longer but seems to be throwing less of a fuss.

@imanariRoll
Copy link

imanariRoll commented Dec 8, 2021

How can I set the batch size ?
(with --batchSize )

However, can someone confirm that checking out to past commit works as well ?

@MiguelRogerio
Copy link

MiguelRogerio commented Dec 8, 2021

I checkout to the last commit I was able to upload successfully. And it worked

git checkout 938116471dcdb69a233a7ec3e167c83540c2eae4

So far this is working for me , at least I stopped getting the invalid subscription error

@BeeBop21
Copy link

I checkout to the last commit I was able to upload successfully. And it worked
git checkout 938116471dcdb69a233a7ec3e167c83540c2eae4

So far this is working for me , at least I stopped getting the invalid subscription error

Me too, but it's MUCH slower to upload this time around. Probably should have cleared/deleted the .cache folder from the previous attempt first.

@0xcircuitbreaker
Copy link

I am also having this issue when trying to upload my assets

@lucastonon
Copy link

+1

@jclmnop
Copy link

jclmnop commented Dec 16, 2021

I am also having this issue when trying to upload my assets

You should try using a paid RPC endpoint, or set the batch size to be larger than the collection. These are the only two things which worked for me.

The advantage of a paid RPC endpoint is that you can actually lower the batch size, which dramatically reduces the amount of time needed to finish uploading all of your assets.

@Andi-fx
Copy link

Andi-fx commented Dec 16, 2021

Hi, im new to this, what would be the batch size?

@imanariRoll
Copy link

imanariRoll commented Dec 16, 2021

By default it is set to 1000.
Access it via --batchSize

@shaghaar
Copy link

I checkout to the last commit I was able to upload successfully. And it worked
git checkout 938116471dcdb69a233a7ec3e167c83540c2eae4

So far this is working for me , at least I stopped getting the invalid subscription error

Me too, but it's MUCH slower to upload this time around. Probably should have cleared/deleted the .cache folder from the previous attempt first.

lol yes its working for me as well but indeed MUCH slower, like 1 file each minute
Can anyone explain to me tho how to change the batchSize ?

@jclmnop
Copy link

jclmnop commented Dec 22, 2021

I checkout to the last commit I was able to upload successfully. And it worked
git checkout 938116471dcdb69a233a7ec3e167c83540c2eae4

So far this is working for me , at least I stopped getting the invalid subscription error

Me too, but it's MUCH slower to upload this time around. Probably should have cleared/deleted the .cache folder from the previous attempt first.

lol yes its working for me as well but indeed MUCH slower, like 1 file each minute Can anyone explain to me tho how to change the batchSize ?

With the --batch-size option in the command line args

@brettsloan
Copy link

I tried that git checkout but it only gave me a new error.
I also can't seem to access the --batch-size (--batchSize) args anywhere?

How can I access those in order to raise the default? I also tried combing the js files and all I could find was in candy-machine-cli.ts but it had no default size.

Any help is greatly appreciated

@MrAlexWinkler
Copy link

adding -b 10000 did the trick for me but I somehow lost 3 sol in this whole process for 1845 images less than 370mb that should cost less than $4 based on arweavefees. Super doesn't make sense. How do I get those funds back?

@JohnJoe24
Copy link

Still getting the same problem. The git checkout 938116471dcdb69a233a7ec3e167c83540c2eae4 spits out fatal: reference is not a tree.

Maybe I'm doing it wrong, could you please explicate how exactly to use this fix? Thank you

@hulkhogan2024
Copy link

Still getting the same problem. The git checkout 938116471dcdb69a233a7ec3e167c83540c2eae4 spits out fatal: reference is not a tree.

Maybe I'm doing it wrong, could you please explicate how exactly to use this fix? Thank you

I am getting the same thing. I think it might have to do with how git is installed, but I am a noob here so. Would be great if there is a solution to this.

@jclmnop
Copy link

jclmnop commented Dec 28, 2021

adding -b 10000 did the trick for me but I somehow lost 3 sol in this whole process for 1845 images less than 370mb that should cost less than $4 based on arweavefees. Super doesn't make sense. How do I get those funds back?

Once you're finished with your candy machine use the withdraw command to close it and retrieve your funds.

@Yasdrovia
Copy link

hello guys, im trying to upload 8888 png and jsons but it seems supeeeeer sloww like 1 image per 10 minutes. How can i solve this problem plz. Would appreciate help... thank you

@jclmnop
Copy link

jclmnop commented Dec 29, 2021

hello guys, im trying to upload 8888 png and jsons but it seems supeeeeer sloww like 1 image per 10 minutes. How can i solve this problem plz. Would appreciate help... thank you

use a private RPC endpoint

if you want a decent free one try https://datahub.figment.io

@Yasdrovia
Copy link

Yasdrovia commented Dec 29, 2021

hello guys, im trying to upload 8888 png and jsons but it seems supeeeeer sloww like 1 image per 10 minutes. How can i solve this problem plz. Would appreciate help... thank you

use a private RPC endpoint

if you want a decent free one try https://datahub.figment.io

Thank you for your response. I have a problem when i use this command

i have set the private RPC (devnet) but when i want to "solana airdrop 1" it gives me

"Error: RPC request error: cluster version query failed: error decoding response body: expected value at line 1 column 1"

any ideas ? with the default rpc it was working

even "solana balance" same error

@jclmnop
Copy link

jclmnop commented Dec 29, 2021

hello guys, im trying to upload 8888 png and jsons but it seems supeeeeer sloww like 1 image per 10 minutes. How can i solve this problem plz. Would appreciate help... thank you

use a private RPC endpoint
if you want a decent free one try https://datahub.figment.io

Thank you for your response. I have a problem when i use this command

i have set the private RPC (devnet) but when i want to "solana airdrop 1" it gives me

"Error: RPC request error: cluster version query failed: error decoding response body: expected value at line 1 column 1"

any ideas ? with the default rpc it was working

even "solana balance" same error

If this is when using the datahub RPC, I think I had a similar issue.

All I needed to do was add the API key to the url in my config because it wasn't included automatically.

@bernardiss
Copy link

bernardiss commented Jan 1, 2022

Someone got the fix?

@github-actions
Copy link

github-actions bot commented Feb 1, 2022

This Issue has received no activity for 30 days. We will close it in 2 days, please reopen if you are still experiencing this issue.

@github-actions github-actions bot added the Stale label Feb 1, 2022
@github-actions github-actions bot closed this as completed Feb 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests