jcardama / csgo-market-sniper

Bot that monitors desirable skins and will automatically buy them
GNU General Public License v3.0
20 stars 3 forks source link

CSGO Float Type Error: Failed to Fetch #22

Open Cheezy1234 opened 1 year ago

Cheezy1234 commented 1 year ago

image When I connect a proxy to the bot I get this for every item on every page (or a rate limit) are there any fixes?

Cheezy1234 commented 1 year ago

looks like this is because the csgo float api does not allow bots right now. It works fine with no proxy so I dont know how to fix this. image EDIT: I think changes to the port settings might fix it but i dont know, anyone else have this issue?

Cheezy1234 commented 1 year ago

Do we know how the csgofloat extension or API determines what is a bot and what is not?

ustricavelma commented 1 year ago

I think a VPS would do the trick. Seems like popular proxy providers ips are mostly banned. I've tried brightdata rotating prem datacenter, webshare static with 250 exclusive ips, oxylabs rotating and more. None of them seems to last more than 2 hours untill getting limited by csgfloat. However static ips like from VPN works just fine for me. So hosting a VPS might be a lil more costly but should do it. Ill update once i test it.

ustricavelma commented 1 year ago

@Cheezy1234 I assume they have a blacklist of ips from big proxy providers, and if you are using rotating ips they might time out the specific request that you are making because the exact same requests coming from different ips is sus. pre historical anti ddos

Cheezy1234 commented 1 year ago

@Cheezy1234 I assume they have a blacklist of ips from big proxy providers, and if you are using rotating ips they might time out the specific request that you are making because the exact same requests coming from different ips is sus. pre historical anti ddos

Ya, its odd because if I set up a proxy to not change and act like a vpn then sometimes it will work and sometimes it wont but when I change it to rotate it never works.

Cheezy1234 commented 1 year ago

Do you think that they would ban IP's that only you have control over? like no one else using them? You would not need to many to rotate through if only you used them. image I might try to use a dedicated IP on the steamcommunity domain and see if it works. If it does I can get more IP's to rotate through as they are only $0.80 per IP. image

LeskhanMagzhan commented 10 months ago

Hey, pretty late to a party but I have same issue. Strange thing that I noticed is that this problem only occur when I use proxy + extension + selenium combo. I made same assumption at first (that csfloat may have black list of proxies) but it works fine when I've configured proxy on browser and ran throw some pages without selenium. Does it work similarly with you guys?

LeskhanMagzhan commented 10 months ago

one workaround I've found is using other extension like SIH, but it has slower load speed of float info. Also it has more annoying features that can be turned off in extension settings, that can be saved forever by using profile.