Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"unexpected end of JSON input" error #2

Open
hurner opened this issue Oct 25, 2019 · 1 comment
Open

"unexpected end of JSON input" error #2

hurner opened this issue Oct 25, 2019 · 1 comment

Comments

@hurner
Copy link

hurner commented Oct 25, 2019

您好,我在运行的时候svc一直建立不成功,日志出现下面的错误,遇见过类似的问题吗
{"level":"info","ts":1571977894.195557,"logger":"controller_appservice","msg":"Reconciling AppService","Request.Namespace":"default","Request.Name":"nginx-app"}
{"level":"error","ts":1571977894.195657,"logger":"kubebuilder.controller","msg":"Reconciler error","controller":"appservice-controller","request":"default/nginx-app","error":"unexpected end of JSON input","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/Users/tim/Go/src/github.com/cnych/opdemo/vendor/github.com/go-logr/zapr/zapr.go:128\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/Users/tim/Go/src/github.com/cnych/opdemo/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:217\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/Users/tim/Go/src/github.com/cnych/opdemo/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:158\nk8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/Users/tim/Go/src/github.com/cnych/opdemo/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/Users/tim/Go/src/github.com/cnych/opdemo/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134\nk8s.io/apimachinery/pkg/util/wait.Until\n\t/Users/tim/Go/src/github.com/cnych/opdemo/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88"}

环境如下,
image

@zehuaiWANG
Copy link
Contributor

我也遇到了 oldspec := &appv1.AppServiceSpec{} 那哥们写错了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants