Why does smash server say I've got a metadata mismatch?

Hi,

I operate a pool and have been operating a pool for around a year now with minimal issues. Recently, I noticed an issue in SMASH server that’s saying I have a metadata mismatch, but I haven’t changed my metadata at all since the errors started popping up. Is this an issue I should be worried about / is this at all affecting my slot leadership? Haven’t minted a block since I saw the issue, but thought perhaps it was bad luck. I’ve got a 50% chance of minting each epoch.

Thanks!

Metadata will affect the visibility of pool in daedalus or yoroi, as long your pool is visible on pooltool.io and adapools.org (by ticker) should be fine (daedalus use pooltool and yoroi adspools)… the blocks are not affected

Also check with https://pool.vet It’ll pull the file from the server and compare hashes.

At the moment of writing this message pool.vet does not work due to DB resync.

Thanks! I check pool.vet regularly and it always says my pool is online and that the metadata matches. Just not sure why it would display differently on smash server.

Great, thanks. Is there any reason that it would show up as mismatching metadata hashes on SMASH server as opposed to pool.vet or other tools like that? I haven’t changed my metadata so I’m not sure why it’s been an issue lately popping up on SMASH

This days pool.vet has a sync issues but wait few days and check the pool on it

You can compare the metadata hashes manually as well:

cardano-cli stake-pool metadata-hash --pool-metadata-file <(curl -s -L https://METADATA_URL)
cardano-cli stake-pool metadata-hash --pool-metadata-file <(cat METADATAFILE.json)

I was trying this solution as well, but the first command does not work.

so I did:
$ curl -s -L https://www.website.com/testpool.json > temporaryfile
and
$ cardano-cli stake-pool metadata-hash --pool-metadata-file temporaryfile

and I got:
Command failed: stake-pool metadata-hash Error: Error validating stake pool metadata: Error in $: not enough input

making a hash of the original file works though
($ cardano-cli stake-pool metadata-hash --pool-metadata-file /var/www/website/testpool.json)

try with ./temporaryfile

make sure you have no space between < and (, like: <(curl -s -L https://METADATA_URL)

thank you mcrio,
but no result:

$ cardano-cli stake-pool metadata-hash --pool-metadata-file <(curl -s -L https://www.website.com/testpool.json)
Command failed: stake-pool metadata-hash Error: Error validating stake pool metadata: Error in $: not enough input

I can visit the website though. If I go to www.website.com/testpool.json I see the information as listed in the course material

Can u share the url, perhaps the metadata has wrong inputs?

http://www.luculus.nl/testpool.json

thank you

Hash of this one is: ae79dd08afb3d60b9ed1777206d31b39402b357a771c0ea443fc41d54414e653

Please compare with the local file calculated hash.

it is the same…
cardano-cli stake-pool metadata-hash --pool-metadata-file /var/www/luculus/testpool.json
ae79dd08afb3d60b9ed1777206d31b39402b357a771c0ea443fc41d54414e653

more info on Tx and poolID