• Почему не подключается узел через bootnode?

    @lexa78 Автор вопроса
    Drno, Да, видят, пингуются 6209d5fd82e35476668396.jpeg Но, при этом, подключиться к bootnode не могут.
  • Почему не подключается узел через bootnode?

    @lexa78 Автор вопроса
    Drno, Нет, из вне мне не нужен доступ. Я хочу, чтобы они в сети 172.25.0.0/24 друг с другом синхронизировались
  • Почему не подключается узел через bootnode?

    @lexa78 Автор вопроса
    Спасибо за ответ. Но, порт пробросил, и ничего не изменилось.
    Может, неправильно пробросил. Я вот так сделал 620965261b20e188859562.jpeg
  • Почему не подключается узел через bootnode?

    @lexa78 Автор вопроса
    Немного логов из консоли

    geth-miner-1 | INFO [02-13|18:03:31.990] Maximum peer count ETH=50 LES=0 total=50
    geth-miner-1 | INFO [02-13|18:03:31.990] Smartcard socket not found, disabling    err="stat /run/pcscd/pcscd.comm: no such file or directory"
    geth-miner-1 | DEBUG[02-13|18:03:31.991] FS scan times  list="48.1µs" set="3.2µs" diff="1.3µs"
    geth-miner-1 | TRACE[02-13|18:03:31.991] Handled keystore changes    time="31.7µs"
    geth-miner-1 | TRACE[02-13|18:03:31.991] Started watching keystore folder         path=/root/.ethereum/keystore
    geth-miner-1 | DEBUG[02-13|18:03:31.991] FS scan times  list="31.4µs" set="1.2µs" diff=900ns
    geth-miner-1 | DEBUG[02-13|18:03:31.991] Sanitizing Go's GC trigger  percent=100
    geth-miner-1 | INFO [02-13|18:03:31.991] Set global gas cap          cap=50,000,000
    geth-miner-1 | INFO [02-13|18:03:31.991] Allocated trie memory caches             clean=154.00MiB dirty=256.00MiB
    geth-miner-1 | INFO [02-13|18:03:31.991] Allocated cache and file handles         database=/root/.ethereum/geth/chaindata cache=512.00MiB handles=524,288
    geth-miner-1 | DEBUG[02-13|18:03:33.111] Chain freezer table opened  database=/root/.ethereum/geth/chaindata/ancient table=headers items=0 size=0.00B
    geth-miner-1 | INFO [02-13|18:03:33.829] Opened ancient database     database=/root/.ethereum/geth/chaindata/ancient readonly=false
    geth-miner-1 | DEBUG[02-13|18:03:33.830] Current full block not old enough        number=0 hash=56e7c5..663051 delay=90000
    geth-miner-1 | INFO [02-13|18:03:33.831] Initialised chain configuration          config="{ChainID: 500 Homestead: 0 DAO: <nil> DAOSupport: false EIP150: 0 EIP155: 0 EIP158: 0 Byzantium: 0 Constantinople: <nil> Petersburg: <nil> Istanbul: <nil>, Muir Glacier: <nil>, Berlin: <nil>, London: <nil>, Arrow Glacier: <nil>, MergeFork: <nil>, Engine: unknown}"
    geth-miner-1 | INFO [02-13|18:03:33.832] Disk storage enabled for ethash caches   dir=/root/.ethereum/geth/ethash count=3
    geth-miner-1 | INFO [02-13|18:03:33.832] Disk storage enabled for ethash DAGs     dir=/root/.ethash  count=2
    geth-miner-1 | INFO [02-13|18:03:33.832] Initialising Ethereum protocol           network=500 dbversion=<nil>
    geth-miner-1 | INFO [02-13|18:03:33.835] Loaded most recent local header          number=0 hash=56e7c5..663051 td=1 age=52y10mo2w
    geth-miner-1 | INFO [02-13|18:03:33.835] Loaded most recent local full block      number=0 hash=56e7c5..663051 td=1 age=52y10mo2w
    geth-miner-1 | INFO [02-13|18:03:33.836] Loaded most recent local fast block      number=0 hash=56e7c5..663051 td=1 age=52y10mo2w
    geth-miner-1 | WARN [02-13|18:03:33.836] Failed to load snapshot, regenerating    err="missing or corrupted snapshot"
    geth-miner-1 | INFO [02-13|18:03:33.836] Rebuilding state snapshot
    geth-miner-1 | DEBUG[02-13|18:03:33.836] Journalled generator progress            progress=empty
    geth-miner-1 | DEBUG[02-13|18:03:33.836] Start snapshot generation   root=09de5a..f04720
    geth-miner-1 | DEBUG[02-13|18:03:33.837] Reinjecting stale transactions           count=0
    geth-miner-1 | INFO [02-13|18:03:33.837] Resuming state snapshot generation       root=09de5a..f04720 accounts=0 slots=0 storage=0.00B elapsed="740.2µs"
    geth-miner-1 | INFO [02-13|18:03:33.837] Regenerated local transaction journal    transactions=0 accounts=0
    geth-miner-1 | TRACE[02-13|18:03:33.837] Detected outdated state range            kind=account prefix=0x61 last=0x err="wrong root: have 0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421 want 0x09de5ade40e06374788f4d936f6daaaf844b038405c8b4e6935553cb5ef04720"
    geth-miner-1 | DEBUG[02-13|18:03:33.837] Regenerated state range     kind=account prefix=0x61 root=09de5a..f04720 last=0x count=4 created=4 updated=0 untouched=0 deleted=0
    geth-miner-1 | DEBUG[02-13|18:03:33.837] Journalled generator progress            progress=done
    geth-miner-1 | INFO [02-13|18:03:33.837] Generated state snapshot    accounts=4 slots=0 storage=280.00B elapsed=1.512ms
    geth-miner-1 | INFO [02-13|18:03:33.837] Gasprice oracle is ignoring threshold set threshold=2
    geth-miner-1 | WARN [02-13|18:03:33.838] Error reading unclean shutdown markers   error="leveldb: not found"
    geth-miner-1 | INFO [02-13|18:03:33.838] Starting peer-to-peer node  instance=Geth/v1.10.15-stable-8be800ff/linux-amd64/go1.17.5
    geth-miner-1 | INFO [02-13|18:03:34.415] Mapped network port         proto=tcp extport=30312 intport=30312 interface=ExtIP(172.25.0.101)
    geth-miner-1 | DEBUG[02-13|18:03:34.415] UDP listener up             addr=[::]:30312
    geth-miner-1 | DEBUG[02-13|18:03:34.415] TCP listener up             addr=[::]:30312
    geth-miner-1 | INFO [02-13|18:03:34.417] Mapped network port         proto=udp extport=30312 intport=30312 interface=ExtIP(172.25.0.101)
    geth-miner-1 | TRACE[02-13|18:03:34.418] Found seed node in database id=8d5107cf4e03772d addr=172.25.0.101:30311 age=456882h3m34.4182909s
    geth-miner-1 | INFO [02-13|18:03:34.419] New local node record       seq=1,644,775,414,415 id=1ebbeaac3231b359 ip=172.25.0.101 udp=30312 tcp=30312
    geth-miner-1 | TRACE[02-13|18:03:34.420] Found seed node in database id=8d5107cf4e03772d addr=172.25.0.101:30311 age=456882h3m34.4210572s
    geth-miner-1 | TRACE[02-13|18:03:34.421] Starting p2p dial           id=8d5107cf4e03772d ip=172.25.0.101 flag=dyndial
    geth-miner-1 | DEBUG[02-13|18:03:34.422] IPCs registered             namespaces=admin,debug,web3,eth,txpool,personal,ethash,miner,net
    geth-miner-1 | INFO [02-13|18:03:34.422] IPC endpoint opened         url=/root/.ethereum/geth.ipc
    geth-miner-1 | TRACE[02-13|18:03:34.423] >> PING/v4     id=8d5107cf4e03772d addr=172.25.0.101:30311 err=nil
    geth-miner-1 | TRACE[02-13|18:03:34.456] Dial error     id=8d5107cf4e03772d addr=172.25.0.101:30311 conn=dyndial err="connect: connection refused"
    geth-miner-1 | INFO [02-13|18:03:34.456] Started P2P networking      self=enode://b0664d18556d6e566883d558ff4f9bfa5347ddd36d98de1df9ec4f902ce2619da075fab0c9d769ecfbbc2d3e3f25ce000d4d01d34aed025c1b86af8c2dde3beb@172.25.0.101:30312
    geth-miner-1 | TRACE[02-13|18:03:34.456] << PONG/v4     id=8d5107cf4e03772d addr=172.25.0.101:30311 err=nil
    geth-miner-1 | TRACE[02-13|18:03:34.457] << PING/v4     id=8d5107cf4e03772d addr=172.25.0.101:30311 err=nil
    geth-miner-1 | TRACE[02-13|18:03:34.457] >> PONG/v4     id=8d5107cf4e03772d addr=172.25.0.101:30311 err=nil
    geth-miner-1 | TRACE[02-13|18:03:34.458] << PONG/v4     id=8d5107cf4e03772d addr=172.25.0.101:30311 err=nil
    geth-miner-1 | TRACE[02-13|18:03:34.603] << ENRREQUEST/v4            id=8d5107cf4e03772d addr=172.25.0.101:30311 err=nil
    geth-miner-1 | TRACE[02-13|18:03:34.603] >> ENRRESPONSE/v4           id=8d5107cf4e03772d addr=172.25.0.101:30311 err=nil
    geth-miner-1 | TRACE[02-13|18:03:34.958] >> FINDNODE/v4 id=8d5107cf4e03772d addr=172.25.0.101:30311 err=nil
    geth-miner-1 | TRACE[02-13|18:03:34.958] << NEIGHBORS/v4             id=8d5107cf4e03772d addr=172.25.0.101:30311 err=nil
    geth-miner-1 | INFO [02-13|18:03:35.226] Unlocked account            address=0x8Cc5A1a0802DB41DB826C2FcB72423744338DcB0
    geth-miner-1 | INFO [02-13|18:03:35.226] Transaction pool price threshold updated price=1,000,000,000
    geth-miner-1 | INFO [02-13|18:03:35.226] Updated mining threads      threads=2
    geth-miner-1 | INFO [02-13|18:03:35.226] Transaction pool price threshold updated price=1,000,000,000
    geth-miner-1 | INFO [02-13|18:03:35.226] Commit new mining work      number=1 sealhash=57912d..6d5877 uncles=0 txs=0 gas=0 fees=0 elapsed="139.7µs"
    geth-miner-1 | TRACE[02-13|18:03:35.226] Requiring new ethash dataset             epoch=0
    geth-miner-1 | TRACE[02-13|18:03:35.226] Requiring new future ethash dataset      epoch=1
    geth-miner-1 | DEBUG[02-13|18:03:35.227] Failed to load old ethash dataset        epoch=0 err="open /root/.ethash/full-R23-0000000000000000: no such file or directory"
    geth-miner-1 | TRACE[02-13|18:03:35.458] Discarding dial candidate   id=1ebbeaac3231b359 ip=172.25.0.101 reason="is self"
    geth-miner-1 | TRACE[02-13|18:03:35.458] Discarding dial candidate   id=8d5107cf4e03772d ip=172.25.0.101 reason="recently dialed"
    geth-miner-1 | TRACE[02-13|18:03:35.459] >> FINDNODE/v4 id=8d5107cf4e03772d addr=172.25.0.101:30311 err=nil
    geth-miner-1 | TRACE[02-13|18:03:35.459] << NEIGHBORS/v4             id=8d5107cf4e03772d addr=172.25.0.101:30311 err=nil
    geth-miner-1 | DEBUG[02-13|18:03:35.750] Generated ethash verification cache      epoch=0 elapsed=518.022ms
    geth-miner-1 | TRACE[02-13|18:03:35.967] >> FINDNODE/v4 id=8d5107cf4e03772d addr=172.25.0.101:30311 err=nil
    geth-miner-1 | TRACE[02-13|18:03:35.969] << NEIGHBORS/v4             id=8d5107cf4e03772d addr=172.25.0.101:30311 err=nil

  • Как открыть сайт в браузере?

    @lexa78 Автор вопроса
    Думал, что в DNS что-то неправильно прописал, вот и засуетился. Но, стоит отметить, что сайт начал открываться только что. А по поводу мусора... Если бы была возможность удалить этот вопрос, я бы удалил.
  • Почему nginx редиректит на localhost?

    @lexa78 Автор вопроса
    файл default
    ##
    # You should look at the following URL's in order to grasp a solid understanding
    # of Nginx configuration files in order to fully unleash the power of Nginx.
    # https://www.nginx.com/resources/wiki/start/
    # https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/
    # https://wiki.debian.org/Nginx/DirectoryStructure
    #
    # In most cases, administrators will remove this file from sites-enabled/ and
    # leave it as reference inside of sites-available where it will continue to be
    # updated by the nginx packaging team.
    #
    # This file will automatically load configuration files provided by other
    # applications, such as Drupal or Wordpress. These applications will be made
    # available underneath a path with that package name, such as /drupal8.
    #
    # Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples.
    ##
    
    # Default server configuration
    #
    server {
            listen 80 default_server;
            listen [::]:80 default_server;
    
            # SSL configuration
            #
            # listen 443 ssl default_server;
            # listen [::]:443 ssl default_server;
            #
            # Note: You should disable gzip for SSL traffic.
            # See: https://bugs.debian.org/773332
            #
            # Read up on ssl_ciphers to ensure a secure configuration.
            # See: https://bugs.debian.org/765782
            #
            # Self signed certs generated by the ssl-cert package
            # Don't use them in a production server!
            #
            # include snippets/snakeoil.conf;
    
            root /var/www/html;
    
            # Add index.php to the list if you are using PHP
            index index.html index.htm index.nginx-debian.html;
    
            server_name _;
    
            location / {
                    # First attempt to serve request as file, then
                    # as directory, then fall back to displaying a 404.
                    try_files $uri $uri/ =404;
            }
    
            # pass PHP scripts to FastCGI server
            #
            #location ~ \.php$ {
            #       include snippets/fastcgi-php.conf;
            #
            #       # With php-fpm (or other unix sockets):
            #       fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
            #       # With php-cgi (or other tcp sockets):
            #       fastcgi_pass 127.0.0.1:9000;
            #}
    
            # deny access to .htaccess files, if Apache's document root
            # concurs with nginx's one
            #
            #location ~ /\.ht {
            #       deny all;
            #}
    }
    
    
    # Virtual Host configuration for example.com
    #
    # You can move that to a different file under sites-available/ and symlink that
    # to sites-enabled/ to enable it.
    #
    #server {
    #       listen 80;
    #       listen [::]:80;
    #
    #       server_name example.com;
    #
    #       root /var/www/example.com;
    #       index index.html;
    #
    #       location / {
    #               try_files $uri $uri/ =404;
    #       }
    #}
  • Почему nginx редиректит на localhost?

    @lexa78 Автор вопроса
    sudo netstat -plan | grep -i listen | grep 80
    вернул
    unix 2 [ ACC ] STREAM LISTENING 24280 852/master private/maildrop
    Мой конфиг полностью
    server {
        listen 443 ssl;
    
        ssl_certificate /etc/ssl/blinding.ru.crt;
        ssl_certificate_key /etc/ssl/blinding.ru.key;
    
        server_name blinding.ru;
    
        root /var/www/web/sites/$host/public;
    
        index index.php index.html index.htm;
    
        if ($ssl_protocol = "") {rewrite ^ https://$host$request_uri? permanent;}
    
        location ~ .php$ {
            try_files      $uri =404;
            fastcgi_pass   127.0.0.1:9001;
            fastcgi_index  index.php;
            include        fastcgi_params;
            fastcgi_param  SCRIPT_FILENAME $document_root$fastcgi_script_name;
            fastcgi_ignore_client_abort off;
        }
    
        include phpmyadmin.conf;
        location ~ ^\/mysql(\/?)$ {
            return 301 /phpmyadmin/;
        }
    
        location ~ /\.ht {
            deny all;
        }
    
        location = /favicon.ico {
            log_not_found off;
            access_log off;
        }
    
        location = /robots.txt {
            allow all;
            log_not_found off;
            access_log off;
        }
        location / {
            try_files $uri $uri/ /index.php?$query_string;
        }
    }
  • Почему nginx редиректит на localhost?

    @lexa78 Автор вопроса
    netstat -nlp | grep :80
    ничего не возвращает
  • Почему nginx редиректит на localhost?

    @lexa78 Автор вопроса
    Сделал, нашелся только файл default в /sites-available/ Но это же не влияет. В /sites-enable лежит линк с моего конфига
  • Как открыть сайт в браузере?

    @lexa78 Автор вопроса
    В анонимайзерах открывается отлично. Ни мобильный интернет, ни wifi не открывают.