apache / apache/openwhisk-wskdeploy

Client Timeout Error.

Open
#1,159 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
75
Forks
73
PR merge metrics
No merged PRs in 30d

Description

I use Openwhist for my Thesis, and i try to make a call `wskdeploy -m manifest.yaml ` and i take a timeout error. First it is ok to take this error because i'm trying to pass a large .zip file and it is +50Mb which is the default max_body_size of Nginx tha run inside of openwhisk. I change that and then i take a timeout error and after i look the code of wskdeploy i see that in utils/misc.go in line 33 :
`DEFAULT_HTTP_TIMEOUT = 60` the error that i take is from here?

[ERROR_WHISK_CLIENT_ERROR]: Error code: 3
Client.Timeout exceeded while awaiting headers

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the timeout with `wskdeploy -m manifest.yaml` and a ZIP larger than 50 MB. Read `utils/misc.go` at line 33 and trace how `DEFAULT_HTTP_TIMEOUT` reaches the client; done means confirming whether that setting causes the error and documenting or implementing the agreed change.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.