-
Notifications
You must be signed in to change notification settings - Fork 19
http error, when i use serverless deploy #10
Comments
I'm also facing the same issue. running on GKE along with ambassador |
Still facing the issue. Any pointers..? |
Same here :( How can I debug/resolve this? |
Hi, i'm having the same issue. I installed knative-serving and eventing, using Kourier as networking layer, local kubernetes (v 1.21.2) following the quick start tutorial. On the function deploy i get
i tried adding a console log right before the error and i can see that the request failing is a PATCH returning
Do you have any suggestion on what could be the problem? |
Same here, on a fresh Docker-Desktop installation. I also get an unrecognized provider warning, not sure that's related at all? $ sls deploy
Serverless: Configuration warning: Unrecognized provider 'knative'
Serverless:
Serverless: You're relying on provider plugin which doesn't provide a validation schema for its config.
Serverless: Please report the issue at its bug tracker linking: https://www.serverless.com/framework/docs/providers/aws/guide/plugins#extending-validation-schema
Serverless: You may turn off this message with "configValidationMode: off" setting
Serverless:
Serverless: Packaging service...
Serverless: Excluding development dependencies...
Serverless: Building Docker image "batjko/knative-svc1-hello:1627334320821"...
Serverless: Pushing "batjko/knative-svc1-hello:1627334320821" to Container Registry...
Serverless: Deploying Kubernetes namespace "sls-knative-svc1-dev"...
Serverless: Deploying Knative service for function "knative-svc1-hello"...
Http Error ----------------------------------------------
HttpError: HTTP request failed
at Request._callback (/mnt/d/dev/knative-svc1/node_modules/@kubernetes/client-node/dist/gen/api/customObjectsApi.js:1626:40)
at Request.self.callback (/mnt/d/dev/knative-svc1/node_modules/request/request.js:185:22)
[...] Serverless docs for Knative don't mention anything about setting up any networking etc, so not sure what's needed here. |
Same on my side. Can we please traction on this. We truly wanted to use serverless knative for various projects and teams at my company. This issue is blocking it completely. ➜ my-service git:(master) ✗ serverless deploy Http Error ---------------------------------------------- HttpError: HTTP request failed Get Support -------------------------------------------- Your Environment Information --------------------------- |
Are you all testing this with a local kubernetes setup? |
Indeed. In my case the Kubernetes cluster Docker Desktop gives you. |
Same for me ... I'm working with a cluster in EKS ... |
Same, also using EKS |
Hi @medikoo would you be kind enough to help with this year long issue. I hope you might have some expert suggestion for the community here for a greater good.
|
@ksingh7 thanks for pinging, still unfortunately at this point we (Serverless Inc.) do not have the resources to handle this plugin. We will be happy to provide maintenance rights to anyone familiar with knative, who will be willing to push this project forward |
Thanks, @medikoo for clarifying the situation on this. |
@zhaogaiwen you may want to remove your docker-hub credentials from this post.... |
I have fixed the problem env: three modify |
Refer to my comment |
|
Refer to me |
this is my serverless.yml
service: my-knative-java
provider:
name: knative
docker:
username: zhaogaiwen
password: zhao19901013
functions:
hello:
handler: hello-world.dockerfile
context: ./code
plugins:
serverless-knative
this is the exception:
Serverless: Deploying Kubernetes namespace "sls-aws-java-maven-dev"...
Serverless: Deploying Knative service for function "aws-java-maven-hello"...
Http Error ---------------------------------------------
HttpError: HTTP request failed
at Request.localVarRequest [as _callback] (/home/ec2-user/zgw/aws-java-maven/node_modules/@kubernetes/client-node/dist/gen/api/customObjectsApi.js:254:40)
at Request.self.callback (/home/ec2-user/zgw/aws-java-maven/node_modules/request/request.js:185:22)
at Request.emit (events.js:198:13)
at Request.EventEmitter.emit (domain.js:448:20)
at Request. (/home/ec2-user/zgw/aws-java-maven/node_modules/request/request.js:1154:10)
at Request.emit (events.js:198:13)
at Request.EventEmitter.emit (domain.js:448:20)
at IncomingMessage. (/home/ec2-user/zgw/aws-java-maven/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:286:20)
at IncomingMessage.emit (events.js:203:15)
at IncomingMessage.EventEmitter.emit (domain.js:448:20)
at endReadableNT (_stream_readable.js:1145:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
The text was updated successfully, but these errors were encountered: