HandyOSS / HandyHost

Host DVPN/HNS, Sia and Akash all in one UI.
https://handyhost.computer
GNU Lesser General Public License v2.1
102 stars 16 forks source link

How do I check my configuration #12

Closed avolon42x closed 2 years ago

avolon42x commented 2 years ago

I’m unsure if my configuration is properly set up. I see that two bids are closed. But in provider logs I get some errors where I’m unsure if my setup is proper: ` E[2021-10-20|14:06:47.685] error requesting account cmp=client/broadcaster err="post failed: Post \"http://135.181.181.121:28957\": EOF" I[2021-10-20|14:06:57.715] syncing sequence cmp=client/broadcaster local=54 remote=54 D[2021-10-20|14:07:01.188] inventory fetched module=provider-cluster cmp=service cmp=inventory-service nodes=3 .. .. I[2021-10-20|14:07:21.182] order detected module=bidengine-service order=order/akash1fyghadlr9gd24f4uy8380uf7sp8qkuscgzaz76/3140397/1/1 I[2021-10-20|14:07:21.215] group fetched module=bidengine-order order=akash1fyghadlr9gd24f4uy8380uf7sp8qkuscgzaz76/3140397/1/1 D[2021-10-20|14:07:21.215] unable to fulfill: incompatible provider attributes module=bidengine-order order=akash1fyghadlr9gd24f4uy8380uf7sp8qkuscgzaz76/3140397/1/1 D[2021-10-20|14:07:21.215] declined to bid module=bidengine-order order=akash1fyghadlr9gd24f4uy8380uf7sp8qkuscgzaz76/3140397/1/1 I[2021-10-20|14:07:21.215] shutting down module=bidengine-order order=akash1fyghadlr9gd24f4uy8380uf7sp8qkuscgzaz76/3140397/1/1 .. .. I[2021-10-20|14:09:07.715] syncing sequence cmp=client/broadcaster local=54 remote=54 I[2021-10-20|14:09:08.064] balance below target amount, withdrawing now module=provider-service cmp=balance-checker

Regarding balance I have around 138 AKT in the wallet - enough?

avolon42x commented 2 years ago

Another suspicious error:

2021/10/20 14:23:05 http: TLS handshake error from xx.xx.xxx.61:57411: tls: client offered only unsupported versions: [302 301]

-> Took out the IP connecting with x’s.

alexsmith540 commented 2 years ago

Regarding the akash errors: The first one is an RPC error that we see pretty regularly, you can disregard as it elegantly fails over to another rpc node. The incompatible attributes are usually things like: a renter can specify attributes such as “signed_by” which mean they want a specific provider or group of providers to fulfill their bid. Those are pretty normal/regular, just means you won’t bid. The last one about balance below target is probably either to do with the renter account or your total bid is too high maybe, the 138amt you have is plenty as you only lock up 5akt in a lease deposit.

for me: I wasn’t very successful in getting leases until I lowered my price per mCPU to 0.003 (3uakt per cpu per 8second block). I have 3 leases using 3 of 24 CPUs and I waited like 3 days at that price to get those leases. I set my fees at 1000uakt as well if that helps. Still kindof early in the akash game for the leases to roll in at full capacity but I’m happy to be early to the party vs late. One thing that helped me to get to the right price: Akash recently added a “lost” state to bids. If you look in the Bids:All section of the marketplace tab you can dig into each order you lost and see how your price stacks up against others. In many of the ones I lost I was at 0.006 (6uakt per cpu) and most of the winners were at 5 or 4 so I went with 3 and then started winning.

alexsmith540 commented 2 years ago

Also that tls handshake error is likely fine, I’m guessing you’re running dvpn too? In dvpn we use self signed certificates so that’s likely why you see it.