SemkoDev / field.cli

WE HAVE MOVED TO A NEW REPOSITORY
https://gitlab.com/semkodev/field.cli
ISC License
34 stars 7 forks source link

Error 429 "ip flagged for 5 minutes due to misbehaviour #1" #8

Closed one-three-three-seven closed 6 years ago

one-three-three-seven commented 6 years ago

Without any recognizable reason my IP got flagged "due to misbehaviour # 1".

Other users do also have the problem.

Logfile: field.error.log

VvanGemert commented 6 years ago

Got the same. Trying field.cli with IRI 1.4.2.1 and Nelson 0.4.0.

0xDEADBEEF-td commented 6 years ago

Same issue. Running 3 different IRI 1.4.2.1 + Nelson 0.4.0 nodes with different external DNS names behind same external IP on different ports.

field.cli version 0.1.3

Log entry snippet: Field update error to field.carriota.com: 429 null { error: 'ip flagged for 5 minutes due to misbehaviour #1' }

This appears to exhibit behavior of rate limiting from a single IP

romansemko commented 6 years ago

Can you confirm that your port 21310 is open?

one-three-three-seven commented 6 years ago

21310/tcp open

The error seems to happen more often, when you run multiple Field clients with the same ip.

Error 429 --> "Too Many Requests"

VvanGemert commented 6 years ago

Sorry my bad. I've opened the UDP port instead of TCP, while copying iptable lines. It's working now for me.

romansemko commented 6 years ago

There are only two cases, when the node would be flagged:

  1. Ping-back to source.ip:21310 failed. The port is probably closed or firewalled.
  2. Several nodes with different machine-ids are running on same source-ip

Both are to prevent different nodes running on same IP or flooding the server with false data.

romansemko commented 6 years ago

@0xDEADBEEF-td your problem seems related to the fact, that you run multiple nodes behind same IP. This is not supported.

romansemko commented 6 years ago

Closing as the explanation seems to affect most of the reported behaviour. Please open a new ticket, if the problem should persist.