-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Hi, I'm testing some functions in OpenFaaS. When I try the youtube-dl function, I get the following error:
user@server:~$ kubectl port-forward -n openfaas svc/gateway 8080:8080 &
[...]
user@server:~$ curl http://127.0.0.1:8080/function/youtube-dl
exit status 2
yt-dlp: Failed to open /proc/self/exe: Permission deniedThis is the output of faas-cli version and faas-cli describe youtube-dl:
user@server:~$ faas-cli version
___ _____ ____
/ _ \ _ __ ___ _ __ | ___|_ _ __ _/ ___|
| | | | '_ \ / _ \ '_ \| |_ / _` |/ _` \___ \
| |_| | |_) | __/ | | | _| (_| | (_| |___) |
\___/| .__/ \___|_| |_|_| \__,_|\__,_|____/
|_|
CLI:
commit: 6e28e119479ccda2671e6235404460a0abe7cdb8
version: 0.18.0
Gateway
uri: http://127.0.0.1:8080
version: 0.27.13
sha: 7926181684e5fed8b915d035fe652232d708463d
Provider
name: faas-netes-ce
orchestration: kubernetes
version: 0.18.16
sha: cac64e04f91db67b75d055d3ee4d286b303575db
user@server:~$ faas-cli describe youtube-dl
Handling connection for 8080
Name: youtube-dl
Status: Ready
Replicas: 1
Available Replicas: 1
Invocations: 4
Image: ghcr.io/openfaas/youtube-dl:latest
Function Process: <default>
URL: http://127.0.0.1:8080/function/youtube-dl
Async URL: http://127.0.0.1:8080/async-function/youtube-dl
Labels:
faas_function: youtube-dl
com.openfaas.ui.ext: mp4
Annotations:
prometheus.io.scrape: falseI suspect the issue is inside the function itself, rather than with OpenFaaS Gateway or the request.
Metadata
Metadata
Assignees
Labels
No labels