braiins / farm-proxy Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
This may be considered a feature request, but when configured with individual workers, FarmProxy fails to show the individual worker performance: accepted shares, rejected shares, average hashrate, etc.
A view of a stacked graph and statistics similar to what would be seen on the pool manager side (such as on the Braiins worker dashboard) would be ideal, so local statistics could be viewed per worker, without needing to go to the web.
S 17+ ANTMINER 3 HASHBOARDS 65 ASICS CAN NOT FLASH EPROM CAN I BYPASS TO RUN?? 3 BOARDS ? CAN I ADD CODE TO BYPASS ON KERNEL LOG OR MAIN LOG >>?? THANK YOU ITS BEEN 4 DAYS SO FAR WITH THE REPAIR DONE AND TRYING TO FLASH WITH 2 DIFFERENT CODE EDITORS THAN K YOU ?
ERROR farm_proxy::http_api: Cannot bind address for monitoring 0.0.0.0:8080
2023-01-07T18:26:01.985816Z ERROR warp::server: error binding to 0.0.0.0:8080: error creating server listener: Address already in use (os error 98)
2023-01-07T18:26:01.985866Z INFO farm_proxy::http_api: Monitoring running on 0.0.0.0:8080
Hello,
After a while I could not login to Grafana service even the login was right. In a log file I found that HW disk is full. Prometheus service service has filled 100 % of disk capacity.
In the docker compose file there was limit to automatically delete old data:
- '--storage.tsdb.retention.time=200h'
However, disk cap was exceeded before it could erase something.
It would be nice to have an info about data size per miner per day. It would help to do the math for HDD size required.
I solved the issue by stopping the Prometheus and Grafana service. Erase prometheus volume and docker-compose up.
The issue did not affect the mining itself. Farm-proxy service was OK.
E PROM BYPASS S17+ MINER
In the log is time to time appear:
WARN...infra::probing: Cannot connect to the remote end
ERROR...target_quality: ConnectionError found on endpoint=stratum+tcp.......
But on the pool is everything ok, connected, hashrate is good, all ok:
Miners: Bitmain S19j 104 Th/s, stock firmware
If I use 2 targets, than same error appear for both targets, but second target does not work properly: it is connected on the pool for few minutes and disappear... I used hr_weight parameter = 95 for the first target & hr_weight parameter = 5, but 1st target is ok may be I am doing wrong configuration in config file??
As I understood that you cannot split hashrate only can split miners, ok. I have 9 miners connected to the proxy with the same ip & port address, how to connect each asic separately in order to split hashrate?
Run 'docker-compose down , git pull' and the 'dcoker-compose up -d ... It throws below error:
payam@payam-HP-EliteDesk:~/farm-proxy$ sudo docker-compose up -d
Creating network "farm-proxy_default" with the default driver
Creating volume "farm-proxy_config_cache" with default driver
Pulling farm-proxy (braiinssystems/farm-proxy:24.06)...
24.06: Pulling from braiinssystems/farm-proxy
f7b75fe1f735: Pull complete
d0908c139139: Pull complete
350981e3bd69: Pull complete
5f4c1538818a: Pull complete
Digest: sha256:217c9603ba8e6ece2109ab7ef4fde532f57637db96ce3b85a2e3c85fcae9d6c5
Status: Downloaded newer image for braiinssystems/farm-proxy:24.06
Pulling farm-proxy-gui (node:20.11-slim)...
20.11-slim: Pulling from library/node
8a1e25ce7c4f: Pull complete
503fbb4f74df: Pull complete
6c530100026f: Pull complete
ff31387ca9a1: Pull complete
09f1e69d0450: Pull complete
Digest: sha256:357deca6eb61149534d32faaf5e4b2e4fa3549c2be610ee1019bf340ea8c51ec
Status: Downloaded newer image for node:20.11-slim
Creating prometheus ...
Creating prometheus ... error
WARNING: Host is already in use by another container
Creating farm-proxy ... done
Creating farm-proxy-gui ... done
Creating farm-proxy-configurator ... done
ERROR: for prometheus Cannot start service prometheus: driver failed programming external connectivity on endpoint prometheus (1b86c7d9b485952c0de369d9ef436a03db3d835741e6f9d0c430e195397ff3e4): Error starting userland proxy: listen tcp4 0.0.0.0:9090: bind: address already in use
ERROR: Encountered errors while bringing up the project.
Expected Behavior: configuring FP with a Stratum V2 endpoint (Braiins Pool) should permit Stratum V2 mining by all workers behind the proxy, regardless of whether they're using Stratum V1 or Stratum V2, facilitating standardizing a mixed mining environment onto Stratum V2 or operation of legacy miners on modern pool infrastructure without the need to operate against two pool endpoints (and the associated deficiencies of using Stratum V1).
Observed Behavior:
Err(NotPresent) 2023-01-16T02:40:17.487400Z INFO farm_proxy: Welcome to Farm Proxy 22.11 (commit-id: f7976df13b2bb3d2a625b30c3fd3077d8e6a04cf, is-dirty=false, additional-commits=false), rev=f7976df13b 2023-01-16T02:40:17.487446Z INFO farm_proxy: Using configuration file: /conf/farm_proxy.toml Error: Invalid configuration:
/conf/farm_proxy.toml'
Caused by:
Stratum V2 is not supported URL for target. Use Stratum V1 address`
Steps to reproduce: Connect a Stratum v1 worker to Farm Proxy via Stratum V1, configure Farm Proxy to mine against a pool's Stratum v2 URL & credentials, observe that miner remains in "waiting for work" state and "docker logs farm-proxy" throws the above error.
If not yet implemented, how close is this functionality to being complete? If it is implemented, does something specific need to be done in the toml file to enable it successfully?
Hi,
I am setting up the farm proxy - is there a config setting to assign a speed to a mining pool target? Eg 100 TH/s, etc.
Thanks,
Evan
Shows wrong hashrate if connected to viabtc pool, and a lot of invalid hashrate and 0 downstream connections, but on viabtc pool hash is ok, workers are present.
On solopool.org is everything fine in Grafana: hash, downstream connections, pool hash is also ok, no invalid hash
When set bos_referral_code getting this error and farm wont start:
Error: Invalid configuration: `/conf/farm_proxy.toml'
Caused by:
0: Unable to parse source string as toml
1: TOML parse error at line 6, column 1
|
6 | bos_referral_code = "xxxxxxxxxxxxxxxx"
| ^^^^^^^^^^^^^^^^^
unknown field bos_referral_code, expected one of name, port, extranonce_size, validates_hash_rate, use_empty_extranonce1, submission_rate, slushpool_bos_bonus, braiinspool_bos_bonus
My config is:
[[server]]
name = "S1"
port = 3338
braiinspool_bos_bonus = "xyz"
bos_referral_code = "xxxxxxxxxxxxxxxx"
Hi
I tested FP on small scale and it was working ok with no problems but when I tried to test it on two containers with 600 miners it keeps stopping after about 5 to 10 minute
fp_quits.log
This is happen because the MRR service it is not a pool it is another "Proxy Server" and here is the point, problem
Also in the Grafana Debug Dashboard it has been noted something with a lot of rejected shares when you use to targets in the config, considering when one of the target is another proxy server
Please review this issue,
Maybe need to play with some timings/reconnect time out, etc, as MRR service quite long pickup hash rate compare to the direct pool target, and simply Proxy jumps to the pool and no waiting MRR, because on MRR in the beginning little appear small hash and status connected, and than goes hash to 0, and some time still remain status connected...
Attached print screen of the parameters, how get access here?
Or maybe I am doing config wrongly?
P.S.: admin of the MRR has reported that their proxy server extranonce is not using, because it depends of which pool you connect during rigs idle and renters pool during rent phase.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.