apache / apache/openwhisk

Questions about the duration of function calls limited by the nginx gateway

Open
#5,429 18 comments 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
6.8k
Forks
1.2k
Avg merge
2d 14h
Merged PRs (30d)
2

Description

How to overcome the call duration limit of nginx gateway? Or which piece of source code has the limitation shown in the figure below, maybe I need to modify the source code and republish it.

https://192.168.1.22:31001/api/23bc46b1-71f6-4ed5-8c54-816aa4f8c502/resnet18-CIF-1
(wsk) root@work1:~/good/day0708_wsk_mL/func/resnet18/CIFAR10/dataset# curl -X POST http://192.168.1.22:31005/api/23bc46b1-71f6-4ed5-8c54-816aa4f8c502/resnet18-CIF-1

504 Gateway Time-out

504 Gateway Time-out



nginx/1.21.1

![image](https://github.com/apache/openwhisk/assets/54056797/e121a566-d3ab-4a14-8107-38c105e47a04)

Meanwhile, how to contribute code to openwhisk?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the POST request to the OpenWhisk API endpoint and inspect the nginx gateway configuration associated with the 504 response. The issue names no source files or tests; done would require identifying the active duration limit, explaining whether it is configurable, and documenting the relevant contribution path.

Written by the indexing model from the issue text.

Assessment

Tech stack
nginx
Domain
api, cloud
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.