Giter Site home page Giter Site logo

downstream-farmer's People

Contributors

angstwad avatar boshevski avatar emergentbehavior avatar kencode-de avatar nameone avatar super3 avatar wiggzz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

downstream-farmer's Issues

load_cert_crl_file

This latest version, where the ca-cert is no longer in the data directory, I get this runtime error on Ubuntu 14.04:

Unexpected error: [Errno 185090050] _ssl.c:344: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib

Farmer Giving Strange Output

It crashed, automatically restarted than ran. Says answering challenge 3 times, and I'm not showing up on the verify node.

bugreport

Windows Invalid address error

Hi, I tried from two different machines and always get the same error

downstream.exe
Using url https://live.driveshare.org:8443
Farming on address 1XXXXXXXXXXXXXXXXX
Error: Unable to connect: Invalid address given: address must be in whitelist.

I have opened all ports in the firewall

Unexpected error: 503 Server Error: Service Temporarily Unavailable

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

Warning if need root

Hello, can you put warning if need start setup in root, but I prefer don't execute code in root:
driveshare@driveshare ~ $ pip install -r requirements.txt .
Unpacking /home/driveshare
Running setup.py (path:/tmp/pip-4zt17h-build/setup.py) egg_info for package from file:///home/driveshare

Downloading/unpacking six (from -r requirements.txt (line 1))
Downloading six-1.8.0-py2.py3-none-any.whl
Downloading/unpacking requests (from -r requirements.txt (line 2))
Downloading requests-2.5.0-py2.py3-none-any.whl (464kB): 464kB downloaded
Downloading/unpacking base58 (from -r requirements.txt (line 3))
Downloading base58-0.2.1.tar.gz
Running setup.py (path:/tmp/pip_build_driveshare/base58/setup.py) egg_info for package base58

Downloading/unpacking storj-heartbeat from git+https://github.com/Storj/heartbeat.git (from -r requirements.txt (line 5))
Cloning https://github.com/Storj/heartbeat.git to /tmp/pip_build_driveshare/storj-heartbeat
Running setup.py (path:/tmp/pip_build_driveshare/storj-heartbeat/setup.py) egg_info for package storj-heartbeat

Downloading/unpacking RandomIO from git+https://github.com/Storj/RandomIO.git (from -r requirements.txt (line 6))
Cloning https://github.com/Storj/RandomIO.git to /tmp/pip_build_driveshare/RandomIO
Running setup.py (path:/tmp/pip_build_driveshare/RandomIO/setup.py) egg_info for package RandomIO

Downloading/unpacking siggy from git+https://github.com/wiggzz/siggy.git (from -r requirements.txt (line 7))
Cloning https://github.com/wiggzz/siggy.git to /tmp/pip_build_driveshare/siggy
Running setup.py (path:/tmp/pip_build_driveshare/siggy/setup.py) egg_info for package siggy

Downloading/unpacking pycrypto>=2.6.1 (from storj-heartbeat->-r requirements.txt (line 5))
Downloading pycrypto-2.6.1.tar.gz (446kB): 446kB downloaded
Running setup.py (path:/tmp/pip_build_driveshare/pycrypto/setup.py) egg_info for package pycrypto

Downloading/unpacking pycoin (from siggy->-r requirements.txt (line 7))
Downloading pycoin-0.52.tar.gz (78kB): 78kB downloaded
Running setup.py (path:/tmp/pip_build_driveshare/pycoin/setup.py) egg_info for package pycoin

Installing collected packages: six, requests, base58, storj-heartbeat, RandomIO, siggy, downstream-farmer, pycrypto, pycoin
Cleaning up...
Exception:
Traceback (most recent call last):
File "/usr/lib/python3.3/site-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python3.3/site-packages/pip/commands/install.py", line 283, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File "/usr/lib/python3.3/site-packages/pip/req.py", line 1435, in install
requirement.install(install_options, global_options, _args, *_kwargs)
File "/usr/lib/python3.3/site-packages/pip/req.py", line 671, in install
self.move_wheel_files(self.source_dir, root=root)
File "/usr/lib/python3.3/site-packages/pip/req.py", line 901, in move_wheel_files
pycompile=self.pycompile,
File "/usr/lib/python3.3/site-packages/pip/wheel.py", line 215, in move_wheel_files
clobber(source, lib_dir, True)
File "/usr/lib/python3.3/site-packages/pip/wheel.py", line 209, in clobber
shutil.copy2(srcfile, destfile)
File "/usr/lib/python3.3/shutil.py", line 243, in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/lib/python3.3/shutil.py", line 110, in copyfile
with open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: '/usr/lib/python3.3/site-packages/six.py'

Storing debug log for failure in /home/driveshare/.pip/pip.log

Help reminder

Using url https://live.driveshare.org:8443
Error: Must specify farming address if one is not available.

Can you add something along the lines of Run downstream --help for additional details?

PIP warning of deprecated option --process-dependency-links in version 1.6

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty

$ pip --version
pip 1.5.4 from /usr/lib/python2.7/dist-packages (python 2.7)

$ sudo apt-get update
$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
linux-generic linux-headers-generic linux-image-generic
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

When

$ pip install --process-dependency-links downstream-farmer
Downloading/unpacking downstream-farmer
  Downloading downstream-farmer-0.1.4.tar.gz (148kB): 148kB downloaded
  Running setup.py (path:/tmp/pip_build_benlake/downstream-farmer/setup.py) egg_info for package downstream-farmer

  Dependency Links processing has been deprecated with an accelerated time schedule and will be removed in pip 1.6

Farmer exits when node is temporarily unavailable

Farmer should be more resilient in the event there are connectivity issues.

This is what happens when the node is temporarily unavailable. (Bad connectivity, solar flares etc.)

Challenge update failed: Unable to perform HTTP get.
Dropping contract 96a1b0e4558caef6579...

Farmer process terminates

Increased Size

When i increase the size im getting random 503 errors.
Total size now 96000
Total size: 96000, Desired Size: 100000
4000 bytes remaining
<Response [503]>
Unexpected error: 503 Server Error: Service Temporarily Unavailable

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.