Skip to content

Host and connect to Docker container running Powergate, Lotus (Filecoin), and IPFS in production #5

@ltfschoen

Description

@ltfschoen

If you go to https://ethquad.herokuapp.com/ and view the browser console it has errors:

Unable to connect to Powergate network
(anonymous) @ main.js:60
main.js:58 Uncaught (in promise) Error: Response closed without headers
    at Object.onEnd (main.js:58)
    at main.js:13
    at Array.<anonymous> (main.js:13)
    at e (main.js:13)
    at main.js:13

This is because here https://github.com/ltfschoen/ethquad/blob/master/client/src/App.js#L52 we're usually running a local instance of Powergate / Lotus(Filecoin) / IPFS by following this step in the README https://github.com/ltfschoen/ethquad#connect-to-lotus-filecoin-and-ipfs.

But in production we need to host that running Docker container in the cloud somewhere and connecting to it by replacing the endpoint in the code in production

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions