DanieleSalatti / DAppNodePackage-optimism

Optimism on DAppNode
18 stars 8 forks source link

DAppNode Package unreachable (connection refused) #2

Open GLCNI opened 1 year ago

GLCNI commented 1 year ago

ERROR: DAppNode Package stopped or unreachable (connection refused) On the Dashboard image

OP Package running, about +200GB db, logs appear to be fine and is connected to L1 Geth node http://geth.dappnode:8545 image

Cannot connect to endpoint using Metamask,
image

I've exposed the URL under system/network/HTTPs Portal > expose Optimism The port 9991(default) is also port forwarded in router settings

DanieleSalatti commented 1 year ago

Hey @GLCNI

The node defaults to running as an archive node (I'm switching it to a normal full node in the next release), and that takes ~2.79 TB as of now. You said you have 200+ GB, so you still have a long way to go.

If you want to have a full node, you can:

  1. Pause the node
  2. Delete the volumes
  3. Go into the Config tab and switch GCMODE to full
  4. Restart the package

Let me know if this helps!

GLCNI commented 1 year ago

Thanks, I have changed the default settings as suggested and appears to be running as non-archival now, this has fixed the DappNode dashboard problem image

However I am still having problems connecting to the endpoint, via metamask

Metamask- err2

Issue here: https://github.com/dappnode/DAppNode/issues/554

DanieleSalatti commented 1 year ago

The RPC URL should look like:

https://optimism.{redacted}.dyndns.dappnode.io

With no port specified. The {redacted} bit is the part you blanked out in your screenshot.

Let me know if that works :)

GLCNI commented 1 year ago

Hi, still the same issue with using the URL as you provided

port 9991 is forwarded too