Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

curl: (22) The requested URL returned error: 404 Not Found #1329

Closed
brantcolemanthis opened this issue Jul 24, 2020 · 3 comments
Closed

curl: (22) The requested URL returned error: 404 Not Found #1329

brantcolemanthis opened this issue Jul 24, 2020 · 3 comments
Labels

Comments

@brantcolemanthis
Copy link

Hi! I was needed to update falco in kubernetes cluster and i get error due to the url link to download prebuilt module is not found. How i can workaround/fix this issue? I deployed falco from yaml and tried several version include latest, 0.17.0, 0.24.0 and etc.
Log output

  • Setting up /usr/src links from host
  • Running falco-driver-loader with: driver=module, compile=yes, download=yes
  • Unloading falco module, if present
  • Trying to dkms install falco module
  • Running dkms build failed, couldn't find /var/lib/dkms/falco/85c88952b018fdbce2464222c3303229f5bfcfad/build/make.log
  • Trying to load a system falco driver, if present
  • Trying to find locally a prebuilt falco module for kernel 5.7.2-050702-generic, if present
  • Trying to download prebuilt module from https://dl.bintray.com/falcosecurity/driver/85c88952b018fdbce2464222c3303229f5bfcfad/falco_ubuntu-generic_5.7.2-050702-generic_202006101934.ko
    curl: (22) The requested URL returned error: 404 Not Found
    Download failed, consider compiling your own falco module and loading it or getting in touch with the Falco community
    Runtime error: error opening device /host/dev/falco0. Make sure you have root credentials and that the falco module is loaded.. Exiting.
@DannyPat44
Copy link

I am getting the same issue trying to deploy this to Minikube.
image

@DannyPat44
Copy link

Actually I fixed my issue by updating the version of mini-kube I was deploying to!

@brantcolemanthis
Copy link
Author

brantcolemanthis commented Jul 29, 2020

I resolved this problem by compiling prebuilt falco module my own as described here (https://falco.org/docs/source/), uploaded it to registry, and have set DRIVERS_REPO env to valid url of *.ko. Then it's works.

falco_for_kubernetes$ kubectl logs falco-daemonset-xxxxx falco
* Setting up /usr/src links from host
* Running falco-driver-loader with: driver=module, compile=yes, download=yes
* Unloading falco module, if present
* Trying to dkms install falco module
* Running dkms build failed, couldn't find /var/lib/dkms/falco/85c88952b018fdbce2464222c3303229f5bfcfad/build/make.log
* Trying to load a system falco driver, if present
* Trying to find locally a prebuilt falco module for kernel 5.7.2-050702-generic, if present
* Trying to download prebuilt module from https://my-registry/drivers/85c88952b018fdbce2464222c3303229f5bfcfad/falco_ubuntu-generic_5.7.2-050702-generic_202006101934.ko
* Download succeeded
* Success: falco module loaded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants