Comments (11)
@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.
from go-btfs.
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.
from go-btfs.
@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.
from go-btfs.
I don't know why. I tried the binary and deleted the ~/.btfs dir. Then everything seems fine now. Thanks for the help.
from go-btfs.
@tycm4109 emm, it looks like the problem is the 5001 port ui apis.
I am trying
`curl "http://localhost:5001/api/v0/id"
<title>500 Internal Privoxy Error</title>500 Internal Privoxy Error
Privoxy encountered an error while processing your request:
Could not load template file no-server-data
or one of its included components.
Please contact your proxy administrator.
If you are the proxy administrator, please put the required file(s)in the (confdir)/templates
directory. The location of the (confdir)
directory is specified in the main Privoxy config
file. (It's typically the Privoxy install directory).
So the http apis fail me. And the btfs daemon outputs like this
btfs daemon
Initializing daemon...
go-btfs version: 1.0.0-dev-9f4b12e
Repo version: 7
System version: amd64/linux
Golang version: go1.13.3
Swarm listening on /ip4/127.0.0.1/tcp/4001
Swarm listening on /ip4/192.168.1.67/tcp/4001
Swarm listening on /ip6/::1/tcp/4001
Swarm listening on /p2p-circuit
Swarm announcing /ip4/199.168.139.56/tcp/4001
API server listening on /ip4/127.0.0.1/tcp/5001
WebUI: http://127.0.0.1:5001/webui
Gateway (readonly) server listening on /ip4/127.0.0.1/tcp/8080
Remote API server listening on /ip4/127.0.0.1/tcp/5101
Daemon is ready
Hosts info will be synced at [SCORE] mode
23:52:06.065 ERROR cmd/btfs: Convert version2 from string to int error, reasons: [strconv.Atoi: parsing "0-dev": invalid syntax] autoupdate.go:377
23:52:06.065 ERROR cmd/btfs: Version compare error, reasons: [strconv.Atoi: parsing "0-dev": invalid syntax] autoupdate.go:172
from go-btfs.
@samohyes can you try to change the URL to be:
http://localhost:5001/api/v1/id
we have recently changed the api version to 1.
from go-btfs.
@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 Error
Privoxy encountered an error while processing your request:
Could not load template file no-server-data
or one of its included components.
Please contact your proxy administrator.
If you are the proxy administrator, please put the required file(s)in the (confdir)/templates
directory. The location of the (confdir)
directory is specified in the main Privoxy config
file. (It's typically the Privoxy install directory).
from go-btfs.
@samohyes it seems like there is an issue with your machine resolving "localhost". perhaps its a firewall or proxy issue.
can you try instead of localhost to use the following addresses:
http://127.0.0.1:5001/api/v1/id
http://192.168.1.67:5001/api/v1/id
http://199.168.139.56:5001/api/v1/id
i gathered the ip addresses from the daemon output that was posted earlier.
thanks.
from go-btfs.
@richlee33 Still not working.. So sad...
from go-btfs.
@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
from go-btfs.
Cool. Exactly. Thanks.
from go-btfs.
Related Issues (20)
- 31mERROR HOT 1
- the content of my btfs daemon config file is empty HOT 1
- All my nodes have not received airdrop for more than 10 days HOT 1
- Unauthorized transaction HOT 1
- Failed to sync host stats HOT 2
- What Is This ? HOT 1
- rasp4 4GB error on init HOT 2
- Future Earnings 0 HOT 1
- Btfs 2.1.0 100 Btt Gas Problem HOT 12
- Key conversion
- BTFS not triggering to continue even if suggested BTT is sent to TRX or BTTC address! HOT 3
- Btfs unavailable desc = transport is closing HOT 1
- simple/reprovide.go:108 failed to reprovide: no known addresses for self, cannot put provider HOT 1
- HOst Age decreased to 5 points HOT 2
- Looks like your node is not connected HOT 4
- No owner account HOT 1
- Not access to Dashboard remotely HOT 1
- BTFS repository migrated to new address, please note for community members
- BTFS not navigating to main dashboard after 100 btt deposit BTFS requires deposit even if address has balance HOT 1
- Tron link says incorrect mnemonic
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-btfs.