Skip to content
Discussion options

You must be logged in to vote

Hi @maxekspb! Thanks for the detailed report! it helped us track down several real bugs. All fixes are now in the latest release.

What was fixed

  1. cc-agent showing "404 - Not Found"

This was a bug in the download script. curl was called without the -f (fail) flag, so when the download URL returned HTTP 404, curl saved the error page body ("404 - Not Found") as the binary file. The file was non-empty, passed the size check, got chmod +x, and the service tried to run a text file as a binary.

Fix: Added -f flag to curl (exits with error on HTTP failures), added ELF binary validation after download, and cleaned up the fallback logic.

  1. Backend crash loop after reboot (getaddrinfo EAI_AGAIN mongo)

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@maxekspb
Comment options

@maxekspb
Comment options

@maxekspb
Comment options

@ClickDevTech
Comment options

Answer selected by maxekspb
@maxekspb
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants