SemkoDev / field.cli

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

Repetitive API requests; field responsible? #40

Open gjeee opened 6 years ago

gjeee commented 6 years ago

I have the feeling that FIELD sends a lot of times repetitive API requests (when it fails). I am not sure whether FIELD is responsible for this.

E.g. below you see a request (which fails due to an old reference passed) which is repeated like 8 times

Jun 22 17:22:05 xxx java[27042]: 06/22 17:22:05.463 [XNIO-1 task-20] ERROR com.iota.iri.service.API - API Exception: reference transaction is too old Jun 22 17:22:05 xxx java[27042]: 06/22 17:22:05.463 [XNIO-1 task-20] ERROR com.iota.iri.service.API - requestString: {"command":"getTransactionsToApprove","depth":3,"reference":"HG9W9TGRZRIDHYFMHSLQAAVTS9GLGHBDCEUZWSOPUMLRWB9UNATPRBQWFWPQTREJBJJT9VOERNCJ99999"} Jun 22 17:22:06 xxx java[27042]: 06/22 17:22:06.906 [XNIO-1 task-25] ERROR com.iota.iri.service.API - API Exception: reference transaction is too old Jun 22 17:22:06 xxx java[27042]: 06/22 17:22:06.906 [XNIO-1 task-25] ERROR com.iota.iri.service.API - requestString: {"command":"getTransactionsToApprove","depth":3,"reference":"HG9W9TGRZRIDHYFMHSLQAAVTS9GLGHBDCEUZWSOPUMLRWB9UNATPRBQWFWPQTREJBJJT9VOERNCJ99999"} Jun 22 17:22:09 xxx java[27042]: 06/22 17:22:09.728 [XNIO-1 task-24] ERROR com.iota.iri.service.API - API Exception: reference transaction is too old Jun 22 17:22:09 xxx java[27042]: 06/22 17:22:09.728 [XNIO-1 task-24] ERROR com.iota.iri.service.API - requestString: {"command":"getTransactionsToApprove","depth":3,"reference":"HG9W9TGRZRIDHYFMHSLQAAVTS9GLGHBDCEUZWSOPUMLRWB9UNATPRBQWFWPQTREJBJJT9VOERNCJ99999"} Jun 22 17:22:12 xxx java[27042]: 06/22 17:22:12.761 [XNIO-1 task-26] ERROR com.iota.iri.service.API - API Exception: reference transaction is too old Jun 22 17:22:12 xxx java[27042]: 06/22 17:22:12.761 [XNIO-1 task-26] ERROR com.iota.iri.service.API - requestString: {"command":"getTransactionsToApprove","depth":3,"reference":"HG9W9TGRZRIDHYFMHSLQAAVTS9GLGHBDCEUZWSOPUMLRWB9UNATPRBQWFWPQTREJBJJT9VOERNCJ99999"} Jun 22 17:22:13 xxx java[27042]: 06/22 17:22:13.962 [XNIO-1 task-28] ERROR com.iota.iri.service.API - API Exception: reference transaction is too old Jun 22 17:22:13 xxx java[27042]: 06/22 17:22:13.962 [XNIO-1 task-28] ERROR com.iota.iri.service.API - requestString: {"command":"getTransactionsToApprove","depth":3,"reference":"HG9W9TGRZRIDHYFMHSLQAAVTS9GLGHBDCEUZWSOPUMLRWB9UNATPRBQWFWPQTREJBJJT9VOERNCJ99999"} Jun 22 17:22:15 xxx java[27042]: 06/22 17:22:15.446 [XNIO-1 task-27] ERROR com.iota.iri.service.API - API Exception: reference transaction is too old Jun 22 17:22:15 xxx java[27042]: 06/22 17:22:15.446 [XNIO-1 task-27] ERROR com.iota.iri.service.API - requestString: {"command":"getTransactionsToApprove","depth":3,"reference":"HG9W9TGRZRIDHYFMHSLQAAVTS9GLGHBDCEUZWSOPUMLRWB9UNATPRBQWFWPQTREJBJJT9VOERNCJ99999"} Jun 22 17:22:18 xxx java[27042]: 06/22 17:22:18.346 [XNIO-1 task-15] ERROR com.iota.iri.service.API - API Exception: reference transaction is too old Jun 22 17:22:18 xxx java[27042]: 06/22 17:22:18.346 [XNIO-1 task-15] ERROR com.iota.iri.service.API - requestString: {"command":"getTransactionsToApprove","depth":3,"reference":"HG9W9TGRZRIDHYFMHSLQAAVTS9GLGHBDCEUZWSOPUMLRWB9UNATPRBQWFWPQTREJBJJT9VOERNCJ99999"} Jun 22 17:22:20 xxx java[27042]: 06/22 17:22:20.764 [XNIO-1 task-12] ERROR com.iota.iri.service.API - API Exception: reference transaction is too old Jun 22 17:22:20 xxx java[27042]: 06/22 17:22:20.764 [XNIO-1 task-12] ERROR com.iota.iri.service.API - requestString: {"command":"getTransactionsToApprove","depth":3,"reference":"HG9W9TGRZRIDHYFMHSLQAAVTS9GLGHBDCEUZWSOPUMLRWB9UNATPRBQWFWPQTREJBJJT9VOERNCJ99999"}