# Host addr 0.0.0.0 causes ErrorPolicySuspendConsumer, Application Exception

**URL:** <https://forum.cardano.org/t/host-addr-0-0-0-0-causes-errorpolicysuspendconsumer-application-exception/44987>\
**Category:** Operate a Stake Pool\
**Created:** [18 January 2021 20:21 UTC](https://forum.cardano.org/t/host-addr-0-0-0-0-causes-errorpolicysuspendconsumer-application-exception/44987 "2021-01-18T20:21:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![devcap](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/devcap/32/2088_2.png) [@devcap](https://forum.cardano.org/u/devcap)\
**Post date:** [18 January 2021 20:21 UTC](https://forum.cardano.org/t/host-addr-0-0-0-0-causes-errorpolicysuspendconsumer-application-exception/44987/1 "2021-01-18T20:21:02Z")

</div>

Using my external IP did not work (“cannot assign requested address”), so I found suggestions to use 0.0.0.0 or 127.0.0.1

### How to Reproduce

GCP compute engine

- medium 2Core 4GB Ram 10GB disk
- allow HTTP and HTTPS
- stake pool course instructions for build from source

```auto
cardano-node run \
 --topology testnet-topology.json \
 --database-path db \
 --socket-path db/node.socket \
 --host-addr 0.0.0.0 \
 --port 3001 \
 --config testnet-config.json

```

I get the following errors repeatedly:

- ErrorPolicySuspendConsumer
- ApplicationException
- ErrorPolicySuspendPeer

Then I run this from a different shell:

`cardano-cli shelley query tip --testnet-magic 1097911063`

and the output is:

```auto
WARNING: The "shelley" subcommand is now deprecated and will be removed in the future. Please use the top-level commands instead.
{
    "genesis": true
}

```

### Full Node Output

```auto
Listening on http://127.0.0.1:12798
[dev-1:cardano.node.networkMagic:Notice:5] [2021-01-18 20:15:26.72 UTC] NetworkMagic 1097911063
[dev-1:cardano.node.basicInfo.protocol:Notice:5] [2021-01-18 20:15:26.72 UTC] Shelley
[dev-1:cardano.node.basicInfo.version:Notice:5] [2021-01-18 20:15:26.72 UTC] 1.24.2
[dev-1:cardano.node.basicInfo.commit:Notice:5] [2021-01-18 20:15:26.72 UTC] 400d18092ce604352cf36fe5f105b0d7c78be074
[dev-1:cardano.node.basicInfo.nodeStartTime:Notice:5] [2021-01-18 20:15:26.72 UTC] 2021-01-18 20:15:26.724668896 UTC
[dev-1:cardano.node.basicInfo.systemStartTime:Notice:5] [2021-01-18 20:15:26.72 UTC] 2019-07-24 20:20:16 UTC
[dev-1:cardano.node.basicInfo.slotLengthShelley:Notice:5] [2021-01-18 20:15:26.72 UTC] 1s
[dev-1:cardano.node.basicInfo.epochLengthShelley:Notice:5] [2021-01-18 20:15:26.72 UTC] 432000
[dev-1:cardano.node.basicInfo.slotsPerKESPeriodShelley:Notice:5] [2021-01-18 20:15:26.72 UTC] 129600
[dev-1:cardano.node.addresses:Notice:5] [2021-01-18 20:15:26.75 UTC] [SocketInfo 0.0.0.0:3001]
[dev-1:cardano.node.diffusion-mode:Notice:5] [2021-01-18 20:15:26.75 UTC] InitiatorAndResponderDiffusionMode
[dev-1:cardano.node.dns-producers:Notice:5] [2021-01-18 20:15:26.75 UTC] [DnsSubscriptionTarget {dstDomain = "relays-new.cardano-testnet.iohkdev.io", dstPort =
 3001, dstValency = 2}]
[dev-1:cardano.node.ip-producers:Notice:5] [2021-01-18 20:15:26.75 UTC] IPSubscriptionTarget {ispIps = [], ispValency = 0}
[dev-1:cardano.node.ChainDB:Info:5] [2021-01-18 20:15:26.76 UTC] Opened imm db with immutable tip at genesis (origin) and chunk 0
[dev-1:cardano.node.ChainDB:Info:5] [2021-01-18 20:15:26.76 UTC] Opened vol db
[dev-1:cardano.node.ChainDB:Info:5] [2021-01-18 20:15:26.76 UTC] Replaying ledger from genesis
[dev-1:cardano.node.ChainDB:Info:5] [2021-01-18 20:15:26.76 UTC] Opened lgr db
[dev-1:cardano.node.ChainDB:Info:5] [2021-01-18 20:15:26.76 UTC] Opened db with immutable tip at genesis (origin) and tip genesis (origin)
[dev-1:cardano.node.DnsSubscription:Notice:58] [2021-01-18 20:15:26.78 UTC] [String "Connection Attempt Start, destination 13.250.156.57:3001",String "Subscrip
tionTrace",String "\"relays-new.cardano-testnet.iohkdev.io\""]
[dev-1:cardano.node.DnsSubscription:Notice:59] [2021-01-18 20:15:26.81 UTC] [String "Connection Attempt Start, destination 18.177.214.255:3001",String "Subscri
ptionTrace",String "\"relays-new.cardano-testnet.iohkdev.io\""]
[dev-1:cardano.node.DnsSubscription:Notice:60] [2021-01-18 20:15:26.84 UTC] [String "Connection Attempt Start, destination 18.132.238.21:3001",String "Subscrip
tionTrace",String "\"relays-new.cardano-testnet.iohkdev.io\""]
[dev-1:cardano.node.DnsSubscription:Notice:61] [2021-01-18 20:15:26.86 UTC] [String "Connection Attempt Start, destination 3.128.220.55:3001",String "Subscript
ionTrace",String "\"relays-new.cardano-testnet.iohkdev.io\""]
[dev-1:cardano.node.DnsSubscription:Notice:61] [2021-01-18 20:15:26.89 UTC] [String "Connection Attempt End, destination 3.128.220.55:3001 outcome: ConnectSucc
ess",String "SubscriptionTrace",String "\"relays-new.cardano-testnet.iohkdev.io\""]
[dev-1:cardano.node.DnsSubscription:Notice:62] [2021-01-18 20:15:26.89 UTC] [String "Connection Attempt Start, destination 3.9.80.183:3001",String "Subscriptio
nTrace",String "\"relays-new.cardano-testnet.iohkdev.io\""]
[dev-1:cardano.node.DnsSubscription:Notice:76] [2021-01-18 20:15:26.91 UTC] [String "Connection Attempt Start, destination 3.127.103.85:3001",String "Subscript
ionTrace",String "\"relays-new.cardano-testnet.iohkdev.io\""]
[dev-1:cardano.node.DnsSubscription:Notice:60] [2021-01-18 20:15:26.93 UTC] [String "Connection Attempt End, destination 18.132.238.21:3001 outcome: ConnectSuc
cessLast",String "SubscriptionTrace",String "\"relays-new.cardano-testnet.iohkdev.io\""]
[dev-1:cardano.node.ErrorPolicy:Notice:48] [2021-01-18 20:15:26.93 UTC] [String "ErrorPolicySuspendConsumer (Just (ConnectionExceptionTrace (SubscriberError {s
eType = SubscriberParallelConnectionCancelled, seMessage = \"Parallel connection cancelled\", seStack = []}))) 1s",String "ErrorPolicyTrace",String "13.250.156
.57:3001"]
[dev-1:cardano.node.ErrorPolicy:Notice:48] [2021-01-18 20:15:26.93 UTC] [String "ErrorPolicySuspendConsumer (Just (ConnectionExceptionTrace (SubscriberError {s
eType = SubscriberParallelConnectionCancelled, seMessage = \"Parallel connection cancelled\", seStack = []}))) 1s",String "ErrorPolicyTrace",String "18.177.214
.255:3001"]
[dev-1:cardano.node.ErrorPolicy:Notice:48] [2021-01-18 20:15:26.93 UTC] [String "ErrorPolicySuspendConsumer (Just (ConnectionExceptionTrace (SubscriberError {s
eType = SubscriberParallelConnectionCancelled, seMessage = \"Parallel connection cancelled\", seStack = []}))) 1s",String "ErrorPolicyTrace",String "3.9.80.183
:3001"]
[dev-1:cardano.node.ErrorPolicy:Notice:48] [2021-01-18 20:15:26.93 UTC] [String "ErrorPolicySuspendConsumer (Just (ConnectionExceptionTrace (SubscriberError {s
eType = SubscriberParallelConnectionCancelled, seMessage = \"Parallel connection cancelled\", seStack = []}))) 1s",String "ErrorPolicyTrace",String "3.127.103.
85:3001"]
[dev-1:cardano.node.DnsSubscription:Error:61] [2021-01-18 20:15:26.97 UTC] [String "Application Exception: 3.128.220.55:3001 DecoderFailure (ChainSync (Header 
(HardForkBlock (': * (ShelleyBlock (ShelleyEra StandardCrypto)) ('[] *)))) (Tip HardForkBlock (': * (ShelleyBlock (ShelleyEra StandardCrypto)) ('[] *)))) Serve
rAgency TokNext TokCanAwait) (DeserialiseFailure 88 \"expected list len or indef\")",String "SubscriptionTrace",String "\"relays-new.cardano-testnet.iohkdev.io
\""]
[dev-1:cardano.node.ErrorPolicy:Warning:48] [2021-01-18 20:15:26.97 UTC] [String "ErrorPolicySuspendPeer (Just (ApplicationExceptionTrace DecoderFailure (Chain
Sync (Header (HardForkBlock (': * (ShelleyBlock (ShelleyEra StandardCrypto)) ('[] *)))) (Tip HardForkBlock (': * (ShelleyBlock (ShelleyEra StandardCrypto)) ('[
] *)))) ServerAgency TokNext TokCanAwait) (DeserialiseFailure 88 \"expected list len or indef\"))) 200s 200s",String "ErrorPolicyTrace",String "3.128.220.55:30
01"]

```

### Questions

- anyone see this problem in AWS?
- should I try in AWS?
- any settings for my VM (compute engine) I could try tweaking?

---

<div class="post-metadata">

**Author:** ![devcap](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/devcap/32/2088_2.png) [@devcap](https://forum.cardano.org/u/devcap)\
**Post date:** [18 January 2021 20:56 UTC](https://forum.cardano.org/t/host-addr-0-0-0-0-causes-errorpolicysuspendconsumer-application-exception/44987/2 "2021-01-18T20:56:47Z")

</div>

FIXED by using ‘Cardano’ as the protocol instead of ‘TPraos’, per suggestion from:

> [@Problems with running node 1.20.0 on testnet](https://forum.cardano.org/t/problems-with-running-node-1-20-0-on-testnet/40625/3):
>
> Welcome @lespool and well spotted on that universal TPraos issue which is like an initiation experience for SPOs. Catching this error in the official documentation, even after 3 months, is still “left as an exercise for the reader” crazy_face

---

<div class="post-metadata">

**Author:** ![jnprogrammer](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/jnprogrammer/32/25692_2.png) [@jnprogrammer](https://forum.cardano.org/u/jnprogrammer)\
**Post date:** [22 September 2021 23:18 UTC](https://forum.cardano.org/t/host-addr-0-0-0-0-causes-errorpolicysuspendconsumer-application-exception/44987/3 "2021-09-22T23:18:32Z")

</div>

What do you mean by fixed? What did you actually do?
