Ipfs-webui: All of POST request's results are 403 Forbidden

Created on 11 Jul 2017  路  4Comments  路  Source: ipfs/ipfs-webui

error:

image

ipfs gateway config:

image

Most helpful comment

config ~/.ipfs/config

  "API": {
    "HTTPHeaders": {
      "Access-Control-Allow-Methods": [
        "PUT",
        "GET",
        "POST"
      ],
      "Access-Control-Allow-Origin": [
        "*"
      ]
    }
  },

All 4 comments

config ~/.ipfs/config

  "API": {
    "HTTPHeaders": {
      "Access-Control-Allow-Methods": [
        "PUT",
        "GET",
        "POST"
      ],
      "Access-Control-Allow-Origin": [
        "*"
      ]
    }
  },

@shanelau I try to fix the ~/.ipfs/config as the same you, but it still go into the Web UI of IPFS when i run http://local:5001/ipfs/(PeerId)/#. It show me the 403 error.

Same problem ;(

I tried to copy @shanelau's snippet but it seems like this might be a bug with go-ipfs v0.5.0-rc1.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Luflosi picture Luflosi  路  3Comments

jessicaschilling picture jessicaschilling  路  4Comments

mxdpeep picture mxdpeep  路  5Comments

royforu picture royforu  路  4Comments

dsvi picture dsvi  路  5Comments