Pages:
Author

Topic: New stratum/getwork proxy with Web-based GUI and pools management (Read 120906 times)

member
Activity: 640
Merit: 56
minerstat
If you don't want to bother with compiling, you may also want to check https://stratu.ms/
newbie
Activity: 26
Merit: 0
What is the purpose of "name" in "pools" settings?
  "pools" : [ {
    "name" : "proxy",

everything works fine but pools I mine into, show each single machine name. Is any way to only show one miner at the pool using the "name" parameter?

newbie
Activity: 26
Merit: 0


javax/activation/DataSource is no longer present in newer versions of java. Try installing java 8, and it should work.
[/quote]

Thank you!

It's running now!

legendary
Activity: 2296
Merit: 1170
Advertise Here - PM for more info!
(...)
Code:
2020-07-08 06:17:02,426 WARN  [main]: [Errors]    The following warnings have been detected: WARNING: HK2 service reification failed for [org.glassfish.jersey.message.internal.DataSourceProvider] with an exception:
MultiException stack 1 of 2
java.lang.NoClassDefFoundError: javax/activation/DataSource

javax/activation/DataSource is no longer present in newer versions of java. Try installing java 8, and it should work.
newbie
Activity: 26
Merit: 0
Is anyone still using this proxy?
I am unable to compile it locally, I think because it relies on dependencies now obsolete?
Anyway, using the latest release available, the proxy start but throws lots of errors. I can connect to a pool but that's it. Can't connect my miners to it nor I can get the web interface running.
In snippet, first of the errors I am getting. Anyone able to shed some light?
CHeers

Code:
2020-07-08 06:16:58,253 INFO  [main]: [Launcher]    Using INFO LogLevel.
2020-07-08 06:16:58,260 INFO  [main]: [Launcher]    API log level set to INFO.
2020-07-08 06:16:58,340 INFO  [main]: [Launcher]    Using database directory: /home/polar/stratum-proxy-0.8.1/dbase.
2020-07-08 06:16:58,354 INFO  [main]: [DatabaseManager]    Starting DatabaseManager...
2020-07-08 06:16:59,386 INFO  [main]: [DatabaseManager]    DatabaseManager started.
2020-07-08 06:16:59,387 INFO  [main]: [Launcher]    Using pools: [Pool [name=proxy1, host=cpu-pool.com:63378, username=UmFQNyBxLsibZBQ4iuK25arQQFmJbFwb9s, password=, readySince=null, isReady=false, isEnabled=true, isStable=false, priority=0, weight=0], Pool [name=proxy2, host=skypool.ca:9201, username=UmFQNyBxLsibZBQ4iuK25arQQFmJbFwb9s, password=, readySince=null, isReady=false, isEnabled=true, isStable=false, priority=1, weight=4]].
2020-07-08 06:16:59,603 INFO  [main]: [ProxyManager]    ServerSocket opened on /192.168.1.5:3333.
2020-07-08 06:17:00,085 INFO  [pool-1-thread-1]: [Pool]    Suggest the difficulty 0.01 to the pool proxy1.
2020-07-08 06:17:00,248 INFO  [pool-2-thread-1]: [Pool]    Suggest the difficulty 0.01 to the pool proxy2.
2020-07-08 06:17:00,705 WARN  [Pool-proxy2-Thread]: [StratumConnection]    Unknown response type on connection Pool-proxy2. methodName: mining.suggest_difficulty, result: true
2020-07-08 06:17:00,934 INFO  [Pool-proxy2-Thread]: [Pool]    Pool proxy2 started
2020-07-08 06:17:00,935 WARN  [Pool-proxy2-Thread]: [ProxyManager]    Pool proxy2 is STABLE.
2020-07-08 06:17:01,018 WARN  [Pool-proxy2-Thread]: [ProxyManager]    Pool proxy2 is UP.
2020-07-08 06:17:01,059 INFO  [main]: [NetworkListener]    Started listener bound to [192.168.1.5:8332]
2020-07-08 06:17:01,062 INFO  [main]: [HttpServer]    [HttpServer] Started.
2020-07-08 06:17:01,113 INFO  [Pool-proxy1-Thread]: [ProxyManager]    Set difficulty 0.2 on pool proxy1.
2020-07-08 06:17:01,119 INFO  [Pool-proxy1-Thread]: [ProxyManager]    New block detected on pool proxy1.
2020-07-08 06:17:01,429 INFO  [Pool-proxy1-Thread]: [Pool]    Pool proxy1 started
2020-07-08 06:17:01,430 WARN  [Pool-proxy1-Thread]: [ProxyManager]    Pool proxy1 is STABLE.
2020-07-08 06:17:01,436 WARN  [Pool-proxy1-Thread]: [ProxyManager]    Pool proxy1 is UP.
2020-07-08 06:17:02,426 WARN  [main]: [Errors]    The following warnings have been detected: WARNING: HK2 service reification failed for [org.glassfish.jersey.message.internal.DataSourceProvider] with an exception:
MultiException stack 1 of 2
java.lang.NoClassDefFoundError: javax/activation/DataSource
at java.base/java.lang.Class.getDeclaredConstructors0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137)
at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357)
at org.jvnet.hk2.internal.Utilities$5.run(Utilities.java:1352)
at org.jvnet.hk2.internal.Utilities$5.run(Utilities.java:1348)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at org.jvnet.hk2.internal.Utilities.getAllConstructors(Utilities.java:1348)
at org.jvnet.hk2.internal.Utilities.findProducerConstructor(Utilities.java:1269)
at org.jvnet.hk2.internal.DefaultClassAnalyzer.getConstructor(DefaultClassAnalyzer.java:78)
at org.glassfish.jersey.internal.inject.JerseyClassAnalyzer.getConstructor(JerseyClassAnalyzer.java:143)
at org.jvnet.hk2.internal.Utilities.getConstructor(Utilities.java:199)
at org.jvnet.hk2.internal.ClazzCreator.initialize(ClazzCreator.java:129)
at org.jvnet.hk2.internal.ClazzCreator.initialize(ClazzCreator.java:182)
at org.jvnet.hk2.internal.SystemDescriptor.internalReify(SystemDescriptor.java:723)
at org.jvnet.hk2.internal.SystemDescriptor.reify(SystemDescriptor.java:678)
at org.jvnet.hk2.internal.ServiceLocatorImpl.reifyDescriptor(ServiceLocatorImpl.java:415)
at org.jvnet.hk2.internal.ServiceLocatorImpl.narrow(ServiceLocatorImpl.java:2122)
at org.jvnet.hk2.internal.ServiceLocatorImpl.access$900(ServiceLocatorImpl.java:120)
at org.jvnet.hk2.internal.ServiceLocatorImpl$9.compute(ServiceLocatorImpl.java:1257)
at org.jvnet.hk2.internal.ServiceLocatorImpl$9.compute(ServiceLocatorImpl.java:1252)
at org.glassfish.hk2.utilities.cache.LRUHybridCache$OriginThreadAwareFuture$1.call(LRUHybridCache.java:115)
at org.glassfish.hk2.utilities.cache.LRUHybridCache$OriginThreadAwareFuture$1.call(LRUHybridCache.java:111)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.glassfish.hk2.utilities.cache.LRUHybridCache$OriginThreadAwareFuture.run(LRUHybridCache.java:173)
at org.glassfish.hk2.utilities.cache.LRUHybridCache.compute(LRUHybridCache.java:292)
at org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetAllServiceHandles(ServiceLocatorImpl.java:1330)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getAllServiceHandles(ServiceLocatorImpl.java:1239)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getAllServiceHandles(ServiceLocatorImpl.java:1228)
at org.glassfish.jersey.internal.inject.Providers.getServiceHandles(Providers.java:342)
at org.glassfish.jersey.internal.inject.Providers.getCustomProviders(Providers.java:199)
at org.glassfish.jersey.message.internal.MessageBodyFactory.(MessageBodyFactory.java:303)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1107)
at org.jvnet.hk2.internal.ClazzCreator.createMe(ClazzCreator.java:274)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:368)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:471)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:114)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:102)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:97)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:154)
at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:199)
at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:153)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2270)
at org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:687)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:652)
at org.glassfish.jersey.server.model.ComponentModelValidator.(ComponentModelValidator.java:97)
at org.glassfish.jersey.server.ApplicationHandler.initialize(ApplicationHandler.java:462)
at org.glassfish.jersey.server.ApplicationHandler.access$500(ApplicationHandler.java:163)
at org.glassfish.jersey.server.ApplicationHandler$3.run(ApplicationHandler.java:323)
at org.glassfish.jersey.internal.Errors$2.call(Errors.java:289)
at org.glassfish.jersey.internal.Errors$2.call(Errors.java:286)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.processWithException(Errors.java:286)
at org.glassfish.jersey.server.ApplicationHandler.(ApplicationHandler.java:320)
at org.glassfish.jersey.server.ApplicationHandler.(ApplicationHandler.java:285)
at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.(GrizzlyHttpContainer.java:331)
at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpServerFactory.createHttpServer(GrizzlyHttpServerFactory.java:141)
at strat.mining.stratum.proxy.Launcher.initHttpServices(Launcher.java:247)
at strat.mining.stratum.proxy.Launcher.main(Launcher.java:132)
Caused by: java.lang.ClassNotFoundException: javax.activation.DataSource
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 64 more
MultiException stack 2 of 2
java.lang.IllegalArgumentException: Errors were discovered while reifying SystemDescriptor(
implementation=org.glassfish.jersey.message.internal.DataSourceProvider
[Suspicious link removed].rs.ext.MessageBodyReader}
scope=javax.inject.Singleton
qualifiers={}
descriptorType=CLASS
descriptorVisibility=NORMAL
metadata=
rank=0
loader=org.glassfish.hk2.utilities.binding.AbstractBinder$2@3e48d38
proxiable=null
proxyForSameScope=null
analysisName=null
id=48
locatorId=1
identityHashCode=2083215552
reified=false)
at org.jvnet.hk2.internal.SystemDescriptor.reify(SystemDescriptor.java:689)
at org.jvnet.hk2.internal.ServiceLocatorImpl.reifyDescriptor(ServiceLocatorImpl.java:415)

legendary
Activity: 2926
Merit: 1091
--- ChainWorks Industries ---
Im using stratehm-stratum proxy, ALgo x11 , x16r

basically what I want to try here is

Using a miner located in a remote ip --- > proxy stratum ---- > MRR
Keeping in mind the IP is not exposed.
But my workers keep getting disconnected for some reason that I can't see here:

Code:
2019-11-29 01:09:53,601 INFO     [Pool-MRR X11(3)-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - New block detected on pool MRR X11(3).
2019-11-29 01:09:53,680 INFO     [Pool-MRR X11(2)-Thread]:strat.mining.stratum.proxy.pool.Pool - Pool MRR X11(2) started
2019-11-29 01:09:53,681 WARN     [Pool-MRR X11(2)-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Pool MRR X11(2) is UP.
2019-11-29 01:09:53,910 INFO     [Pool-MRR X11(2)-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - New block detected on pool MRR X11(2).
2019-11-29 01:09:58,310 WARN     [TimerExecutorThread-1]:strat.mining.stratum.proxy.manager.ProxyManager - Pool MRR X16r is STABLE.
2019-11-29 01:09:58,426 WARN     [TimerExecutorThread-1]:strat.mining.stratum.proxy.manager.ProxyManager - Pool MRR X11(3) is STABLE.
2019-11-29 01:09:58,681 WARN     [TimerExecutorThread-1]:strat.mining.stratum.proxy.manager.ProxyManager - Pool MRR X11(2) is STABLE.
2019-11-29 01:10:00,469 INFO     [StratumProxyManagerSeverSocketListener]:strat.mining.stratum.proxy.manager.ProxyManager$1 - New connection on /0.0.0.0:3333 from /158.69.27.41:43132.
2019-11-29 01:10:00,472 INFO     [158.69.27.41-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - New WorkerConnection 158.69.27.41 subscribed. 1 connections active on pool MRR X16r.
2019-11-29 01:10:09,178 ERROR    [Pool-MRR X16r-Thread]:strat.mining.stratum.proxy.pool.Pool - Disconnection of pool Pool [name=MRR X16r, host=us-east01.miningrigrentals.com:51116, username=rslsrkr.132864, password=x, readySince=Fri Nov 29 01:09:53 UTC 2019, isReady=true, isEnabled=true, isStable=true, priority=0, weight=9].
2019-11-29 01:10:09,180 INFO     [Pool-MRR X16r-Thread]:strat.mining.stratum.proxy.manager.strategy.MonoCurrentPoolStrategyManager - Switching worker connections from pool MRR X16r to pool MRR X11(2).
2019-11-29 01:10:09,181 INFO     [Pool-MRR X16r-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Rebind connection 158.69.27.41 from pool MRR X16r to pool MRR X11(2) with setExtranonce notification.
2019-11-29 01:10:09,183 INFO     [Pool-MRR X16r-Thread]:strat.mining.stratum.proxy.pool.Pool - Pool MRR X16r stopped.
2019-11-29 01:10:09,184 INFO     [Pool-MRR X16r-Thread]:strat.mining.stratum.proxy.pool.Pool - Trying reconnect of pool MRR X16r in 5.0 seconds.
2019-11-29 01:10:09,191 WARN     [Pool-MRR X11(3)-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Pool MRR X11(3) is DOWN. Moving connections to another one.
2019-11-29 01:10:09,192 INFO     [Pool-MRR X11(3)-Thread]:strat.mining.stratum.proxy.pool.Pool - Trying reconnect of pool MRR X11(3) in 5.0 seconds.
2019-11-29 01:10:09,424 ERROR    [Pool-MRR X11(2)-Thread]:strat.mining.stratum.proxy.pool.Pool - Disconnection of pool Pool [name=MRR X11(2), host=us-west01.miningrigrentals.com:50736, username=rslsrkr.132864, password=x, readySince=Fri Nov 29 01:09:53 UTC 2019, isReady=true, isEnabled=true, isStable=true, priority=1, weight=2].
2019-11-29 01:10:09,425 ERROR    [Pool-MRR X11(2)-Thread]:strat.mining.stratum.proxy.manager.strategy.MonoCurrentPoolStrategyManager - Failed to rebind workers connections. No pool is available. Closing all workers connections.
2019-11-29 01:10:09,427 INFO     [Pool-MRR X11(2)-Thread]:strat.mining.stratum.proxy.pool.Pool - Trying reconnect of pool MRR X11(2) in 5.0 seconds.

Read above ...

It really depends on what miner, the setup, and where the proxy is pointing. You are supplying almost NO information other than the miners disconnect. I stated earlier that that looks like an issue that has been documented in the past about miners such as D3 and NiceHash pointing through this proxy, but without YOUR specific setup, how is any one going to help?

#crysx
jr. member
Activity: 102
Merit: 5
Im using stratehm-stratum proxy, ALgo x11 , x16r

basically what I want to try here is

Using a miner located in a remote ip --- > proxy stratum ---- > MRR
Keeping in mind the IP is not exposed.
But my workers keep getting disconnected for some reason that I can't see here:

Code:
2019-11-29 01:09:53,601 INFO     [Pool-MRR X11(3)-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - New block detected on pool MRR X11(3).
2019-11-29 01:09:53,680 INFO     [Pool-MRR X11(2)-Thread]:strat.mining.stratum.proxy.pool.Pool - Pool MRR X11(2) started
2019-11-29 01:09:53,681 WARN     [Pool-MRR X11(2)-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Pool MRR X11(2) is UP.
2019-11-29 01:09:53,910 INFO     [Pool-MRR X11(2)-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - New block detected on pool MRR X11(2).
2019-11-29 01:09:58,310 WARN     [TimerExecutorThread-1]:strat.mining.stratum.proxy.manager.ProxyManager - Pool MRR X16r is STABLE.
2019-11-29 01:09:58,426 WARN     [TimerExecutorThread-1]:strat.mining.stratum.proxy.manager.ProxyManager - Pool MRR X11(3) is STABLE.
2019-11-29 01:09:58,681 WARN     [TimerExecutorThread-1]:strat.mining.stratum.proxy.manager.ProxyManager - Pool MRR X11(2) is STABLE.
2019-11-29 01:10:00,469 INFO     [StratumProxyManagerSeverSocketListener]:strat.mining.stratum.proxy.manager.ProxyManager$1 - New connection on /0.0.0.0:3333 from /158.69.27.41:43132.
2019-11-29 01:10:00,472 INFO     [158.69.27.41-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - New WorkerConnection 158.69.27.41 subscribed. 1 connections active on pool MRR X16r.
2019-11-29 01:10:09,178 ERROR    [Pool-MRR X16r-Thread]:strat.mining.stratum.proxy.pool.Pool - Disconnection of pool Pool [name=MRR X16r, host=us-east01.miningrigrentals.com:51116, username=rslsrkr.132864, password=x, readySince=Fri Nov 29 01:09:53 UTC 2019, isReady=true, isEnabled=true, isStable=true, priority=0, weight=9].
2019-11-29 01:10:09,180 INFO     [Pool-MRR X16r-Thread]:strat.mining.stratum.proxy.manager.strategy.MonoCurrentPoolStrategyManager - Switching worker connections from pool MRR X16r to pool MRR X11(2).
2019-11-29 01:10:09,181 INFO     [Pool-MRR X16r-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Rebind connection 158.69.27.41 from pool MRR X16r to pool MRR X11(2) with setExtranonce notification.
2019-11-29 01:10:09,183 INFO     [Pool-MRR X16r-Thread]:strat.mining.stratum.proxy.pool.Pool - Pool MRR X16r stopped.
2019-11-29 01:10:09,184 INFO     [Pool-MRR X16r-Thread]:strat.mining.stratum.proxy.pool.Pool - Trying reconnect of pool MRR X16r in 5.0 seconds.
2019-11-29 01:10:09,191 WARN     [Pool-MRR X11(3)-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Pool MRR X11(3) is DOWN. Moving connections to another one.
2019-11-29 01:10:09,192 INFO     [Pool-MRR X11(3)-Thread]:strat.mining.stratum.proxy.pool.Pool - Trying reconnect of pool MRR X11(3) in 5.0 seconds.
2019-11-29 01:10:09,424 ERROR    [Pool-MRR X11(2)-Thread]:strat.mining.stratum.proxy.pool.Pool - Disconnection of pool Pool [name=MRR X11(2), host=us-west01.miningrigrentals.com:50736, username=rslsrkr.132864, password=x, readySince=Fri Nov 29 01:09:53 UTC 2019, isReady=true, isEnabled=true, isStable=true, priority=1, weight=2].
2019-11-29 01:10:09,425 ERROR    [Pool-MRR X11(2)-Thread]:strat.mining.stratum.proxy.manager.strategy.MonoCurrentPoolStrategyManager - Failed to rebind workers connections. No pool is available. Closing all workers connections.
2019-11-29 01:10:09,427 INFO     [Pool-MRR X11(2)-Thread]:strat.mining.stratum.proxy.pool.Pool - Trying reconnect of pool MRR X11(2) in 5.0 seconds.
legendary
Activity: 2926
Merit: 1091
--- ChainWorks Industries ---
jr. member
Activity: 102
Merit: 5
Anybody can please suggest what might be the problem here

Everytime a worker tries to connect, the pool disconnects it and no share is submitted.

Code:
2019-11-29 00:50:48,289 INFO     [Pool-MRR X11(2)-Thread]:strat.mining.stratum.proxy.pool.Pool - Pool MRR X11(2) started
2019-11-29 00:50:48,290 INFO     [Pool-MRR X11(2)-Thread]:strat.mining.stratum.proxy.pool.Pool - Testing stability of pool MRR X11(2) for 5 seconds.
2019-11-29 00:50:48,290 WARN     [Pool-MRR X11(2)-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Pool MRR X11(2) is UP.
2019-11-29 00:50:48,318 INFO     [Pool-MRR X11(3)-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Set difficulty 24.0 on pool MRR X11(3).
2019-11-29 00:50:48,319 INFO     [Pool-MRR X11(3)-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - New block detected on pool MRR X11(3).
2019-11-29 00:50:48,519 INFO     [Pool-MRR X11(2)-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Set difficulty 24.0 on pool MRR X11(2).
2019-11-29 00:50:48,520 INFO     [Pool-MRR X11(2)-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - New block detected on pool MRR X11(2).
2019-11-29 00:50:53,039 WARN     [TimerExecutorThread-3]:strat.mining.stratum.proxy.manager.ProxyManager - Pool MRR X16r is STABLE.
2019-11-29 00:50:53,139 WARN     [TimerExecutorThread-3]:strat.mining.stratum.proxy.manager.ProxyManager - Pool MRR X11(3) is STABLE.
2019-11-29 00:50:53,291 WARN     [TimerExecutorThread-3]:strat.mining.stratum.proxy.manager.ProxyManager - Pool MRR X11(2) is STABLE.
2019-11-29 00:50:53,919 INFO     [StratumProxyManagerSeverSocketListener]:strat.mining.stratum.proxy.manager.ProxyManager$1 - New connection on /0.0.0.0:3333 from /192.99.19.169:52414.
2019-11-29 00:50:53,923 INFO     [192.99.19.169-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - New WorkerConnection 192.99.19.169 subscribed. 1 connections active on pool MRR X16r.
2019-11-29 00:51:06,090 ERROR    [Pool-MRR X11(3)-Thread]:strat.mining.stratum.proxy.pool.Pool - Disconnection of pool Pool [name=MRR X11(3), host=us-central01.miningrigrentals.com:50926, username=rslsrkr.132864, password=x, readySince=Fri Nov 29 00:50:48 UTC 2019, isReady=true, isEnabled=true, isStable=true, priority=2, weight=1].
java.io.EOFException: Connection closed.
at strat.mining.stratum.proxy.network.StratumConnection$1.run(StratumConnection.java:167)
2019-11-29 00:51:06,092 WARN     [Pool-MRR X11(3)-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Pool MRR X11(3) is DOWN. Moving connections to another one.
2019-11-29 00:51:06,093 INFO     [Pool-MRR X11(3)-Thread]:strat.mining.stratum.proxy.pool.Pool - Pool MRR X11(3) stopped.
2019-11-29 00:51:06,094 INFO     [Pool-MRR X11(3)-Thread]:strat.mining.stratum.proxy.pool.Pool - Trying reconnect of pool MRR X11(3) in 5.0 seconds.
2019-11-29 00:51:06,124 ERROR    [Pool-MRR X16r-Thread]:strat.mining.stratum.proxy.pool.Pool - Disconnection of pool Pool [name=MRR X16r, host=us-east01.miningrigrentals.com:51116, username=rslsrkr.132864, password=x, readySince=Fri Nov 29 00:50:48 UTC 2019, isReady=true, isEnabled=true, isStable=true, priority=0, weight=9].
java.io.EOFException: Connection closed.
at strat.mining.stratum.proxy.network.StratumConnection$1.run(StratumConnection.java:167)
2019-11-29 00:51:06,125 WARN     [Pool-MRR X16r-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Pool MRR X16r is DOWN. Moving connections to another one.
2019-11-29 00:51:06,125 INFO     [Pool-MRR X16r-Thread]:strat.mining.stratum.proxy.manager.strategy.MonoCurrentPoolStrategyManager - Switching worker connections from pool MRR X16r to pool MRR X11(2).
2019-11-29 00:51:06,126 INFO     [Pool-MRR X16r-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Rebind connection 192.99.19.169 from pool MRR X16r to pool MRR X11(2) with setExtranonce notification.
2019-11-29 00:51:06,131 INFO     [Pool-MRR X16r-Thread]:strat.mining.stratum.proxy.pool.Pool - Pool MRR X16r stopped.
2019-11-29 00:51:06,132 INFO     [Pool-MRR X16r-Thread]:strat.mining.stratum.proxy.pool.Pool - Trying reconnect of pool MRR X16r in 5.0 seconds.
2019-11-29 00:51:06,196 ERROR    [Pool-MRR X11(2)-Thread]:strat.mining.stratum.proxy.pool.Pool - Disconnection of pool Pool [name=MRR X11(2), host=us-west01.miningrigrentals.com:50736, username=rslsrkr.132864, password=x, readySince=Fri Nov 29 00:50:48 UTC 2019, isReady=true, isEnabled=true, isStable=true, priority=1, weight=2].
java.io.EOFException: Connection closed.
at strat.mining.stratum.proxy.network.StratumConnection$1.run(StratumConnection.java:167)
2019-11-29 00:51:06,196 WARN     [Pool-MRR X11(2)-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Pool MRR X11(2) is DOWN. Moving connections to another one.
2019-11-29 00:51:06,197 ERROR    [Pool-MRR X11(2)-Thread]:strat.mining.stratum.proxy.manager.strategy.MonoCurrentPoolStrategyManager - Failed to rebind workers connections. No pool is available. Closing all workers connections.
strat.mining.stratum.proxy.exception.NoPoolAvailableException: No pool available. [Pool [name=MRR X16r, host=us-east01.miningrigrentals.com:51116, username=rslsrkr.132864, password=x, readySince=Fri Nov 29 00:50:48 UTC 2019, isReady=false, isEnabled=true, isStable=false, priority=0, weight=9], Pool [name=MRR X11(2), host=us-west01.miningrigrentals.com:50736, username=rslsrkr.132864, password=x, readySince=Fri Nov 29 00:50:48 UTC 2019, isReady=false, isEnabled=true, isStable=false, priority=1, weight=2], Pool [name=MRR X11(3), host=us-central01.miningrigrentals.com:50926, username=rslsrkr.132864, password=x, readySince=Fri Nov 29 00:50:48 UTC 2019, isReady=false, isEnabled=true, isStable=false, priority=2, weight=1]]
at strat.mining.stratum.proxy.manager.strategy.PriorityFailoverStrategyManager.computeCurrentPool(PriorityFailoverStrategyManager.java:142)
at strat.mining.stratum.proxy.manager.strategy.MonoCurrentPoolStrategyManager.checkConnectionsBinding(MonoCurrentPoolStrategyManager.java:65)
at strat.mining.stratum.proxy.manager.strategy.MonoCurrentPoolStrategyManager.onPoolDown(MonoCurrentPoolStrategyManager.java:120)
at strat.mining.stratum.proxy.manager.ProxyManager.onPoolStateChange(ProxyManager.java:468)
at strat.mining.stratum.proxy.pool.Pool.stopPool(Pool.java:286)
at strat.mining.stratum.proxy.pool.Pool.onDisconnectWithError(Pool.java:661)
at strat.mining.stratum.proxy.pool.PoolConnection.onDisconnectWithError(PoolConnection.java:63)
at strat.mining.stratum.proxy.network.StratumConnection$1.run(StratumConnection.java:171)
2019-11-29 00:51:06,198 INFO     [Pool-MRR X11(2)-Thread]:strat.mining.stratum.proxy.pool.Pool - Pool MRR X11(2) stopped.
2019-11-29 00:51:06,199 INFO     [Pool-MRR X11(2)-Thread]:strat.mining.stratum.proxy.pool.Pool - Trying reconnect of pool MRR X11(2) in 5.0 seconds.
2019-11-29 00:51:11,094 INFO     [TimerExecutorThread-3]:strat.mining.stratum.proxy.pool.Pool$3 - Trying reconnect of pool ReconnectTask-MRR X11(3)...
2019-11-29 00:51:11,133 INFO     [TimerExecutorThread-2]:strat.mining.stratum.proxy.pool.Pool$3 - Trying reconnect of pool ReconnectTask-MRR X16r...
2019-11-29 00:51:11,155 INFO     [TimerExecutorThread-3]:strat.mining.stratum.proxy.pool.Pool - Suggest the difficulty 0.01 to the pool MRR X11(3).
2019-11-29 00:51:11,199 INFO     [TimerExecutorThread-3]:strat.mining.stratum.proxy.pool.Pool$3 - Trying reconnect of pool ReconnectTask-MRR X11(2)...
2019-11-29 00:51:11,201 INFO     [TimerExecutorThread-3]:strat.mining.stratum.proxy.pool.Pool - Suggest the difficulty 0.01 to the pool MRR X11(2).
2019-11-29 00:51:11,205 INFO     [TimerExecutorThread-2]:strat.mining.stratum.proxy.pool.Pool - Suggest the difficulty 0.01 to the pool MRR X16r.
2019-11-29 00:51:11,602 WARN     [Pool-MRR X11(3)-Thread]:strat.mining.stratum.proxy.network.StratumConnection - Unknown response type on connection Pool-MRR X11(3). methodName: mining.suggest_difficulty, result: true
2019-11-29 00:51:11,677 WARN     [Pool-MRR X16r-Thread]:strat.mining.stratum.proxy.network.StratumConnection - Unknown response type on connection Pool-MRR X16r. methodName: mining.suggest_difficulty, result: true
2019-11-29 00:51:11,833 WARN     [Pool-MRR X11(2)-Thread]:strat.mining.stratum.proxy.network.StratumConnection - Unknown response type on connection Pool-MRR X11(2). methodName: mining.suggest_difficulty, result: true
2019-11-29 00:51:12,002 INFO     [Pool-MRR X16r-Thread]:strat.mining.stratum.proxy.pool.Pool - Pool MRR X16r started
2019-11-29 00:51:12,003 INFO     [Pool-MRR X16r-Thread]:strat.mining.stratum.proxy.pool.Pool - Testing stability of pool MRR X16r for 5 seconds.
2019-11-29 00:51:12,003 WARN     [Pool-MRR X16r-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Pool MRR X16r is UP.
2019-11-29 00:51:12,027 INFO     [Pool-MRR X11(3)-Thread]:strat.mining.stratum.proxy.pool.Pool - Pool MRR X11(3) started
2019-11-29 00:51:12,027 INFO     [Pool-MRR X11(3)-Thread]:strat.mining.stratum.proxy.pool.Pool - Testing stability of pool MRR X11(3) for 5 seconds.
2019-11-29 00:51:12,028 WARN     [Pool-MRR X11(3)-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Pool MRR X11(3) is UP.
2019-11-29 00:51:12,127 INFO     [Pool-MRR X16r-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Set difficulty 24.0 on pool MRR X16r.
2019-11-29 00:51:12,128 INFO     [Pool-MRR X16r-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - New block detected on pool MRR X16r.
2019-11-29 00:51:12,203 INFO     [Pool-MRR X11(3)-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Set difficulty 24.0 on pool MRR X11(3).
2019-11-29 00:51:12,204 INFO     [Pool-MRR X11(3)-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - New block detected on pool MRR X11(3).
2019-11-29 00:51:12,236 INFO     [Pool-MRR X11(2)-Thread]:strat.mining.stratum.proxy.pool.Pool - Pool MRR X11(2) started
2019-11-29 00:51:12,236 INFO     [Pool-MRR X11(2)-Thread]:strat.mining.stratum.proxy.pool.Pool - Testing stability of pool MRR X11(2) for 5 seconds.
2019-11-29 00:51:12,237 WARN     [Pool-MRR X11(2)-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Pool MRR X11(2) is UP.
2019-11-29 00:51:12,468 INFO     [Pool-MRR X11(2)-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Set difficulty 24.0 on pool MRR X11(2).
2019-11-29 00:51:12,469 INFO     [Pool-MRR X11(2)-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Worker connection 192.99.19.169 closed. 0 connections active on pool MRR X11(2). Cause: Socket closed
2019-11-29 00:51:12,469 INFO     [Pool-MRR X11(2)-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - New block detected on pool MRR X11(2).

would be much appreciated
legendary
Activity: 2926
Merit: 1091
--- ChainWorks Industries ---
Does anyone know if its possible to get this proxy to work for multiple users? Not just multiple workers.. like I need it so that me and a couple friends can all mine to it and it will forward the hash like normal but we each can use our own wallet addresses also.. If this can't be made to do that can someone make me one or can someone recommend something else that will do the trick? This would be greatly appreciated and there is a tip for anyone that can deliver!

Currently no ...

This is a feature we have been wanting for a long time, but since the results were basically that it would need a heavy rewrite, and pfool has left the project, then it would be a no go for almost anyone to do.

If there is someone that could port this proxy to C/C++, then my team could definitely work with you/anyone on this - or even take over the project. As it is stands though, being Java has a huge amount of limitations. Unless of course pfool would like to work on this with us on a private port full time of course Wink

#crysx
jr. member
Activity: 155
Merit: 1
CTO, Sys Admin, Cryptontrepreneur, CommunityLeader
Does anyone know if its possible to get this proxy to work for multiple users? Not just multiple workers.. like I need it so that me and a couple friends can all mine to it and it will forward the hash like normal but we each can use our own wallet addresses also.. If this can't be made to do that can someone make me one or can someone recommend something else that will do the trick? This would be greatly appreciated and there is a tip for anyone that can deliver!
full member
Activity: 1588
Merit: 214
@aarons6, thanks for the info.

GEERTCOIN is not dead coin,
just devs, maybe leave this coin, and official block-explorer is not working.
Also, this coin, for some reason (maybe, mining profitability)
was disabled on last working block explorer, inside the site: https://prohashing.com/explorer/
And cryptopia.co.nz stop trading, and delisting this coin, according delisting policy
But, this coin still trading here, with low volumes: https://www.coinexchange.io/market/GEERT/BTC
And mainnet is alive, transaction is confirming, because we can do mining on this pool.

So, I'm interested to make workin sync-node, and do solo mining
to support this network from any time, even if this coin will be inactive.
You say about I need to install my own open source stratum multipool yiimp/yaamp... And maybe - Iquidus block explorer!..
Ok. Good idea... But this soft not for Windows, and working on Ubuntu.
Therefore, I was looking for the proxy "stratum+tcp:// -> http rpc"...

Yea, I can do solo mining to RPC directly, with low difficulty, using GPU and processor.
And I could do to run solo mining only when any transactions
exist in the response of the console command "getrawmempool".
Now I can do mining, using public pools, but after several years - I'm not sure...  Grin

Thanks, for the info about moonlander usb sticks ASICs.
Now, I think, I can install ubuntu, yiimp and iquidus on microSD or on USB too (liveUSB)!
And even if this all will not be online, this can be able to save (for my subnetwork),
the coin performance and full functionality, within long-time holding...
If our peers will stay last, we will be the first. Cheesy

Also, the volumes of trading we can raise. We have bitcoins.
I think it would make sense all over the World,
during the upcoming elections in the Netherlands.

Have a nice day.
legendary
Activity: 1736
Merit: 1006
what you want isnt going to work.. bitmain mostly disabled mining to RPC through core wallet-qt in the cgminer fork.
The solo mining to RPC-server with getwork-method working
after connection to RPC-server over HTTP,
but rented asics connected using stratum+tcp:// - not HTTP.
And maybe, using stratum protocol for mining with getblocktemplate, not getwork...
So did I try to find the proxy "stratum miners -> getwork HTTP"

if the coin isnt listed whats the point tho?
If this coin will be delisted long time...
To make the working mainnet from two peers (after 3 years for example),
need to confirm the transactions in the mainnet, find the blocks, and need to do solo mining!
So I cann't do this myself, using rented asics.

Now, I can only do mining, using online pools...
But... If this coin will be illiquid the long time, this will be delisted from this online pools.

so you are trying to keep a dead coin with no dev team alive by solo mining it..

like i said, the bitmain miners that you are trying to rent hash from wont be able to connect to your rpc.. ever.. it wont work.

you might be able to mine yourself on cpu or gpu.. but l3+'s cant solo mine on the core wallet like you want.
you have to get the source code for the yiimp pool and build a server with an actual stratum pool.

since you are mining it by yourself, a gpu miner with bfgminer in stratum mode via rpc could probably work. you wont need alot of hash rate if you are the only one mining the coin.. you can possible even get away with one of those moonlander usb sticks they use bfgminer.


i do have to tell you tho, it takes more then just one person mining a coin to keep it alive.. its not just going to pop back in and be popular in 3 years just because.
i understand you probably have a huge bag of these coins and you put money into mining them.. the coin has zero volume and that wont just change over time.
full member
Activity: 1588
Merit: 214
what you want isnt going to work.. bitmain mostly disabled mining to RPC through core wallet-qt in the cgminer fork.
The solo mining to RPC-server with getwork-method working
after connection to RPC-server over HTTP,
but rented asics connected using stratum+tcp:// - not HTTP.
And maybe, using stratum protocol for mining with getblocktemplate, not getwork...
So did I try to find the proxy "stratum miners -> getwork HTTP"

if the coin isnt listed whats the point tho?
If this coin will be delisted long time...
To make the working mainnet from two peers (after 3 years for example),
need to confirm the transactions in the mainnet, find the blocks, and need to do solo mining!
So I cann't do this myself, using rented asics.

Now, I can only do mining, using online pools...
But... If this coin will be illiquid the long time, this will be delisted from this online pools.
legendary
Activity: 1736
Merit: 1006
That is the point ...

Because sCrypt ASIC's dominate this Algo, the only 'real' way to mine is via a pool.
So is there no pools for this coin?
Yeap, but this pools are unstable and most from the pools - not working: https://bitcointalksearch.org/topic/ann-geert-pow-geertcoin-scrypt-1789401
For example, this unstable online statum pool - working sometimes:
https://theminingpoolstratum.selfip.com/geertcoin/public/index.php?page=statistics&action=blocks

But, i think, this illiquid coin,
will be delisted from many pools, after delisting from cryptopia...

So I want to setup my own stratum local pool on windows, and don't know how-to.

Is the Git for the coin available to you right now?
I'm not sure, but here's the source code.

Need to connect stratum miners to RPC server on wallet with getwork.

I see this (stratum miners -> to getwork wallet): https://github.com/fireduck64/SockThing (JAR files too),
but I don't understand how it works...
Is this supporting SCRYPT algo??
Can you make two-way proxy "stratum<->getwork", using this code?


what you want isnt going to work.. bitmain mostly disabled mining to RPC through core wallet-qt in the cgminer fork.


if the coin isnt listed whats the point tho?
full member
Activity: 1588
Merit: 214
That is the point ...

Because sCrypt ASIC's dominate this Algo, the only 'real' way to mine is via a pool.
So is there no pools for this coin?
Yeap, but this pools are unstable and most from the pools - not working: https://bitcointalksearch.org/topic/ann-geert-pow-geertcoin-scrypt-1789401
For example, this unstable online statum pool - working sometimes:
https://theminingpoolstratum.selfip.com/geertcoin/public/index.php?page=statistics&action=blocks

But, i think, this illiquid coin,
will be delisted from many pools, after delisting from cryptopia...

So I want to setup my own stratum local pool on windows, and don't know how-to.

Is the Git for the coin available to you right now?
I'm not sure, but here's the source code.

Need to connect stratum miners to RPC server on wallet with getwork.

I see this (stratum miners -> to getwork wallet): https://github.com/fireduck64/SockThing (JAR files too),
but I don't understand how it works...
Is this supporting SCRYPT algo??
Can you make two-way proxy "stratum<->getwork", using this code?
legendary
Activity: 2926
Merit: 1091
--- ChainWorks Industries ---
Simple answer - No ...

This is why this is called a STRATUM PROXY.

You also need to realize that MOST coins these days do not have getwork implemented into their codebase and as such, you cannot mine solo. If in this coin you can, then you need to setup a stratum to mine directly to the getwork RPC, THEN the stratum-proxy to the stratum you setup. Hence why most people do not bother and mine directly with pools (who have stratums setup) with this proxy.

Hope that helps.

#crysx
Thanks for your answer.
Hmm... But... Is there any local stratum pool for windows, to solo mining - using scrypt algorithm?
For example, I want to mining GEERTCOIN (scrypt-algo),
just to confirm transactions in the mainnet,
because I have more than 1 million GEERT,
and I want to holding this coins some years or decades.
I can do solo-mining this coin, using GPUs, after connecting to my wallet through RPC-server, over http.
In this case using getwork-method...
But difficulty is so high for GPU mining, and I want to using rented ASIC...

The main problem is that this ASIC's connecting by stratum+tcp://,
and this ASICS not connected over HTTP to RPC-server (if port-forwarding enabled).

That is the point ...

Because sCrypt ASIC's dominate this Algo, the only 'real' way to mine is via a pool. So is there no pools for this coin?

It won't matter whether stratum software is Linux or windows based (as you can always create a VM locally or VPS in the cloud), though most are Linux based. Stratum-mining is the most popular one, though I think it would be overkill to try setting it up. Is the Git for the coin available to you right now? We can have a look a little later for you if you like to see what effort we need to build a pool in our platform.

Apart from that, this StratumProxy is an efficient one. So when a pool is setup, you can push ALL the hashrate through it if you wish as long as it is pointed at a stratum to mine.

#crysx
full member
Activity: 1588
Merit: 214
Simple answer - No ...

This is why this is called a STRATUM PROXY.

You also need to realize that MOST coins these days do not have getwork implemented into their codebase and as such, you cannot mine solo. If in this coin you can, then you need to setup a stratum to mine directly to the getwork RPC, THEN the stratum-proxy to the stratum you setup. Hence why most people do not bother and mine directly with pools (who have stratums setup) with this proxy.

Hope that helps.

#crysx
Thanks for your answer.
Hmm... But... Is there any local stratum pool for windows, to solo mining - using scrypt algorithm?
For example, I want to mining GEERTCOIN (scrypt-algo),
just to confirm transactions in the mainnet,
because I have more than 1 million GEERT,
and I want to holding this coins some years or decades.
I can do solo-mining this coin, using GPUs, after connecting to my wallet through RPC-server, over http.
In this case using getwork-method...
But difficulty is so high for GPU mining, and I want to using rented ASIC...

The main problem is that this ASIC's connecting by stratum+tcp://,
and this ASICS not connected over HTTP to RPC-server (if port-forwarding enabled).

Therefore, I was looking for a stratum proxy or local stratum pool,
if this illiquid coin will be delisted from some online stratum-pools.
legendary
Activity: 2926
Merit: 1091
--- ChainWorks Industries ---
For example:
1. I have scrypt-asic, rented on https://miningrigrentals.com/
2. I have the wallet of coin with SCRYPT algorithm.
3. I have enabled RPC-server to do mining, using getwork method, after connecting by http
Quote
ccminer -a scrypt -o http://127.0.0.1:5000 -u rpcuser -p rpcpassword
or just without http:
Quote
ccminer -a scrypt -o 127.0.0.1:5000 -u rpcuser -p rpcpassword
4. I cann't do solo mining, using stratum+tcp://
Quote
ccminer -a scrypt -o stratum+tcp://127.0.0.1:5000 -u rpcuser -p rpcpassword
there is an errors after connecting...
5. Inside the account in https://miningrigrentals.com
I can specify only stratum+tcp:// mining pool.

SO CAN I CONNECT THE STRATUM-MINER using this proxy
and do SOLO MINING to RPC-server, using getwork-method?

If yes, how to configure this proxy for SCRYPT algo?

Also, is there any local stratum mining pools for windows?

Simple answer - No ...

This is why this is called a STRATUM PROXY.

You also need to realize that MOST coins these days do not have getwork implemented into their codebase and as such, you cannot mine solo. If in this coin you can, then you need to setup a stratum to mine directly to the getwork RPC, THEN the stratum-proxy to the stratum you setup. Hence why most people do not bother and mine directly with pools (who have stratums setup) with this proxy.

Hope that helps.

#crysx
full member
Activity: 1588
Merit: 214
For example:
1. I have scrypt-asic, rented on https://miningrigrentals.com/
2. I have the wallet of coin with SCRYPT algorithm.
3. I have enabled RPC-server to do mining, using getwork method, after connecting by http
Quote
ccminer -a scrypt -o http://127.0.0.1:5000 -u rpcuser -p rpcpassword
or just without http:
Quote
ccminer -a scrypt -o 127.0.0.1:5000 -u rpcuser -p rpcpassword
4. I cann't do solo mining, using stratum+tcp://
Quote
ccminer -a scrypt -o stratum+tcp://127.0.0.1:5000 -u rpcuser -p rpcpassword
there is an errors after connecting...
5. Inside the account in https://miningrigrentals.com
I can specify only stratum+tcp:// mining pool.

SO CAN I CONNECT THE STRATUM-MINER using this proxy
and do SOLO MINING to RPC-server, using getwork-method?

If yes, how to configure this proxy for SCRYPT algo?

Also, is there any local stratum mining pools for windows?
Pages:
Jump to: