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

Extension broken with 0.4.5-pre1 #14

Closed
mateon1 opened this issue Dec 30, 2016 · 5 comments
Closed

Extension broken with 0.4.5-pre1 #14

mateon1 opened this issue Dec 30, 2016 · 5 comments

Comments

@mateon1
Copy link
Contributor

mateon1 commented Dec 30, 2016

In 0.4.5, the format of the /api/v0/swarm/peers endpoint changes, so the extension shows that the daemon is offline regardless of its status.

@whoizit
Copy link

whoizit commented Feb 20, 2017

not work for me on 0.4.5

fbaiodias added a commit that referenced this issue Mar 19, 2017
@elasticdog
Copy link

I recently wiped my laptop and now have a fresh ipfs / ipfs-station (v1.1.0) install on Chrome (v57.0.2987.110 64-bit) running on macOS Sierra and the extension is only showing OFF, although the daemon is running. Any troubleshooting steps I can take to debug why it doesn't pick up that IPFS is on the network?

@fbaiodias
Copy link
Owner

@elasticdog can you try adding the CORS headers?
ipfs config --json API.HTTPHeaders '{"Access-Control-Allow-Origin": ["*"]}'

It might be the same problem as @AlexBeLi is describing at #15.

@elasticdog
Copy link

@xicombd that fixed it indeed!

@fbaiodias
Copy link
Owner

@elasticdog great! I'll add a note to the offline screen about that then :)

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

4 participants