Author

Topic: Help with sratum proxy mining (Read 2098 times)

legendary
Activity: 1500
Merit: 1002
Mine Mine Mine
October 27, 2014, 11:42:22 AM
#4
You are forgetting the -sp option for the stratum port. Add -sp 9332 and point your miner to whatever your proxy IP is, for example 192.168.1.1:9332

many thx ! was trying to figure it out ... appreciate if there are more tips ! such as failover and more.
hero member
Activity: 857
Merit: 1000
Anger is a gift.
October 21, 2014, 09:46:06 AM
#3
You are forgetting the -sp option for the stratum port. Add -sp 9332 and point your miner to whatever your proxy IP is, for example 192.168.1.1:9332
full member
Activity: 168
Merit: 100
October 21, 2014, 03:44:07 AM
#2
Hey sorry I tried responding to you before but it wouldn't let me. 

Can you post for us what command you used to activate Stratum?  For example below is how I start mine:

mining_proxy.py -o 192.168.1.111 -p 9332

Also:  did you make sure you started Bitcoind and P2Pool first?
sr. member
Activity: 279
Merit: 250
October 13, 2014, 03:05:57 PM
#1
I encountered an error while running stratum mining proxy

Code:
C:\Users>mining_proxy.exe -o multi.ghash.io -p 3333
2014-10-14 01:14:46,180 INFO proxy jobs. # C extension for midstate not
available. Using default implementation instead.
2014-10-14 01:14:46,187 WARNING proxy mining_proxy.main # Stratum proxy version:
 1.5.5
2014-10-14 01:14:46,204 WARNING proxy mining_proxy.test_update # Checking for up
dates...
2014-10-14 01:14:49,927 WARNING proxy mining_proxy.main # Trying to connect to S
tratum pool at multi.ghash.io:3333
2014-10-14 01:14:50,267 INFO stats stats.print_stats # 1 peers connected, state
changed 1 times
2014-10-14 01:14:50,269 INFO proxy mining_proxy.on_connect # Connected to Stratu
m pool at multi.ghash.io:3333
2014-10-14 01:14:50,270 INFO proxy mining_proxy.on_connect # Subscribing for min
ing jobs
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "twisted\internet\defer.pyo", line 382, in callback

  File "twisted\internet\defer.pyo", line 490, in _startRunCallbacks

  File "twisted\internet\defer.pyo", line 577, in _runCallbacks

  File "twisted\internet\defer.pyo", line 1155, in gotResult

--- ---
  File "twisted\internet\defer.pyo", line 1099, in _inlineCallbacks

  File "mining_proxy.py", line 243, in main

  File "twisted\internet\posixbase.pyo", line 495, in listenTCP

  File "twisted\internet\tcp.pyo", line 980, in startListening

twisted.internet.error.CannotListenError: Couldn't listen on 0.0.0.0:8332: [Errn
o 10013] An attempt was made to access a socket in a way forbidden by its access
 permissions.
2014-10-14 01:14:50,611 INFO proxy client_service.handle_event # Setting new dif
ficulty: 16
2014-10-14 01:14:50,612 INFO proxy client_service.handle_event # New job a7730 f
or prevhash e0dab90a, clean_jobs=False
2014-10-14 01:14:51,526 INFO proxy client_service.handle_event # New job a7731 f
or prevhash e0dab90a, clean_jobs=False

Anybocy could help me?
Jump to: