Skip to content

fn invoke with java fdk helloworld gives 502 error  #392

@sachin-pikle

Description

@sachin-pikle

I tried running a HelloWorld java using triggers and fn invoke... and I get a 502 in invoke.

fn init --runtime java --trigger http sac-java-t-fn

FN_REGISTRY=demouser fn -v deploy --app db-app --local --no-bump

curl http://localhost:8080/t/db-app/sac-java-t-fn-trigger

Curl works but I get a 502 error for Java helloworld fn invoke below:

fn invoke db-app sac-java-t-fn
{"message":"container exit code 2"}

Fn: Error calling function: status 502

See 'fn --help' for more information. Client version: 0.4.150

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions