andzno1 / blagominer

Taking Blagominer to the next chain!
GNU General Public License v3.0
5 stars 9 forks source link

Scrolling error #1

Open randygrolemund opened 5 years ago

randygrolemund commented 5 years ago

I'm running your app and also HD miner. Hopefully this is an easy solution. The screenshot below just scrolls and scrolls.

Until maybe 10 mins ago I was using HD miner and Scavenger. No issues. Please tell me if you spot anything obvious, below.

Below are the configs:

image image image image

{

    "Burst" : {                                         // Configuration for Burstcoin mining

        "EnableMining" : true,                          // Enables mining of Burstcoin
        "Priority" : 5,                                 // Priority for Burstcoin in case of dual mining. Lower value means higher priority.

        "Mode" : "pool",                                // Mining mode: "pool" or "solo"
        "Server" : "pool.burstcoin.space",           // Submit deadlines to this address and port
        "Port" : "8124",

        "SubmitTimeout" : 3000,                         // Timeout in milliseconds after a deadline submission is regarded as failed.
                                                        // Increase this value if deadlines are being resent too many times.

        "UpdaterAddr" : "pool.burstcoin.space",      // Get mining information from this address and port
        "UpdaterPort" : "8124",

        "EnableProxy" : false,                          // Run Burstcoin proxy
        "ProxyPort" : "8125",                           // Listening port for Burstcoin proxy
        "ProxyUpdateInterval" : 450,                    // Interval in milliseconds for the proxy checking for new client requests

        "SendInterval": 100,                            // Interval in milliseconds for the sender thread checking for new deadlines found during Mining
        "UpdateInterval" : 450,                         // Interval in milliseconds for the updater thread checking for new mining information

        "TargetDeadline" : 1353629,                    // Target deadline in seconds

        "POC2StartBlock" : 502000                       // The block height PoC2 format started
   },

    "BHD" : {                                           // Configuration for Bitcoin HD mining

        "EnableMining": true,                          // Enables mining of Bitcoin HD
        "Priority" : 1,                                 // Priority for Bitcoin HD in case of dual mining. Lower value means higher priority.

        "Server" : "localhost",                         // Submit deadlines to this address and port
        "Port" : "60100",

        "SubmitTimeout" : 1500,                         // Timeout in milliseconds after a deadline submission is regarded as failed.
                                                        // Increase this value if deadlines are being resent too many times.

        "UpdaterAddr" : "localhost",                    // Get mining information from this address and port
        "UpdaterPort" : "60100",

        "EnableProxy" : false,                          // Run Bitcoin HD proxy
        "ProxyPort" : "8732",                           // Listening port for Bitcoin HD proxy
        "ProxyUpdateInterval" : 450,                    // Interval in milliseconds for the proxy checking for new client requests

        "SendInterval": 100,                            // Interval in milliseconds for the sender thread checking for new deadlines found during mining
        "UpdateInterval": 450,                          // Interval in milliseconds for the updater thread checking for new mining information

        "TargetDeadline" : 1000000000                      // Target deadline in seconds
    },

    "Paths" : [
    "d:\\",
    "C:\\Burst\\Ext_Drive_01",
    "C:\\Burst\\Ext_Drive_02",
    "C:\\Burst\\Ext_Drive_03",
    "C:\\Burst\\Ext_Drive_04",
    "C:\\Burst\\Ext_Drive_05",
    "C:\\Burst\\Ext_Drive_06",
    "C:\\Burst\\Ext_Drive_07",
    "C:\\Burst\\Ext_Drive_08",
    "C:\\Burst\\Ext_Drive_09",
    "C:\\Burst\\Ext_Drive_10",
    "C:\\Burst\\Ext_Drive_11",
    "C:\\Burst\\Ext_Drive_12",
    "C:\\Burst\\Ext_Drive_13",
    "C:\\Burst\\Ext_Drive_14",
    "C:\\Burst\\Ext_Drive_15",
    "C:\\Burst\\Ext_Drive_16",
    "C:\\Burst\\Ext_Drive_17",
    "C:\\Burst\\Ext_Drive_18"
    ],                             // List of directories containing the plot files. Examples:
                                                        //    [d:\\plot, e:\\plots, f:\\data\\plot]
                                                        //    [d:/plot, e:/plots, f:/data/plot]

    "Logging" : {                                       // Configuration for logging
        "UseLog" : true,                                // Enables logging to file
        "EnableCsv" : true,                             // Enables csv logging to file
        "logAllGetMiningInfos" : false                  // Set this to false if you want to log every received mining information and all updates sent
                                                        // by the proxies, even if there is no new information. This increases the log file size
                                                        // quite fast. Set this to true otherwise.
    },

    "CacheSize" : 131072,                               // Cache in nonces (1 nonce in scoop = 64 bytes) for native PoC
                                                        // Use powers of 2 (e.g. 8192, 16384, 32768, 65536, 131072, 262144, 524288)
    "CacheSize2" : 524288,                              // Cache in nonces (1 nonce in scoop = 64 bytes) for on-the-fly PoC conversion
                                                        // Use powers of 2 (e.g. 8192, 16384, 32768, 65536, 131072, 262144, 524288)

    "Debug": false,                                     // Show detailed information in the miner window

    "ShowCorruptedPlotFiles" : true,                    // Show a list of possibly corrupted plot files in the miner window

    "IgnoreSuspectedFastBlocks" : true,                 // Don't count mismatching deadlines while tracking possibly corrupted plot files
                                                        // if the cause may have been a fast block.

    "UseHDDWakeUp" : true,                              // Keep HDDs spinning (every 3 minutes, only if mining of any coin is enabled)

    "CheckForUpdateIntervalInDays": 1,                  // Interval in days for update checks

    "UseBoost" : false,                                 // Set preferred processor for mining threads

    "WinSizeX" : 96,                                    // Miner window width in columns (characters). Minimum value: 96
    "WinSizeY" : 50,                                    // Miner window height in columns (characters). Minimum value: 20
    "LockWindowSize" : true                             // Disable resizing of miner window
}
randygrolemund commented 5 years ago

Maybe it is working..... but I need to adjust timers?

randygrolemund commented 5 years ago

I can confirm that I took nearly a 50% loss in revenue using this.

andzno1 commented 5 years ago

Thanks for reporting. I will have a look into it. Seems that the HTTP status code is not being interpreted correctly.

randygrolemund commented 5 years ago

Hey buddy.... how's the debugging going? :) . Check out my crypto site: www.profitbotpro.com, I'm not sure if I shared this with you before.

quetzalcoatl commented 5 years ago

Server error: 200 OK

Interesting. This actually is a bug, for sure. What I see here is;

Right now I don't know what is it, but from what I remember about that part of the parser is that it mostly ignores the result code (200, 301, 404, etc) and instead expects certain blocks of text to appear in the response. Either that pool didn't handle the request and returned HTTP/200 instead of a hard error code, or it accepted the deadline but responded with a response that blago doesn't support. It should be relatively easy to fix

SYDDOS commented 5 years ago

Hi. I've just installed BlagoMiner-v.1.190301.0 and I'm having the exact same problem "Server error: 200 OK"

quetzalcoatl commented 5 years ago

@SYDDOS do you have any logs from that moment? what pool was that? have you tried with newest blagominer versions?

SYDDOS commented 5 years ago

@quetzalcoatl I'm running BlagoMiner v1.190301.0. BurstcoinHD not enabled. Actual NumericID replaced with "numericID" in LOG file.

MINER CONF {

"Burst" : {                                         

    "EnableMining" : true,
"Priority" : 0,

    "Mode" : "pool",
"Server" : "burstpool.net",
"Port" : "8124",

    "UpdaterAddr" : "burstpool.net",
"UpdaterPort" : "8124",

    "EnableProxy" : false,
"ProxyPort" : "8126",
"ProxyUpdateInterval" : 450,

    "SendInterval": 100,
"UpdateInterval" : 450,

    "TargetDeadline" : 2920687,
    "POC2StartBlock" : 502000,

"SubmitTimeout" : 1500                      

},

"BHD" : {                                           

    "EnableMining": false,                         
    "Priority" : 1,                                 

    "Server" : "localhost",                         
    "Port" : "60100",

    "SubmitTimeout" : 1500,                         

    "UpdaterAddr" : "localhost",                   
    "UpdaterPort" : "60100",

    "EnableProxy" : false,                          
    "ProxyPort" : "8126",                           
    "ProxyUpdateInterval" : 450,                    

    "SendInterval": 100,                            
    "UpdateInterval": 950,                          

    "TargetDeadline" : 1000000000                     
},

"Paths" : ["E:\\plots",             
    "F:\\plots",                
    "G:\\plots",                
    "H:\\plots",
    "I:\\plots",
    "J:\\plots",
    "K:\\plots",
    "L:\\plots",
    "M:\\plots"
    ],  

"Logging" : {                                       
    "UseLog" : true,                                
    "EnableCsv" : true,                             
    "logAllGetMiningInfos" : false                  
},

"CacheSize" : 131072,                                                        
"CacheSize2" : 0,

"POC2StartBlock":504000,
"UseSorting" : true,
"SendBestOnly": true,
"Debug": false,
"ShowCorruptedPlotFiles" : false,
"IgnoreSuspectedFastBlocks" : true,

"UseHDDWakeUp" : true,                              

"CheckForUpdateIntervalInDays": 5,                 

"UseBoost" : true,                                 

"WinSizeX" : 96,                                    
"WinSizeY" : 50,                                    
"LockWindowSize" : true                             

}


Attached Log file. 2019-08-05 23-59-13.log

quetzalcoatl commented 5 years ago

Thanks for the .conf and the log file! I'll review them and see if I guess what's that. From the first look at the log, I don't see anything wrong, obviously. I'll try retesting it on the same pool and same settings, maybe it will show up on my machine as well, so I can inspect/debug it live.

Btw. with large text files, try "attaching" them to post :)

image

SYDDOS commented 5 years ago

Thanks for the quick response. "Attach Files" noted.