4

Whenever I submit a transaction I get a timeout error (after 60 secs). The server is a docker quickstart image in standalone mode. To solve the issue I am have to run the image with -e LOG_LEVEL="debug". In this case I get the reply in a few seconds as expected.

My question is how can I fix this issue without using LEVEL="debug" which I cannot use in production?

Configuration that has the problem:

docker run -d --rm -it -p "8000:8000" -v "/dev_data:/opt/stellar" --name stellar_dev stellar/quickstart --standalone

Configuration that solves the problem:

docker run -d --rm -it -e LOG_LEVEL="debug" -p "8000:8000" -v "/dev_data:/opt/stellar" --name stellar_dev stellar/quickstart --standalone
4
  • Could you confirm the version of your Horizon? It is reported that Horizon v0.15.4 could ease quite much of this issue.
    – cesarm
    Jan 24, 2019 at 6:10
  • @cesarm horizon_version: v0.14.1, core_version: v10.0.0 Jan 24, 2019 at 7:39
  • as the update on fixing the acclaimed issue is made at v0.15.4, you may consider making an upgrade to see any improvement...
    – cesarm
    Jan 24, 2019 at 7:40
  • 1
    @cesarm it works like a charm! the problem disappeared after upgrading to v0.15.4 Jan 24, 2019 at 8:14

1 Answer 1

0

I am digging on this problem and I got some conclusion. log_level='debug' isn't solution about this. The key is horizon was restarted. I don't know the exact problem.

If you want to make timeout situation, you restart horizon, PostgreSQL, stellar-core sequentially in supervisorctl.

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.