StorjOld / downstream-farmer

Client software for a Storj farmer.
http://driveshare.org
MIT License
35 stars 16 forks source link

Unexpected error: 503 Server Error: Service Temporarily Unavailable #21

Closed ghost closed 9 years ago

ghost commented 9 years ago

I used CTRL+C to stop downstream.exe and then I'd start it again. I did this couple of times. On two occasions I got "Unexpected error: 503 Server Error: Service Temporarily Unavailable"

C:\win-downstream>downstream.exe
Using url https://live.driveshare.org:8443
Using token 97154f2996ef93efefbd5c0f71650754
Farming on address 1xL
Confirmed token: 97154f2996ef93efefbd5c0f71650754
Farmer id: 9a339611b7baaff60b63
Total size: 0, Desired Size: 100
100 bytes remaining
<Response [503]>
Unexpected error: 503 Server Error: Service Temporarily Unavailable

C:\win-downstream>downstream.exe
Using url https://live.driveshare.org:8443
Using token 97154f2996ef93efefbd5c0f71650754
Farming on address 1xL
Confirmed token: 97154f2996ef93efefbd5c0f71650754
Farmer id: 9a339611b7baaff60b63
Total size: 0, Desired Size: 100
100 bytes remaining
<Response [503]>
Unexpected error: 503 Server Error: Service Temporarily Unavailable
wiggzz commented 9 years ago

You are being rate-limited by our server. If you try to make more than 5 requests in a second from one IP address, you will be denied. Under normal usage, this shouldn't happen, but if you Ctrl-C and restart the farmer quickly, you will see this issue.

ghost commented 9 years ago

Okay, that's exactly what I was trying to test and I'm glad to hear that some sort of DDoS protection already exists.
(I made like 5 logins within 10 seconds, but maybe that translates to 5 HTTPS requests per second.)