Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My sentinel Dvpn node is not activating I have setup my own private sentinel network. #198

Open
umeraqeel786 opened this issue May 26, 2024 · 0 comments

Comments

@umeraqeel786
Copy link

Hi Community,

I’m trying to create my own DVPN private network using Sentinel source code.

I have setup sentinel hub, 1 validator and 2 dvpn node, one with fireguard and other with V2Ray.

When I run dvpn fireguard node the node status remains inactive and I’m not able to activate my dvpn node.

My end goal is to run multiple dvpn node on cloud servers and connect using my client app to use dvpn bandwidth and activate VPN.

Please help me out in fixing my network.

Here are the steps I have followed:

  • Setup and Run Sentinel-Hub (Validator) following official documentation
  • Run DVPN with my Sentinel-Hub RPC

If there are any hidden steps that I missed in regards to staking validator node, tender mint etc. Please let me know.

I am attaching below dvpn logs and genesis file of sentinel hub.

Dvpn Node

`2024-05-26T07:48:38Z INF Reading the configuration file path=/root/.sentinelnode/config.toml
2024-05-26T07:48:38Z INF Validating the configuration data={"chain":{"gas":200000,"gas_adjustment":1.05,"gas_prices":"0.1udvpn","id":"test-network-1","rpc_addresses":"https://rpc.cosmictestnet.online:443","rpc_query_timeout":10,"rpc_tx_timeout":30,"simulate_and_execute":true},"handshake":{"enable":false,"peers":8},"keyring":{"backend":"file","from":"operator"},"node":{"gigabyte_prices":"52573ibc/31FEE1A2A9F9C01113F90BD0BBCCE8FD6BBB8585FAF109A2101827DD1D5B95B8,9204ibc/A8C2D23A1E6F95DA4E48BA349667E322BD7A6C996D8A4AAE8BA72E190F3D1477,1180852ibc/B1C0DDB14F25279A2026BC8794E12B259F8BDA546A3C5132CCAEE4431CE36783,122740ibc/ED07A3391A112B175915CD8FAF43A2DA8E4790EDE12566649D0C2F97716B8518,100udvpn","hourly_prices":"18480ibc/31FEE1A2A9F9C01113F90BD0BBCCE8FD6BBB8585FAF109A2101827DD1D5B95B8,770ibc/A8C2D23A1E6F95DA4E48BA349667E322BD7A6C996D8A4AAE8BA72E190F3D1477,1871892ibc/B1C0DDB14F25279A2026BC8794E12B259F8BDA546A3C5132CCAEE4431CE36783,18897ibc/ED07A3391A112B175915CD8FAF43A2DA8E4790EDE12566649D0C2F97716B8518,100udvpn","interval_set_sessions":10000000000,"interval_update_sessions":6900000000000,"interval_update_status":3300000000000,"ipv4_address":"","listen_on":"0.0.0.0:3794","moniker":"validator-node-0","remote_url":"https://138.197.44.220:3794","type":"v2ray"},"qos":{"max_peers":250}}
2024-05-26T07:48:38Z INF Initializing the keyring backend=file name=sentinel
Enter keyring passphrase:
2024-05-26T07:48:59Z INF Querying the account address=sent1f8ma078nfpdmckdgz06ufnaxw7zs835y3jg597
2024-05-26T07:49:00Z INF Fetching the GeoIP location info...
2024-05-26T07:49:00Z INF GeoIP location info city=Clifton country="United States"
2024-05-26T07:49:00Z INF Performing the internet speed test...
2024-05-26T07:49:24Z INF Internet speed test result data={"download":"1182612225","upload":"250971937"}
2024-05-26T07:49:24Z INF Initializing the VPN service type=2
2024-05-26T07:49:24Z INF Starting the VPN service type=2
2024-05-26T07:49:24Z INF Opening the database path=/root/.sentinelnode/data.db
2024-05-26T07:49:24Z INF Migrating the database models...
2024-05-26T07:49:24Z INF Initializing...
2024-05-26T07:49:24Z INF Querying the node address=sentnode1f8ma078nfpdmckdgz06ufnaxw7zs835y8yfdqg
V2Ray 5.12.1 (v2ray) 1715498743 (go1.21.10 linux/amd64)
A unified platform for anti-censorship.
2024-05-26T07:49:24Z INF Updating the node info...
2024-05-26T07:49:24Z INF Preparing the transaction messages=1
2024-05-26T07:49:24Z INF Querying the account address=sent1f8ma078nfpdmckdgz06ufnaxw7zs835y3jg597
2024-05-26T07:49:26Z INF Transaction info gas=102192 sequence=11
2024-05-26T07:49:26Z INF Broadcasting the transaction size=964
2024-05-26T07:49:27Z INF Transaction result code=0 codespace= height=10621 tx_hash=3CA837D7BDA70514734AA4FBA291ED7CDBDAB9E46F2A95850F6A8D89EEC2206E
2024-05-26T07:49:27Z INF Starting a job interval=10000 name=set_sessions
2024-05-26T07:49:27Z INF Starting a job interval=6900000 name=update_sessions
2024-05-26T07:49:27Z INF Starting a job interval=3300000 name=update_status
2024-05-26T07:49:27Z INF Updating the node status...
2024-05-26T07:49:27Z INF Preparing the transaction messages=1
2024-05-26T07:49:27Z INF Validating the sessions count=0
2024-05-26T07:49:27Z INF Querying the account address=sent1f8ma078nfpdmckdgz06ufnaxw7zs835y3jg597
2024-05-26T07:49:28Z INF Transaction info gas=96201 sequence=12
2024-05-26T07:49:28Z INF Broadcasting the transaction size=270
2024/05/26 07:49:29 http: TLS handshake error from 223.123.7.198:8001: remote error: tls: unknown certificate
2024/05/26 07:49:29 http: TLS handshake error from 223.123.7.198:8000: remote error: tls: unknown certificate
2024/05/26 07:49:29 http: TLS handshake error from 223.123.7.198:8002: remote error: tls: unknown certificate
2024-05-26T07:49:32Z INF Transaction result code=0 codespace= height=10622 tx_hash=51D61ADC2F8C6BA8E9C28D2CC0AA2BA57884F0220373B80F7A045E143F474E8D
2024/05/26 07:49:33 http: TLS handshake error from 223.123.7.198:8004: remote error: tls: unknown certificate
2024/05/26 07:49:33 http: TLS handshake error from 223.123.7.198:8005: remote error: tls: unknown certificate
`

Genesis FIle:

{
  "genesis_time": "2024-05-25T16:47:09.811269854Z",
  "chain_id": "test-network-1",
  "initial_height": "1",
  "consensus_params": {
    "block": {
      "max_bytes": "22020096",
      "max_gas": "-1",
      "time_iota_ms": "1000"
    },
    "evidence": {
      "max_age_num_blocks": "100000",
      "max_age_duration": "172800000000000",
      "max_bytes": "1048576"
    },
    "validator": {
      "pub_key_types": [
        "ed25519"
      ]
    },
    "version": {}
  },
  "app_hash": "",
  "app_state": {
    "auth": {
      "params": {
        "max_memo_characters": "256",
        "tx_sig_limit": "7",
        "tx_size_cost_per_byte": "10",
        "sig_verify_cost_ed25519": "590",
        "sig_verify_cost_secp256k1": "1000"
      },
      "accounts": [
        {
          "@type": "/cosmos.auth.v1beta1.BaseAccount",
          "address": "sent1f8ma078nfpdmckdgz06ufnaxw7zs835y3jg597",
          "pub_key": null,
          "account_number": "0",
          "sequence": "0"
        }
      ]
    },
    "authz": {
      "authorization": []
    },
    "bank": {
      "params": {
        "send_enabled": [],
        "default_send_enabled": true
},
      "balances": [
        {
          "address": "sent1f8ma078nfpdmckdgz06ufnaxw7zs835y3jg597",
          "coins": [
            {
              "denom": "udvpn",
              "amount": "1000000000000000000000"
            }
          ]
        }
      ],
      "supply": [],
      "denom_metadata": []
    },
    "capability": {
      "index": "1",
      "owners": []
    },
    "crisis": {
      "constant_fee": {
        "denom": "udvpn",
        "amount": "1000"
      }
    },
    "custommint": {
      "inflations": []
    },
    "distribution": {
      "params": {
        "community_tax": "0.020000000000000000",
        "base_proposer_reward": "0.010000000000000000",
        "bonus_proposer_reward": "0.040000000000000000",
        "withdraw_addr_enabled": true
      },
      "fee_pool": {
        "community_pool": []
      },
      "delegator_withdraw_infos": [],
      "previous_proposer": "",
      "outstanding_rewards": [],
      "validator_accumulated_commissions": [],
      "validator_historical_rewards": [],
      "validator_current_rewards": [],
      "delegator_starting_infos": [],
      "validator_slash_events": []
    },
  "evidence": {
      "evidence": []
    },
    "feegrant": {
      "allowances": []
    },
    "feeibc": {
      "identified_fees": [],
      "fee_enabled_channels": [],
      "registered_payees": [],
      "registered_counterparty_payees": [],
      "forward_relayers": []
    },
    "genutil": {
      "gen_txs": [
        {
          "body": {
            "messages": [
              {
                "@type": "/cosmos.staking.v1beta1.MsgCreateValidator",
                "description": {
                  "moniker": "validator-node-0",
                  "identity": "",
                  "website": "",
                  "security_contact": "",
                  "details": ""
                },
                "commission": {
                  "rate": "0.100000000000000000",
                  "max_rate": "0.200000000000000000",
                  "max_change_rate": "0.010000000000000000"
                },
                "min_self_delegation": "1",
                "delegator_address": "sent1f8ma078nfpdmckdgz06ufnaxw7zs835y3jg597",
                "validator_address": "sentvaloper1f8ma078nfpdmckdgz06ufnaxw7zs835ywhhe2h",
                "pubkey": {
                  "@type": "/cosmos.crypto.ed25519.PubKey",
                  "key": "02n668Jr7NyMYd8ZT8QCUIrf2i1Zu1r3mPx1/f/OIdc="
                },
                "value": {
                  "denom": "udvpn",
                  "amount": "100000000000"
                }
              }
          ],
            "memo": "[email protected]:26656",
            "timeout_height": "0",
            "extension_options": [],
            "non_critical_extension_options": []
          },
          "auth_info": {
            "signer_infos": [
              {
                "public_key": {
                  "@type": "/cosmos.crypto.secp256k1.PubKey",
                  "key": "AuQhLS75I7phfK9fjdLo3Xq5C3UnOt92Fheo+TqeTK3M"
                },
                "mode_info": {
                  "single": {
                    "mode": "SIGN_MODE_DIRECT"
                  }
                },
                "sequence": "0"
              }
            ],
            "fee": {
              "amount": [],
              "gas_limit": "200000",
              "payer": "",
              "granter": ""
            }
          },
          "signatures": [
            "TJPxZd7icHPeQmFogZogMs4DJVMoGT7jPSrM6rHXvhQY07HPD2maBUNjpe5vj1XyrftZ/H0qLgFhPMspqUjX8A=="
          ]
        }
      ]
    },
    "gov": {
      "starting_proposal_id": "1",
      "deposits": [],
      "votes": [],
      "proposals": [],
      "deposit_params": {
        "min_deposit": [
          {
            "denom": "udvpn",
            "amount": "10000000"
          }
        ],

      "max_deposit_period": "172800s"
      },
      "voting_params": {
        "voting_period": "172800s"
      },
      "tally_params": {
        "quorum": "0.334000000000000000",
        "threshold": "0.500000000000000000",
        "veto_threshold": "0.334000000000000000"
      }
    },
    "ibc": {
      "client_genesis": {
        "clients": [],
        "clients_consensus": [],
        "clients_metadata": [],
        "params": {
          "allowed_clients": [
            "06-solomachine",
            "07-tendermint"
          ]
        },
        "create_localhost": false,
        "next_client_sequence": "0"
      },
      "connection_genesis": {
        "connections": [],
        "client_connection_paths": [],
        "next_connection_sequence": "0",
        "params": {
          "max_expected_time_per_block": "30000000000"
        }
      },
      "channel_genesis": {
        "channels": [],
        "acknowledgements": [],
        "commitments": [],
        "receipts": [],
        "send_sequences": [],
        "recv_sequences": [],
        "ack_sequences": [],
        "next_channel_sequence": "0"
      }
    },
    "interchainaccounts": {
      "controller_genesis_state": {
        "active_channels": [],
   "interchain_accounts": [],
        "ports": [],
        "params": {
          "controller_enabled": true
        }
      },
      "host_genesis_state": {
        "active_channels": [],
        "interchain_accounts": [],
        "port": "icahost",
        "params": {
          "host_enabled": true,
          "allow_messages": []
        }
      }
    },
    "mint": {
      "minter": {
        "inflation": "0.130000000000000000",
        "annual_provisions": "0.000000000000000000"
      },
      "params": {
        "mint_denom": "udvpn",
        "inflation_rate_change": "0.130000000000000000",
        "inflation_max": "0.200000000000000000",
        "inflation_min": "0.070000000000000000",
        "goal_bonded": "0.670000000000000000",
        "blocks_per_year": "6311520"
      }
    },
    "params": null,
    "slashing": {
      "params": {
        "signed_blocks_window": "100",
        "min_signed_per_window": "0.500000000000000000",
        "downtime_jail_duration": "600s",
        "slash_fraction_double_sign": "0.050000000000000000",
        "slash_fraction_downtime": "0.010000000000000000"
      },
      "signing_infos": [],
      "missed_blocks": []
    },
    "staking": {
      "params": {
        "unbonding_time": "1814400s", 
        "max_validators": 100,
        "max_entries": 7,
        "historical_entries": 10000,
        "bond_denom": "udvpn"
      },
      "last_total_power": "0",
      "last_validator_powers": [],
      "validators": [],
      "delegations": [],
      "unbonding_delegations": [],
      "redelegations": [],
      "exported": false
    },
    "swap": {
      "swaps": [],
      "params": {
        "swap_enabled": false,
        "swap_denom": "tsent",
        "approve_by": "sent1f8ma078nfpdmckdgz06ufnaxw7zs835y3jg597"
      }
    },
    "transfer": {
      "port_id": "transfer",
      "denom_traces": [],
      "params": {
        "send_enabled": true,
        "receive_enabled": true
      }
    },
    "upgrade": {},
    "vesting": {},
    "vpn": {
      "deposits": [],
      "nodes": {
        "nodes": [],
        "params": {
          "deposit": {
            "denom": "udvpn",
            "amount": "10"
          },
          "active_duration": "30s",
          "max_gigabyte_prices": [
            {
              "denom": "udvpn",
              "amount": "100"
            }
          ],

     "min_gigabyte_prices": [
            {
              "denom": "udvpn",
              "amount": "1"
            }
          ],
          "max_hourly_prices": [
            {
              "denom": "udvpn",
              "amount": "100"
            }
          ],
          "min_hourly_prices": [
            {
              "denom": "udvpn",
              "amount": "1"
            }
          ],
          "max_subscription_gigabytes": "10",
          "min_subscription_gigabytes": "1",
          "max_subscription_hours": "10",
          "min_subscription_hours": "1",
          "staking_share": "0.100000000000000000"
        }
      },
      "plans": [],
      "providers": {
        "providers": [],
        "params": {
          "deposit": {
            "denom": "udvpn",
            "amount": "1000"
          },
          "staking_share": "0.100000000000000000"
        }
      },
      "sessions": {
        "sessions": [],
        "params": {
          "status_change_delay": "60s",
          "proof_verification_enabled": false
        }
      },
      "subscriptions": {
        "subscriptions": [],
        "params": {
          "status_change_delay": "120s"
       }
      }
    },
    "wasm": {
      "params": {
        "code_upload_access": {
          "permission": "Everybody",
          "address": "",
          "addresses": []
        },
        "instantiate_default_permission": "Everybody"
      },
      "codes": [],
      "contracts": [],
      "sequences": []
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant