Jump to content

jquery

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by jquery

  1. On 3/5/2024 at 8:02 PM, Aaldorabi said:

    ```Config { network: Bitcoin, db_path: "./db/bitcoin", daemon_dir: "/data/.bitcoin", daemon_auth: CookieFile("/data/.bitcoin/.cookie"), daemon_rpc_addr: V4(192.168.1.1:8332), daemon_p2p_addr: V4(127.0.0.1:8333), electrum_rpc_addr: V4(0.0.0.0:50001), monitoring_addr: V4(127.0.0.1:4224), wait_duration: 10s, jsonrpc_timeout: 15s, index_batch_size: 10, index_lookup_limit: Some(200), auto_reindex: true, ignore_mempool: false, sync_once: false, server_banner: "Welcome to electrs 0.9.0 (Electrum Rust Server)!", args: [] }
    [2024-03-05T18:36:02.061Z INFO  electrs::metrics::metrics_impl] serving Prometheus metrics on 127.0.0.1:4224
    [2024-03-05T18:36:02.062Z DEBUG tiny_http] Server listening on 127.0.0.1:4224
    Error: failed to open DB: ./db/bitcoin

    Caused by:
        Failed to create RocksDB directory: `Os { code: 13, kind: PermissionDenied, message: "Permission denied" }`.
    [2024-03-05T18:36:02.063Z DEBUG tiny_http] Running accept thread```

     

    I keep getting this error in my unraid logs for electrs, im trying to set it up for Bitcoind for wallet

    this error seems to be caused by the fact that the ./db/bitcoin directory can't be created. I solved that by manually creating the directory inside the electrs folder. After that electrs could't access the auth-cookie in the bitcoin-node directory, because the permissions were jumbled. I fixed that by changing the permissions. annoyingly, the permissions are reset every time I restart the bitcoin docker.  But even after all that electrs can't connect to the RPC service of bitcoind. No matter what I try, I get a "connection refused" error. I am at my wits end. And since there does not seem to be any kind of support here, I am ready to give up.

     

    edit: I solved the last bit: The problem was, that the bitcoin RPC service is only listening on localhost by default. I couldn't figure out how to change that, unfortunately, because I couldn't figure out how to pass "-rpcallowip" when the docker starts. Instead, I changed the network to "host" in the settings of the bitcoin docker and the electrs docker. Now they are listening on the same IP and the localhost connection works. Now I only need to find a way to automatically change the permissions on the .cookie file each time the bitcoin docker restarts.#

     

    Finally, I am not sure, if its a good idea to run v0.9 of electrs when 0.10.4 is already out.

  2. On 1/25/2024 at 9:59 PM, T-Birth said:

    I don't know why but I tried nearly every suggestion from this thread and from the Tailscale website to improve the performance but connecting/opening files from my Unraid Tailscale SMB Shares via IOS Tailscale, is just painfully slow.

     

    Does anybody has a hint or a tip ?

    did you try forwarding the port 41641 (UDP) to your unraid server? its important that your tailscale devices connect directly and not via relay (DERP) servers. Using the relay servers is the most likely reason for slow performance: https://tailscale.com/kb/1257/connection-types

  3. 15 hours ago, EDACerton said:

    I'll have to look into this to see how the plugin can accommodate that configuration. I don't have time right this moment but will check soon.

    I understand! Thanks for all your work! 
     

    the reason I need this functionality is because I have multiple tailscale clients that I want to forward ports to, so that they can all accept direct connections.

  4. On 12/23/2023 at 9:36 PM, jquery said:

    I want to change the port that tailscale listens on for incoming connections. where/how can I do that so that it stays persistent?

     

    Specifically, I want to change the default port 41641 to something else.

    Still haven’t found a solution. The official guide points me to a file that doesn’t exist in the path that the guide specifies. It should be here:

     

    /etc/defaults/tailscaled

     

    where does the plugin place this file?
     

     

  5. I want to change the port that tailscale listens on for incoming connections. where/how can I do that so that it stays persistent?

     

    Specifically, I want to change the default port 41641 to something else.

  6. I have the tailscale plugin up and running and it works for the most part, but i can‘t access any IPs on the br0 interface.
     

    I have a bunch of docker containers on the br0 interface. Accessing their IPs doesn’t work. I have already advertised the subnet and enabled it in the tailscale management interface.

     

    I can access all VMs running on unraid and even the web interface of my router in my LAN. Only the IPs on the br0 interface don’t work.

     

    any ideas?

     

    update: I solved it myself by enabling "Host access to custom networks" in the docker settings in unraid. Is this a "dangerous" setting? The help text says that I should know what I am doing before enabling it. In which context could this setting be problematic? 

    tailscale-diag-20231217-012807.zip

×
×
  • Create New...