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

IPFS Publish Failed - throws Infura error when trying to use alternative provider #4913

Open
dreadedhamish opened this issue Jun 22, 2024 · 0 comments

Comments

@dreadedhamish
Copy link

Describe the bug
I have entered details of my local IPFS node in the Remix settings tab.
When trying to submit to IPFS it throws the following error:

IPFS Publish Failed
Failed to publish metadata file and sources to ipfs, please check the ipfs gateways is available.
Error: HTTPError: project id required
,TypeError: Failed to fetch

To Reproduce

  1. Go to Settings tab
  2. Enter non-Infura node details, leave Project ID (Infura) and Project Secret (Infura) blank.
    for me:
    IPFS HOST: 192.168.1.103
    IPFS PROTOCOL: HTTP
    IPFS PORT: 5002
  3. Go to compiler tab
  4. Click "Publish to IPFS" - throws error
  5. go back to settings tab, enter dummy values in Project ID and Project Secret
  6. Go to compiler tab, Click "Publish to IPFS" - throws error

Expected behavior
A submission should ignore project ID and secret, and should submit to local node

Desktop (please complete the following information):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant