question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Countless retries and log spam for misconfigure port.

See original GitHub issue

I misconfigured the apm server url by accident serverUrl: 'https://localhost:82000'. This lead to countless retries of sending data to the APM Server, see logs:

logging error 6a9ff729-cec0-45d5-bc5e-a57e27f2a25d with Elastic APM
logging error 54c4eb0f-5a98-4b41-b07e-5b4f60a2ba5f with Elastic APM
logging error 8cbe19af-37fb-468b-b9bf-8070b5531ca4 with Elastic APM
logging error f9d805e8-488f-4a41-b4f6-20154d8101fe with Elastic APM
logging error 53df0b4b-2cd0-419c-8af4-27be7f36d716 with Elastic APM
logging error 80fd91b6-c09f-48cb-8787-b8ac0d1d1775 with Elastic APM
logging error c9858407-17a3-4968-8cce-297e0bd31f3d with Elastic APM
logging error b3a69e7b-8eec-4580-a219-e72eb4e5b637 with Elastic APM
logging error 6935b29d-9629-4dc2-8b62-9954e6559693 with Elastic APM
logging error 6e31e7cb-4a2d-44e1-bb1c-279bef550de5 with Elastic APM
logging error cf647462-65e1-48e3-a3c4-15a3779bce6f with Elastic APM
logging error 79e1590c-bdad-4c41-b97e-ccc43189bdbb with Elastic APM
...

When I just misconfigure to another wrong port, e.g. 8201 I get a proper Connection Refused error.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:27 (20 by maintainers)

github_iconTop GitHub Comments

1reaction
vigneshshanmugamcommented, Jan 2, 2019

@codebrain Oops yeah sorry for the spam… updated my comment 😃

1reaction
watsoncommented, Dec 12, 2018

@coolboi567 Thanks for clarifying. It sounds like a slightly different but related issue. But the good news is that it will also be fixed by elastic/apm-nodejs-http-client#17.

Regarding redirecting the log output: By default the agent will log to stdout/stderr. But you can supply a custom logger using the logger config option. That will allow you to redirect the output to a specific file.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HAProxy version 1.8.30 - Configuration Manual - GitHub Pages
Simple configuration for an HTTP proxy listening on port 80 on all # interfaces ... no timeout, no retry nor redispatch, will not...
Read more >
Prevent Active Directory password attacks - ManageEngine
SPAM. Possible aftermaths of a password breach. Two major AD misconfigurations. Attacks that exploit weak passwords. Execute a ransomware. $ attack.
Read more >
Release Notes — Airflow Documentation
Retry on Airflow Schedule DAG Run DB Deadlock (#26347) ... Stop Log Spamming when [core] lazy_load_plugins is False (#13578). Display message and docs...
Read more >
FAQ - Frequently Asked Questions - Surgemail
Check your webmail.ini file, surgemail/web_work/surgehost.ini and surgemail.ini for possible misconfiguration of individual domains. Where can I download / get ...
Read more >
History of Issues Resolved in eDirectory 8.8.x - Support
LDAP search on dynamic groups goes into an endless loop (Bug 927868) ... NDSD.log shows Listener port 389 / 636 is already in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found