chrysophylax
Legendary
Offline
Activity: 2954
Merit: 1091
--- ChainWorks Industries ---
|
|
March 14, 2015, 11:48:25 PM |
|
thx for reply, finally figured it out.
how? ... #crysx
|
|
|
|
dimonbiz
Member
Offline
Activity: 67
Merit: 10
|
|
March 15, 2015, 10:52:18 AM |
|
Hello. Can you help? Thanks
|
|
|
|
chrysophylax
Legendary
Offline
Activity: 2954
Merit: 1091
--- ChainWorks Industries ---
|
|
March 15, 2015, 11:01:30 AM |
|
Hello. Can you help? Thanks i used to mine here on a regular basis - on port 6666 which is x11 ... what is the issue? ... or am i missing something here? ... #crysx
|
|
|
|
dimonbiz
Member
Offline
Activity: 67
Merit: 10
|
|
March 15, 2015, 11:10:19 AM |
|
Hello. Can you help? Thanks i used to mine here on a regular basis - on port 6666 which is x11 ... what is the issue? ... or am i missing something here? ... #crysx Disconnected. Remote pool extranonce2 size too small.
|
|
|
|
chrysophylax
Legendary
Offline
Activity: 2954
Merit: 1091
--- ChainWorks Industries ---
|
|
March 16, 2015, 07:28:08 AM |
|
Hello. Can you help? Thanks i used to mine here on a regular basis - on port 6666 which is x11 ... what is the issue? ... or am i missing something here? ... #crysx Disconnected. Remote pool extranonce2 size too small. my apologies ... with the extranonce setting - set it to false in the .conf file ... you will find that coinking ( as absent as they have been lately ) does not cater for extranonce2 ... try that and see if it reconnects without issue ... we use the 0.5.1 version and have no issues with it connecting to coinking ... #crysx
|
|
|
|
chrysophylax
Legendary
Offline
Activity: 2954
Merit: 1091
--- ChainWorks Industries ---
|
|
March 16, 2015, 07:31:36 AM |
|
btw - pfool ...
is there anyway of restricting the proxy accessibility via the web? ...
ie - restricting any changes that can be done to the proxy via the web interface? ...
if there is a way of 'just' showing the stats so who ever is looking at it cannot change anything in it - what way would that be? ...
tanx ...
#crysx
|
|
|
|
chentron
Member
Offline
Activity: 97
Merit: 13
|
|
March 16, 2015, 12:36:36 PM |
|
I have the exactly opossed issue. I can not modify with web management, only can see the setup.
|
|
|
|
chrysophylax
Legendary
Offline
Activity: 2954
Merit: 1091
--- ChainWorks Industries ---
|
|
March 16, 2015, 12:46:17 PM |
|
I have the exactly opossed issue. I can not modify with web management, only can see the setup.
ok - so could be a permission issue? ... #crysx
|
|
|
|
chentron
Member
Offline
Activity: 97
Merit: 13
|
|
March 16, 2015, 12:49:06 PM |
|
My miners are all stratum compatible. My goal is load balance my ths for 3-4 pools to have less variance. I could point manually each one of them to the desired pools, but it is nicer and more elegant to do it trough a proxy, also easier to change or add a new pool. I am thinking on how the performance for this purpose could be affected if "weightedRoundRobinRoundDuration": 1 is set. somebody has this implemented ? Do you know if is there other advantange redirecting all my miners troughout the proxy ? I think we can really have a similar behavior with the WeightedRoundRobin strategy.
Could you try to lower the roundDuration of this strategy, for example with a 1 minute value (in the configuration file): "weightedRoundRobinRoundDuration": 1,
If it works better (it should), you can try to adjust this parameter to have the best result (the pool difficulties and the number of pool can greatly modify results).
Does your miner support the set_extranonce extension ? (the Nicehash stratum extension) If so, it is fine. If not, do not set the parameter with a small value, since the miners have to be disconnected in order to switch pool (thus, it may kill your hashrate).
I hope this will work since it will be hard to implement a real loadBalance strategy (it is far easier to implement in a mining software than in a proxy) and I have not enough time to implement this strategy.
|
|
|
|
chentron
Member
Offline
Activity: 97
Merit: 13
|
|
March 16, 2015, 12:51:38 PM |
|
maybe in linux, but i am using proxy on windows, so i dont think so. The only issue i have is that when installing java 1.8 in my windows XP, installer said that was "too old" system and some functions could not work. But the proxy is working very well and reliable, not freezing. I have the exactly opossed issue. I can not modify with web management, only can see the setup.
ok - so could be a permission issue? ... #crysx
|
|
|
|
chentron
Member
Offline
Activity: 97
Merit: 13
|
|
March 17, 2015, 12:58:58 PM |
|
I answer myself, because I test it rounrobin with roudduration=1. It happens each 30 seconds disconnect from one pool to connect the other pool, so i am getting lot of rejected. Dont think it is a good solution. I think could be better solution have one proxy instance running for each pool. This solution lack the easy of changing the hashrate dinamically for each pool, but will give the easy to change the pool for a big number of miners. My miners are all stratum compatible. My goal is load balance my ths for 3-4 pools to have less variance. I could point manually each one of them to the desired pools, but it is nicer and more elegant to do it trough a proxy, also easier to change or add a new pool. I am thinking on how the performance for this purpose could be affected if "weightedRoundRobinRoundDuration": 1 is set. somebody has this implemented ? Do you know if is there other advantange redirecting all my miners troughout the proxy ? I think we can really have a similar behavior with the WeightedRoundRobin strategy.
Could you try to lower the roundDuration of this strategy, for example with a 1 minute value (in the configuration file): "weightedRoundRobinRoundDuration": 1,
If it works better (it should), you can try to adjust this parameter to have the best result (the pool difficulties and the number of pool can greatly modify results).
Does your miner support the set_extranonce extension ? (the Nicehash stratum extension) If so, it is fine. If not, do not set the parameter with a small value, since the miners have to be disconnected in order to switch pool (thus, it may kill your hashrate).
I hope this will work since it will be hard to implement a real loadBalance strategy (it is far easier to implement in a mining software than in a proxy) and I have not enough time to implement this strategy.
|
|
|
|
heybabit
Newbie
Offline
Activity: 20
Merit: 0
|
|
March 21, 2015, 09:32:08 AM |
|
I have weightedRoundRobinRoundDuration": 60. With 3 pools in rotation, they spend 20 mins on each pool. You get a lot less rejects this way an even though it is bursty, things seem to work out fine. I answer myself, because I test it rounrobin with roudduration=1. It happens each 30 seconds disconnect from one pool to connect the other pool, so i am getting lot of rejected. Dont think it is a good solution. I think could be better solution have one proxy instance running for each pool. This solution lack the easy of changing the hashrate dinamically for each pool, but will give the easy to change the pool for a big number of miners. My miners are all stratum compatible. My goal is load balance my ths for 3-4 pools to have less variance. I could point manually each one of them to the desired pools, but it is nicer and more elegant to do it trough a proxy, also easier to change or add a new pool. I am thinking on how the performance for this purpose could be affected if "weightedRoundRobinRoundDuration": 1 is set. somebody has this implemented ? Do you know if is there other advantange redirecting all my miners troughout the proxy ? I think we can really have a similar behavior with the WeightedRoundRobin strategy.
Could you try to lower the roundDuration of this strategy, for example with a 1 minute value (in the configuration file): "weightedRoundRobinRoundDuration": 1,
If it works better (it should), you can try to adjust this parameter to have the best result (the pool difficulties and the number of pool can greatly modify results).
Does your miner support the set_extranonce extension ? (the Nicehash stratum extension) If so, it is fine. If not, do not set the parameter with a small value, since the miners have to be disconnected in order to switch pool (thus, it may kill your hashrate).
I hope this will work since it will be hard to implement a real loadBalance strategy (it is far easier to implement in a mining software than in a proxy) and I have not enough time to implement this strategy.
|
|
|
|
crossini
Newbie
Offline
Activity: 22
Merit: 0
|
|
March 28, 2015, 10:41:55 AM |
|
I installed version 0.60 but generates a series of errors: the configuration file is the default, I only changed the pool
c:\_miner\proxy\P-3340 Mazza>java -jar stratum-proxy.jar -f proxy.conf Failed to start the proxy: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "validateSha26G etworkShares" (class strat.mining.stratum.proxy.configuration.model.Configuration), not marked as ig norable (34 known properties: "userHashrateSamplingPeriod", "stratumListenPort", "validateGetworkSha res", "apiUser", "poolSwitchingStrategy", "getworkListenAddress", "logDirectory", "rejectReconnectOn DifferentHost", "weightedRoundRobinRoundDuration", "apiEnableSsl", "stratumListenAddress", "poolHash rateSamplingPeriod", "disableApi", "connectionHashrateSamplingPeriod", "workerNumberLimit", "apiPass word", "pools", "logRealShareDifficulty", "apiLogLevel", "poolNoNotifyTimeout", "disableGetwork", "l ogLevel", "apiListenPort", "isScrypt", "noMidstate", "getworkListenPort", "poolReconnectStabilityPer iod", "hashrateDatabaseSamplingPeriod", "databaseDirectory", "apiListenAddress", "disableStratum", " poolConnectionRetryDelay", "disableLogAppend", "hashrateDatabaseHistoryDepth"]) at [Source: proxy.conf; line: 27, column: 37] (through reference chain: strat.mining.stratum.proxy. configuration.model.Configuration["validateSha26GetworkShares"]) at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropert yException.java:51) at com.fasterxml.jackson.databind.DeserializationContext.reportUnknownProperty(Deserializati onContext.java:817) at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeseria lizer.java:954) at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeser ializerBase.java:1315) at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeseri alizerBase.java:1293) at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer .java:249) at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:1 36) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3560) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2470) at strat.mining.stratum.proxy.configuration.ConfigurationManager.useConfigurationF ile(Config urationManager.java:181) at strat.mining.stratum.proxy.configuration.ConfigurationManager.loadConfiguration(Configura tionManager.java:159) at strat.mining.stratum.proxy.Launcher.main(Launcher.java:117) log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: \stratum-proxy.log (Accesso negato) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(Unknown Source) at java.io.FileOutputStream.<init>(Unknown Source) at org.apache.log4j.FileAppender.setFile(FileAppender.java:294) at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207) at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165) at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307) at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:295) at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:176) at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:191) at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:52 3) at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:492) at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:1006) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:872) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:778) at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526) at org.apache.log4j.LogManager.<clinit>(LogManager.java:127) at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:64) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:285) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:305) at strat.mining.stratum.proxy.database.DatabaseManager.<clinit>(DatabaseManager.java:37) at strat.mining.stratum.proxy.Launcher$1.run(Launcher.java:156) User requested shutdown... Gracefuly kill all connections... Shutdown !
|
|
|
|
crossini
Newbie
Offline
Activity: 22
Merit: 0
|
|
March 28, 2015, 10:55:21 AM |
|
Error:
Jar file was not found
1: org.glassfish.grizzly.http.server.CLStaticHttpHandler.getJarFile(CLStaticHttpHandler.java:339) 2: org.glassfish.grizzly.http.server.CLStaticHttpHandler.handle(CLStaticHttpHandler.java:278) 3: strat.mining.stratum.proxy.Launcher$2.handle(Launcher.java:294) 4: org.glassfish.grizzly.http.server.StaticHttpHandlerBase.service(StaticHttpHandlerBase.java:188) 5: org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:217) 6: org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565) 7: org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545) 8: java.lang.Thread.run(Unknown Source)
Please see the log for more detail.
where are the log files?
|
|
|
|
Pfool (OP)
|
|
April 01, 2015, 08:33:34 PM |
|
Version 0.7.0 released: https://github.com/Stratehm/stratum-proxy/releasesChanges since 0.6.0: -Fix issue #29: UI not available on some systems. -Fix issue #30: Enable Kick/Ban buttons on the User page. -Add ipVersion option to force the use of a particular IP version. (auto, v4 or v6) -Add the suggestedPoolDifficulty option to suggest a difficulty to the pool. -Add pool uptime and number of disconnections in the pool page. -Add a summary method to the API (#35) -Add I18n on dates. -Implementation of the connections page. -Fix the --version and --help option on command line. NOTE: I have no more enough time to "participate" to this thread. Now, I will mainly focus on Github requests. I let this Thread open so you can help people that need it. Thanks! Error:
Jar file was not found
1: org.glassfish.grizzly.http.server.CLStaticHttpHandler.getJarFile(CLStaticHttpHandler.java:339) 2: org.glassfish.grizzly.http.server.CLStaticHttpHandler.handle(CLStaticHttpHandler.java:278) 3: strat.mining.stratum.proxy.Launcher$2.handle(Launcher.java:294) 4: org.glassfish.grizzly.http.server.StaticHttpHandlerBase.service(StaticHttpHandlerBase.java:188) 5: org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:217) 6: org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565) 7: org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545) 8: java.lang.Thread.run(Unknown Source)
Please see the log for more detail.
where are the log files?
You should try the new version, a fix for this issue is included
|
Thanx BTC: 19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi
|
|
|
MegaFall
Jr. Member
Offline
Activity: 56
Merit: 1
|
|
April 11, 2015, 03:20:56 PM Last edit: April 11, 2015, 04:00:18 PM by MegaFall |
|
Does this have the ability to log shares per worker into a database before they're forwarded to the pool, which I could then pull using PHP to show on a website? I'm just looking to log the number of shares submitted with the worker name.
|
|
|
|
yslyung
Legendary
Offline
Activity: 1500
Merit: 1002
Mine Mine Mine
|
|
April 11, 2015, 07:34:42 PM |
|
cant connect to bw.com pool. but works fine if connected directly from miner with same credentials
|
|
|
|
chrysophylax
Legendary
Offline
Activity: 2954
Merit: 1091
--- ChainWorks Industries ---
|
|
April 15, 2015, 04:16:15 PM |
|
Aww, just noticed this, thought it may be useful for code, even though my Stratum implementation is almost done, then saw it's infected with the GPL. hehehe ... wolf - this software is brilliant ... its what we use here to control what and where the farm mines ... #crysx
|
|
|
|
dimonbiz
Member
Offline
Activity: 67
Merit: 10
|
|
April 19, 2015, 07:36:47 AM Last edit: April 19, 2015, 10:22:47 AM by dimonbiz |
|
How can I change this setting? I need a size of 4
|
|
|
|
polymer_city
Member
Offline
Activity: 98
Merit: 10
|
|
April 20, 2015, 05:19:36 PM |
|
Is there a way to display users / machines in order, rather than the order they connect in?
Eg
Worker1 Worker2
If i need to find a machine that has gone down, it's very hard when it's not in order.
|
|
|
|
|