Comments (13)
@style95 Could you please give me some guidance?
from openwhisk.
It seems you are using the API gateway, could you check again without the API gateway first?
from openwhisk.
It seems you are using the API gateway, could you check again without the API gateway first?
from openwhisk.
You are supposed to be able to invoke the action with wsk
.
I think that's the starting point to look into.
from openwhisk.
You are supposed to be able to invoke the action with
wsk
. I think that's the starting point to look into.
I'm sure that my gateway can correctly ensure that the end-to-end response is greater than 60 seconds. I have also explicitly configured the controller. I can't seem to find any more places where I need to configure the timeout. Can you give me some suggestions?
from openwhisk.
wsk does work, but only the information recorded by the activation can be viewed. We prefer to complete our services directly through the gateway HTTP request.
from openwhisk.
from openwhisk.
It seems that I should also pay attention to apigateway:
from openwhisk.
At the same time, how should I correctly configure the execution time limit? What I wrote in value.yaml is 500 minutes, but when I use wsk to set the upper limit of execution time of 500 minutes, the invoker log prints 600s?
from openwhisk.
I am currently studying the source code of openwhisk in depth, and I hope to make some solid changes.
from openwhisk.
@QWQyyy
First, IIRC, the timeout of the Kubernetes client in the above log is related to the pod creation.
It's not related to the execution of an activation.
The action timeout controls the execution timeout against the pod(container).
I think you need to ensure you can invoke your action successfully with the wsk action invoke
command.
If you can successfully invoke your action without the API gateway, then the culprit is the API gateway.
If your action is invoked well but it is changed to the asynchronous(get 202 response) at some point, it's related to the controller configuration. If you can't even invoke your activation in the asynchronous mode as well, you may not configure the action timeout properly.
from openwhisk.
@QWQyyy First, IIRC, the timeout of the Kubernetes client in the above log is related to the pod creation. It's not related to the execution of an activation. The action timeout controls the execution timeout against the pod(container).
I think you need to ensure you can invoke your action successfully with the
wsk action invoke
command. If you can successfully invoke your action without the API gateway, then the culprit is the API gateway. If your action is invoked well but it is changed to the asynchronous(get 202 response) at some point, it's related to the controller configuration. If you can't even invoke your activation in the asynchronous mode as well, you may not configure the action timeout properly.
Okay let's try it!
from openwhisk.
@QWQyyy First, IIRC, the timeout of the Kubernetes client in the above log is related to the pod creation. It's not related to the execution of an activation. The action timeout controls the execution timeout against the pod(container).
I think you need to ensure you can invoke your action successfully with the
wsk action invoke
command. If you can successfully invoke your action without the API gateway, then the culprit is the API gateway. If your action is invoked well but it is changed to the asynchronous(get 202 response) at some point, it's related to the controller configuration. If you can't even invoke your activation in the asynchronous mode as well, you may not configure the action timeout properly.
It is true that I can successfully access my functions using wsk, but it is only limited to functions within 60 seconds. For functions that take longer to execute, the wsk client also returns an Oops--504 error, but I found through the resource manager htop that the function code is still During execution, after the function is executed, you can see from wsk activation
that the function ends correctly. This confuses me.
from openwhisk.
Related Issues (20)
- The openwhisk is incompatible with java version higher than 16
- Web function 400 Bad Request HOT 1
- Package-installer-pod not-completed on Minikube
- The connection failed, or timed out. (HTTP status code 500) and There was an internal server error.
- Ubuntu 22.04 Serve Install issue HOT 1
- Local ansible deployment API gateway error 502
- Setting the number of containers created per action
- Standalone Openwhisk error: Key not found 'etcd' HOT 11
- deploy failed when run ansible-playbook using openwhisk.yml HOT 8
- Question: How to create an action using a custom Ubuntu docker image HOT 5
- Feat: Using pekko instead of akka HOT 3
- Python:3 virtualenv load failing probably HOT 2
- Webaction runs twice within one activation, and reported as failure when it did not actually fail HOT 2
- Apahce openwhisk many pods has completed, Init, crashLoopbackoff error
- can't start standalone on apple m2 HOT 1
- Latest Scheduler image on dockerhub does not run in k8s HOT 4
- Scheduler "stops" after a while HOT 1
- upgrade to latest netty 4 release due to CVEs
- upgrade Akka jars to ease transition to Pekko HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openwhisk.