跳到主要内容
ArcBlock Community

Blocklet Server; DID Spaces Ent: "invalid blocklet meta"

wgring
支持
closedpriority-medium

Receive this error after attempting signing ownership of DID Spaces Enterprise on blocklet server.Image

10 条回复

jianchao2年前

I don't know what you're doing on the page that triggers this error. What were the steps you took?

wgring2年前

installing DID Spaces Enterprise through blocklet server gui, pictures should be in order

Image

Image

Image

wgring2年前

server version/details:

Image

jianchao2年前(edited)

I'm guessing it's due to your wallet name being too long.image.png

image.png

wgring2年前

lol so my name itself with spaces at 17 characters is too long?

Image

wgring2年前(edited)

did a character count on the hexadecimal string for the web address, its 43 characters, guessing if i used a domain less than 40 characters, it would be ok:

Image

jianchao2年前

Yes, the name is too long, because our current rule for app names is: ${your_username}'s ${install_blockletName}

wgring2年前

invalid blocklet meta has gone away, after ensuring the blocklet server was created with root access and changed profile name to be shorter.

When installing Enterprise blocklet, i was able to get the signing request but it "timed out":

Image

it went to extract files and became unresponsive.

Image

stopped the server from the terminal. started it back up. The blocklet wasnt installed. Attempted a second time with same result, and an added output in the terminal when stopping the blocklet server due to unresponsive behavior (lot of text)

@blocklet/cli@1.16.21-beta-bd0e2503 (this only references blocklet cli version and was not part of output):

root@williamg-desktop:~/bs4# blocklet server stop blocklet server v1.16.21-beta-bd0e2503 ℹ Server DID [omitted] ℹ Server config from /root/bs4/.blocklet-server/config.yml ⚠ Blocklets ignored because: Cannot create property 'interfaces' on string '{"name":"[omitted]","did":"[omitted]","title":"wgring's DID Spaces Enterprise","description":"The enterprise solution to host DID Spaces as a service and earn token","version":"0.3.34","group":"gateway","interfaces":[{"type":"web","name":"publicUrl","path":"/","prefix":"*","port":"BLOCKLET_PORT","protocol":"http"}],"specVersion":"1.2.8","environments":[{"name":"MODE","description":"What mode to run the example in? The range of values is personal or enterprise.","required","default":"enterprise","secure","shared"},{"name":"DRIVER","description":"What's space's driver?","required","default":"fs-driver","secure","shared"},{"name":"S3_REGION","description":"What's S3_REGION?","required","secure","shared","default":""},{"name":"S3_ACCESS_KEY_ID","description":"What's S3_ACCESS_KEY_ID?","required","secure","shared","default":""},{"name":"S3_SECRET_ACCESS_KEY","description":"What's S3_SECRET_ACCESS_KEY?","required","secure","shared","default":""},{"name":"S3_BUCKET","description":"What's S3_BUCKET?","required","secure","shared","default":""},{"name":"CHAIN_HOST","description":"What's endpoint of the chain?","required","default":"https://main.abtnetwork.io/api/","secure","shared"},{"name":"TOKEN_ADDRESS","description":"What's token address?","required","default":"z35nNRvYxBoHitx9yZ5ATS88psfShzPPBLxYD","secure","shared"},{"name":"STRIPE_SECRET_KEY","description":"What's STRIPE_SECRET_KEY?","required","default":"optional","secure","shared"},{"name":"STRIPE_PUBLIC_KEY","description":"What's STRIPE_PUBLIC_KEY?","required","default":"optional","secure","shared"},{"name":"STRIPE_WEBHOOK_ENDPOINT_KEY","description":"What's STRIPE_WEBHOOK_ENDPOINT_KEY?","required","default":"optional","secure","shared"},{"name":"DID_PAY_CREATE_FACTORY_URL","description":"What's DID_PAY_CREATE_FACTORY_URL?","required","default":"/api/did-pay/create-factory","secure","shared"},{"name":"DID_PAY_SUCCESS_CALLBACK_URL","description":"What's DID_PAY_SUCCESS_CALLBACK_URL?","required","default":"/api/did-pay/buy-space-success","secure","shared"},{"name":"INIT_TEMPLATE_PATH","description":"The path of exported pages","required","default":"{env.appDir}/assets","secure","shared"},{"name":"CALLBACK_COMPONENT_ID","description":"Component Id for the successful payment callback","required","default":"z8iZnaYxnkMD5AKRjTKiCb8pQr1ut8UantAcf","secure","shared"}],"timeout":{"start"},"bundleDid":"z8iZrihfHTTBCBpDqCzrjFer5jop383b5hdPh","bundleName":"did-storage","dist":{"tarball":"https://store.blocklet.dev/api/blocklets/z8iZrihfHTTBCBpDqCzrjFer5jop383b5hdPh/did-storage-0.3.34.tgz","integrity":"sha512-d[omitted]},"logo":"logo.png","community":"","documentation":"","homepage":"","license":"","nftFactory":"","payment":{"price":[],"share":[]},"requirements":{"server":">=1.7.0","os":"*","cpu":"*","nodejs":"*"},"capabilities":{},"screenshots":[],"components":[]}' ✔ Sending shutdown notification to web dashboard users Done in 2.996s ✔ Routing engine is stopped successfully ✔ abt-node-daemon is stopped successfully ✔ abt-node-service is stopped successfully ✔ abt-node-event-hub is stopped successfully ✔ Done!

shijun2年前(edited)

When installing Enterprise blocklet, i was able to get the signing request but it "timed out":

Is your server run on local network? if so, please ensure that your wallet and your server are in the same network, otherwise they can not communicate with each other.

wgring2年前

yes both were same network

回复