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 Error while running on Google Compute Engine #4410
Comments
Do you mean that your daemon isn't connecting to any other IPFS nodes? What command did you use to determine this?
Could you go to the network panel in the Firefox console and try to find the corresponding network request? Something isn't returning JSON that should be (or something on the network is messing with the connection). |
|
Hm. This looks like a CORS issue: https://ethereum.stackexchange.com/questions/15778/ipfs-access-via-port-5001/15781 However, I strongly recommend that you don't expose the API to the internet unprotected. Make sure to protect it with something like a VPN.
That's probably because the webui is having trouble talking to the daemon. If you can SSH into the machine, try running
That's just a JavaScript error. The ultimate cause is a network request that's not returning JSON (in the "Network" panel).
That's may be related related. Could you click on the ":5001/api/..." part of that error, I believe it should show you the failed network request. |
|
For now, let's move back to discourse. The underlying issue is probably CORS (not a bug) and the UI issue is ipfs/ipfs-webui#578. |
|
Yes, I think this is a CORS Issue beacuse I tested the app and it is woking ok. The files are available |


HernanPaez commentedNov 21, 2017
•
edited
Version information:
go-ipfs version: 0.4.13-
Repo version: 6
System version: amd64/linux
Golang version: go1.9.2
Type:
Bug
Severity:
High
Description:
I'm trying to run IPFS on a Google Compute Engine Instance running a fresh install of Ubuntu 16.04. I already installed the linux prebuilt package but, when I first started the daemon I was not able to access the gateway. I fixed it by opening the 5001 tcp and udp ports but it don't connect to any node.
I tried by opening the following ports I found in another thread https://discuss.ipfs.io/t/ipfs-ports-firewall/996
TCP 4001 5001 8080 8081
UDP 4002/udp
I'm also seeing that the fields Peer ID, Location, Agent Version, Protocol Version, Public Key are empty in the webui
I'm also sending you my config file
Also, I'm when I opened the javascript console (Firefox) I'm seeing this error on file
ipfs-webui.0.3.0.js:12:31024The text was updated successfully, but these errors were encountered: