-
Notifications
You must be signed in to change notification settings - Fork 64
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
failed to add a file #338
Comments
@samohyes Hi, did you build release or master branch? It would be best to run the node according to https://docs.btfs.io/docs/btfs-demo documentation. |
Yeah. I am using the master branch. I just download the source code and build the binary using the script install_btfs.sh. I know the doc you are pointing to. It uses some prebuilt binary. But I actually want to change the source code and build it myself. |
@samohyes Okay, I see. It's just that for us, the master branch is what we develop on. So we usually recommend users to use the stable release branch or pre-built binaries as its been tested many times. If you run into an issue on the release branch or pre-built binary, we can definitely log it for further bug fixing. |
I don't know why. I tried the binary and deleted the ~/.btfs dir. Then everything seems fine now. Thanks for the help. |
@tycm4109 emm, it looks like the problem is the 5001 port ui apis. `curl "http://localhost:5001/api/v0/id" <title>500 Internal Privoxy Error</title>500 Internal Privoxy ErrorPrivoxy encountered an error while processing your request: Could not load template file Please contact your proxy administrator. If you are the proxy administrator, please put the required file(s)in the So the http apis fail me. And the btfs daemon outputs like this
|
@samohyes can you try to change the URL to be: |
@richlee33 Yeah. I tried again and the same thing happens. I can only use btfs add but no http api is working now. <title>500 Internal Privoxy Error</title> 500 Internal Privoxy ErrorPrivoxy encountered an error while processing your request: Could not load template file Please contact your proxy administrator. If you are the proxy administrator, please put the required file(s)in the |
@samohyes it seems like there is an issue with your machine resolving "localhost". perhaps its a firewall or proxy issue. |
@richlee33 Still not working.. So sad... |
@samohyes That looks like a VPN configuration issue. Please try to turn off your VPN or bypass the local 127.0.0.1 domain. For more information: https://tinyurl.com/t8946pt |
Cool. Exactly. Thanks. |
There might be something wrong with the code. I build the lastest code locally and run
btfs daemon
The output is like this
And then I tried the command
`
btfs add try.txt
01:29:56.842 ERROR cmds/http: could not guess encoding from content type "text/html" parse.go:217
Error: unknown error content type: text/html
`
So weird. Any help?
The text was updated successfully, but these errors were encountered: