Bitcoin Forum
December 11, 2016, 02:33:33 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 [7] 8 »  All
  Print  
Author Topic: PoolServerJ - Tech Support  (Read 26365 times)
50BTC.com
Hero Member
*****
Offline Offline

Activity: 577


PPS pool


View Profile WWW
February 02, 2012, 05:23:10 PM
 #121

We are evaluating PoolServerJ for our mining pool, 50btc.com, as replacement for pushpoold. There are few problems we have encountered during testing; can anyone help with them?

We are running Scientific Linux 6.1, java version java-1.6.0-openjdk-1.6.0.0-1.40.1.9.10, poolserverj 0.4.0rc7 (rc2 + rc7 patch), stock bitcoind 0.5.2.

First problem is that currently PoolServerJ doesn't support postgresql properly. For example, with settings
Code:
db.engine=postgresql
db.host=dbserver
db.name=pool
db.schema=public
db.port=5432
db.user=pooluser
db.password=pass
It incorrectly forms connectiong string, it prints
[20:54:18.678] Connecting to DB URL: jdbc:postgresql:pool//dbserver:5432/public?autoReconnect=true
and then always connects to localhost, not "dbserver"

If I understand correctly, specifying connection string in jdbc:postgresql:<database> form can be used only for localhost connections, according to documentation http://jdbc.postgresql.org/documentation/80/connect.html. So jdbc happily ignores dbserver and port, which makes poolserverj connect only to localhost.

We wouldn't mind to fix that issue, but there are no sources for this part of server (shadtools-sql), even in source repository there is only binary .jar. Therefore, we really can't do anything. Currently, for testing we have installed redirecting proxy for postgresql which forwards requests from localhost to real database server, but for production it would be nice to fix that issue properly. This problem is present both in 0.4.0 and git version.

Second problem is that we want users to authorize with any password, as long as they are registered on pool. There is auth engine called AnyPasswordWorkerAuthenticator which supposed to do the trick, but it doesn't do as advertised. Namely, it does allow to log in with any password, but not without password - when logging in with username only (we tried guiminer+poclbm and minerd) it still returns "401 Unauthorized". Of course, it's set up as it's supposed to

Code:
authenticatorEngine=com.shadworld.poolserver.servlet.auth.AnyPasswordWorkerAuthenticator
authenticatorEngine.extraParams=true, false

and I have looked at its simple code a few times but still can't figure out why it won't allow empty password. Could it be that there is a bug in other code which rejects empty password before it's processed by AnyPasswordWorkerAuthenticator?

50btc.com - PPS pool, instant payout (Visa, Liberty Reserve, QIWI, Yandex.Money, WebMoney,...), API, fast and responsible support, pay for stale shares.
1481423613
Hero Member
*
Offline Offline

Posts: 1481423613

View Profile Personal Message (Offline)

Ignore
1481423613
Reply with quote  #2

1481423613
Report to moderator
If you want to be a moderator, report many posts with accuracy. You will be noticed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481423613
Hero Member
*
Offline Offline

Posts: 1481423613

View Profile Personal Message (Offline)

Ignore
1481423613
Reply with quote  #2

1481423613
Report to moderator
1481423613
Hero Member
*
Offline Offline

Posts: 1481423613

View Profile Personal Message (Offline)

Ignore
1481423613
Reply with quote  #2

1481423613
Report to moderator
1481423613
Hero Member
*
Offline Offline

Posts: 1481423613

View Profile Personal Message (Offline)

Ignore
1481423613
Reply with quote  #2

1481423613
Report to moderator
EnergyVampire
Full Member
***
Offline Offline

Activity: 210



View Profile
February 07, 2012, 07:48:21 AM
 #122

Hello, I get this error

Code:
Exception in thread "block-chain-tracker" java.lang.NullPointerException
at com.shadworld.poolserver.source.daemonhandler.JsonRpcDaemonHandler.doBlockCheck(JsonRpcDaemonHandler.java:83)
at com.shadworld.poolserver.BlockChainTracker.fireBlockCheck(BlockChainTracker.java:453)
at com.shadworld.poolserver.BlockChainTracker.run(BlockChainTracker.java:485)

when starting up.

Using: poolserverj-0.4.0rc2

Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1526

Reverse engineer from time to time


View Profile
February 15, 2012, 07:11:07 PM
 #123

Even though I do

Quote
source.local.1.rewriteDifficultyTarget=0000000000000000000000000000000000000000000000000000333300000000

###default true = set to false if you want to PoolServerJ as a proxy for non-pool mining
source.local.1.rewriteDifficulty=false

or even

Quote
source.local.1.rewriteDifficultyTarget=0000000000000000000000000000000000000000000000000000333300000000

###default true = set to false if you want to PoolServerJ as a proxy for non-pool mining
source.local.1.rewriteDifficulty=true

The difficulty is NOT rewritten. It stays at it's default state

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
12gaFacelift
Sr. Member
****
Offline Offline

Activity: 277



View Profile
February 23, 2012, 12:18:14 AM
 #124

Someone to install PoolServerJ + Frontend : Win xp - xamp server . first to test and if its working then another box can be used to go public. PM me

thx

Never argue with idiots, they just drag you down to their level then beat you with experience. ~ *CANADA ONLY* Colloidal Silver Wire Rod - 12 Gauge Pure Silver .9999 - https://bitcointalk.org/index.php?topic=775964.0

https://bitcointalk.org/index.php?topic=731923.0
https://bitcointalk.org/index.php?topic=1323657.0
mich
Hero Member
*****
Offline Offline

Activity: 728



View Profile
February 29, 2012, 10:43:50 AM
 #125

With merged mining poolserverj writes 'upstream_result' for bitcoin only? How to catch namecoin's upstream_result?
cablepair
Hero Member
*****
Offline Offline

Activity: 854


https://btc-republic.com/index.php?ref=cablepair


View Profile WWW
February 29, 2012, 11:55:25 AM
 #126

its in there you just have to change the table section of the config to how you want it to report to your database
mich
Hero Member
*****
Offline Offline

Activity: 728



View Profile
February 29, 2012, 01:13:01 PM
 #127

its in there you just have to change the table section of the config to how you want it to report to your database
You mean 'our_result_bitcoin' and 'our_result_namecoin'? But these columns is our markers - accepted or rejected shares, and I asking about markers of winning shares. Something like upstream_result_bitcoin and upstream_result_namecoin.
mich
Hero Member
*****
Offline Offline

Activity: 728



View Profile
March 01, 2012, 10:40:54 AM
 #128

nobody knows?
mich
Hero Member
*****
Offline Offline

Activity: 728



View Profile
March 12, 2012, 10:00:58 AM
 #129

Code:
4153182 [HttpClient-upstream-work-submit-handler-38] WARN org.eclipse.jetty.util.log - EXPIRED ContentExchange@1175760389=POST//127.0.0.1:8332/#8
[13:54:06.686] JSON-RPC getmemorypool update failed.

How to fix it?
cablepair
Hero Member
*****
Offline Offline

Activity: 854


https://btc-republic.com/index.php?ref=cablepair


View Profile WWW
March 12, 2012, 08:08:15 PM
 #130

that means its not connecting to bitcoind

is this happening all the time or just temporarily when you first start up?

because if its not happening all the time I would not worry about it

mich
Hero Member
*****
Offline Offline

Activity: 728



View Profile
March 13, 2012, 03:11:25 AM
 #131

Not every time, random from 5 to 30 min. And when it happens phoenix miner disconnect, then connect back in few seconds.
Internet151
Full Member
***
Offline Offline

Activity: 174



View Profile
May 12, 2012, 02:18:57 AM
 #132

Has anyone gotten this to work under Windows and Bitcoin-qt 0.6+?
maxcarjuzaa
Full Member
***
Offline Offline

Activity: 179


View Profile
June 04, 2012, 12:38:42 AM
 #133

Hi I am running poolserverj with litecoind.

In order to test it I am running one miner (minerd) , but it had not solve any shares yet and if I connect it to my usual pool I get a share every 10 seconds or so. Do I miss any configuration? Do you have any idea?

Thank you.
Max
cablepair
Hero Member
*****
Offline Offline

Activity: 854


https://btc-republic.com/index.php?ref=cablepair


View Profile WWW
June 05, 2012, 07:02:34 PM
 #134

Hi I am running poolserverj with litecoind.

In order to test it I am running one miner (minerd) , but it had not solve any shares yet and if I connect it to my usual pool I get a share every 10 seconds or so. Do I miss any configuration? Do you have any idea?

Thank you.
Max

If memory serves , I dont think lite coin compatibity was ever actually achieved
Flowz
Member
**
Offline Offline

Activity: 114


Bitcoin = Money for the people, by the people.


View Profile
July 06, 2012, 11:52:38 AM
 #135

Hi,
I'm currently running PoolServerJ, and it working out great!
Getting 23Gh/s!

There is only one thing that concerns me a lot.
I've been getting a lot of 'Broken Pipe', 'EofException' and 'connection refused' errors, with a lot I mean non-stop outputting those exceptions. Everything is still working though, I just wonder why those exception are poping up in such a giant number.

~ Flowz
Flowz
Member
**
Offline Offline

Activity: 114


Bitcoin = Money for the people, by the people.


View Profile
July 06, 2012, 06:13:55 PM
 #136

Furthermore I would like to point out that,
I get a error which bugs down the whole system:
java.lang.OutOfMemoryError: GC overhead limit exceeded

Temporary solution:
-XX:-UseGCOverheadLimit

(This means it won't look if the garbage collector is like using 98% of the CPU or not, which wil decrease the pool performance a lot I think)

Or I could increase the max heap size:
-Xmx1g

I have 8gig of RAM memory, what is the best heap size for that server?

~ Flowz
mich
Hero Member
*****
Offline Offline

Activity: 728



View Profile
July 27, 2012, 04:55:45 PM
 #137

How to setup log rotation for poolserverj's log files? (by logrotate)
Bit LC Inc.
Newbie
*
Offline Offline

Activity: 22



View Profile WWW
September 18, 2012, 03:56:21 PM
 #138

WARNING: With the 0.7.0 release of bitcoind - getmemorypool is removed, which cases the internal work-generation to fail.
Patches for poolserverj needed.

Contact us at support@bitlc.net.
Lomax42
Jr. Member
*
Offline Offline

Activity: 30


View Profile
September 21, 2012, 06:18:24 AM
 #139

Can I get the source code (Mini Http Proxy mini-proxy.tar.gz) would like to add there a separate authorization! powernet34@gmail.com Thank you!
OgStar
Newbie
*
Offline Offline

Activity: 24


View Profile
October 04, 2012, 10:58:26 AM
 #140

Can anyone tell me which bitcoin daemon version is the best for PoolServerJ?

I know 0.7 won't work, but will anything below it work? Because I'm trying to figure out the reasons of some bugs I've been getting.

And what about namecoind? What are the patches that it needs to make getmemorypool work with it, and where to find it?

Thank you!
Pages: « 1 2 3 4 5 6 [7] 8 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!