greymass / greymassfuel-eosjs-demos

eosjs demos using the greymassfuel account and ONLY_BILL_FIRST_AUTHORIZER
7 stars 4 forks source link

FetchError: invalid json response body at http://jungle.greymass.com/v1/chain/get_info reason: Unexpected token < in JSON at position 0 #5

Closed CherryDT closed 3 years ago

CherryDT commented 3 years ago

When I run the v20 server example, I get the following error:

(node:27826) UnhandledPromiseRejectionWarning: FetchError: invalid json response body at http://jungle.greymass.com/v1/chain/get_info reason: Unexpected token < in JSON at position 0
    at /mnt/c/Users/david/proj/***/node_modules/node-fetch/lib/index.js:272:32
    at processTicksAndRejections (internal/process/task_queues.js:93:5)

Looks like jungle.greymass.com returns an HTML page with error 502.

CherryDT commented 3 years ago

Seems the whole thing is outdated: https://forums.eoscommunity.org/t/initial-specification-for-the-resource-provider-api-endpoint/1546

ChenYCL commented 2 years ago

Same issues ,can give a new example? 🙏