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
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.<init>(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.<init>(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.<init>(ApplicationHandler.java:320)
at org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:285)
at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.<init>(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)