User Tools

Site Tools


host:troubleshooting



This is an old revision of the document!


Host Troubleshooting

Is My Host Working?

There's a pretty easy way to check if your host is working. Using siac (or the terminal plugin in the UI), run the command 'host -v', which will display statistics like the following:

General Info:
Estimated Competitive Price: 3.836 KS

Host Internal Settings:
acceptingcontracts:   Yes
maxduration:          14 Weeks
maxdownloadbatchsize: 17.83 MB
maxrevisebatchsize:   17.83 MB
netaddress:           46.4.17.11:9982 (manually specified)
windowsize:           24 Hours

collateral:       200 SC / TB / Month
collateralbudget: 50 KS 
maxcollateral:    5 KS Per Contract

mincontractprice:          20 SC
mindownloadbandwidthprice: 50 SC / TB
minstorageprice:           100 SC / TB / Month
minuploadbandwidthprice:   10 SC / TB

Host Financials:
Contract Count:               113
Transaction Fee Compensation: 0 H
Potential Fee Compensation:   2.26 KS
Transaction Fee Expenses:     0 H

Storage Revenue:           0 H
Potential Storage Revenue: 36.1 SC

Locked Collateral: 1.919 KS
Risked Collateral: 72.2 SC
Lost Collateral:   0 H

Download Revenue:           0 H
Potential Download Revenue: 95.61 mS
Upload Revenue :            0 H
Potential Upload Revenue:   1.575 SC

RPC Stats:
Error Calls:        4482
Unrecognized Calls: 6
Download Calls:     530
Renew Calls:        39
Revise Calls:       40706
Settings Calls:     48702
FormContract Calls: 665

Storage Folders:
  Used          Capacity     % Used    Path
  156.284 GB    1.0000 TB    15.63     /home/david/hdd/hostFolder1

The 'RPC Stats' list calls that the host has received from over the network. If you are a new host, you may only have 'Settings Calls', but if that number is steadily increasing hour by hour, then your hosting is working!

My Host is Not Working

The number one reason that users have issues getting their host running is port forwarding. By default, the host is on port :9982. You can see if your host has forwarded its port from this website: http://canyouseeme.org/

If your port is not forwarded, it's probably because your router does not support upnp. Unfortuantely, that means you need to go into the configuration yourself and do it manually. There are some great guides to help you here: https://portforward.com/

Renters know to contact your host from the network address in the host announcement. If your IP address has changed since your announcement, you will need to announce again. If you have a firewall or some networking setup that may be blocking inbound connections from the internet, you need to make sure that it allows traffic to reach the host.

Finally, if you have a dynamic IP address, you should strongly consider setting up something like DynDNS, which allows you to announce a hostname and then manages the dynamic IP address issue for you.

Why is My Wallet Spending Money?

When you run a host, renters form contracts with you. Each time that you make a new contract, you have to put coins into the contract that can be taken away from you if you are a bad host. Depending on how much collateral you are offering, you will have to put up between 5 and 500 coins per contract that you form. You will get all these coins back (and more) if you keep the data that the renter gives to you. And if you lose data, you could end up losing these coins.

What About All The 2.5 SC Transactions?

The host tracks your current IP address and automatically re-announces every time that the IP address changes. If you have manually set the host's net address (which can be IPv4, IPv6, or a full hostname like myhost.sia.tech), then the host will stop tracking your IP address and instead just use the one you have set manually.

Each host announcement puts a transaction on the blockchain, and incurs a 2.5 SC fee. These announcements are a requirement if you have a constantly changing NetAddress because they are the only way that renter's can discover your new address and download their data. To stop these announcements, you either need to get a static IP address (your ISP can help you with this), or you need a solution like DynDNS.

host/troubleshooting.1490642849.txt.gz · Last modified: 2017/03/27 19:27 by betaboot