fabianfett / swift-aws-lambda-api-hello-world

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Step 3 HTTP/1.1 405 Method Not Allowed

ktorimaru opened this issue · comments

I'm not getting a 404 instead I'm getting a 405.

XCode is returning:
Fatal error: bind(descriptor:ptr:bytes:): Address already in use (errno: 48): file AWSLambdaRuntimeCore/Lambda.swift, line 41
2021-05-06 07:59:41.535287-0700 HelloWorld[29972:9299116] Fatal error: bind(descriptor:ptr:bytes:): Address already in use (errno: 48): file AWSLambdaRuntimeCore/Lambda.swift, line 41

Any suggestions? I'm going to look for a running process.

Found the process and killed it. Now Xcode runs, but I still get 405.

But if I run with the JSON it works! So, thank you and sorry to be a bother.