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

dashboard silient error during calling non-existent tfjob #335

Closed
jimexist opened this issue Jan 19, 2018 · 0 comments · Fixed by #336
Closed

dashboard silient error during calling non-existent tfjob #335

jimexist opened this issue Jan 19, 2018 · 0 comments · Fixed by #336

Comments

@jimexist
Copy link
Member

jimexist commented Jan 19, 2018

I have local port-forwarding from 3000 to dashboard's 8080

λ ~/ http :3000/api/tfjob/jiayu-test-tf/tfjob

http: error: ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',)) while doing GET request to URL: http://localhost:3000/api/tfjob/jiayu-test-tf/tfjob
2018/01/19 10:54:13 http: panic serving 127.0.0.1:40316: tfjobs.tensorflow.org "tfjob" not found
goroutine 709 [running]:
net/http.(*conn).serve.func1(0xc4200c1900)
	/usr/local/go/src/net/http/server.go:1721 +0xd0
panic(0xfe5b40, 0xc42020aea0)
	/usr/local/go/src/runtime/panic.go:489 +0x2cf
github.com/tensorflow/k8s/dashboard/backend/handler.(*APIHandler).handleGetTfJobDetail(0xc4203be9c0, 0xc4203cbad0, 0xc4203913e0)
	/tmp/tfk8s.src.tmp.JWcwWu/go/src/github.com/tensorflow/k8s/dashboard/backend/handler/api_handler.go:108 +0x196
github.com/tensorflow/k8s/dashboard/backend/handler.(*APIHandler).(github.com/tensorflow/k8s/dashboard/backend/handler.handleGetTfJobDetail)-fm(0xc4203cbad0, 0xc4203913e0)
	/tmp/tfk8s.src.tmp.JWcwWu/go/src/github.com/tensorflow/k8s/dashboard/backend/handler/api_handler.go:68 +0x3e
github.com/tensorflow/k8s/vendor/github.com/emicklei/go-restful.(*Container).dispatch.func5(0xc4203cbad0, 0xc4203913e0)
	/tmp/tfk8s.src.tmp.JWcwWu/go/src/github.com/tensorflow/k8s/vendor/github.com/emicklei/go-restful/container.go:272 +0x3e
github.com/tensorflow/k8s/vendor/github.com/emicklei/go-restful.(*FilterChain).ProcessFilter(0xc4203cbb60, 0xc4203cbad0, 0xc4203913e0)
	/tmp/tfk8s.src.tmp.JWcwWu/go/src/github.com/tensorflow/k8s/vendor/github.com/emicklei/go-restful/filter.go:21 +0x95
github.com/tensorflow/k8s/vendor/github.com/emicklei/go-restful.(*Container).OPTIONSFilter(0xc42020ab40, 0xc4203cbad0, 0xc4203913e0, 0xc4203cbb60)
	/tmp/tfk8s.src.tmp.JWcwWu/go/src/github.com/tensorflow/k8s/vendor/github.com/emicklei/go-restful/options_filter.go:15 +0x6a
github.com/tensorflow/k8s/vendor/github.com/emicklei/go-restful.(*Container).OPTIONSFilter-fm(0xc4203cbad0, 0xc4203913e0, 0xc4203cbb60)
	/tmp/tfk8s.src.tmp.JWcwWu/go/src/github.com/tensorflow/k8s/dashboard/backend/handler/api_handler.go:53 +0x48
github.com/tensorflow/k8s/vendor/github.com/emicklei/go-restful.(*FilterChain).ProcessFilter(0xc4203cbb60, 0xc4203cbad0, 0xc4203913e0)
	/tmp/tfk8s.src.tmp.JWcwWu/go/src/github.com/tensorflow/k8s/vendor/github.com/emicklei/go-restful/filter.go:19 +0x68
github.com/tensorflow/k8s/vendor/github.com/emicklei/go-restful.CrossOriginResourceSharing.Filter(0xc4202bf3c0, 0x1, 0x1, 0xc4203be9e0, 0x2, 0x2, 0x0, 0x0, 0x0, 0xc4200dea20, ...)
	/tmp/tfk8s.src.tmp.JWcwWu/go/src/github.com/tensorflow/k8s/vendor/github.com/emicklei/go-restful/cors_filter.go:40 +0xb5
github.com/tensorflow/k8s/vendor/github.com/emicklei/go-restful.(CrossOriginResourceSharing).Filter-fm(0xc4203cbad0, 0xc4203913e0, 0xc4203cbb60)
	/tmp/tfk8s.src.tmp.JWcwWu/go/src/github.com/tensorflow/k8s/dashboard/backend/handler/api_handler.go:52 +0x7c
github.com/tensorflow/k8s/vendor/github.com/emicklei/go-restful.(*FilterChain).ProcessFilter(0xc4203cbb60, 0xc4203cbad0, 0xc4203913e0)
	/tmp/tfk8s.src.tmp.JWcwWu/go/src/github.com/tensorflow/k8s/vendor/github.com/emicklei/go-restful/filter.go:19 +0x68
github.com/tensorflow/k8s/vendor/github.com/emicklei/go-restful.(*Container).dispatch(0xc42020ab40, 0x179bec0, 0xc42057a2a0, 0xc42000bb00)
	/tmp/tfk8s.src.tmp.JWcwWu/go/src/github.com/tensorflow/k8s/vendor/github.com/emicklei/go-restful/container.go:274 +0x991
github.com/tensorflow/k8s/vendor/github.com/emicklei/go-restful.(*Container).(github.com/tensorflow/k8s/vendor/github.com/emicklei/go-restful.dispatch)-fm(0x179bec0, 0xc42057a2a0, 0xc42000bb00)
	/tmp/tfk8s.src.tmp.JWcwWu/go/src/github.com/tensorflow/k8s/vendor/github.com/emicklei/go-restful/container.go:120 +0x48
net/http.HandlerFunc.ServeHTTP(0xc4202e0380, 0x179bec0, 0xc42057a2a0, 0xc42000bb00)
	/usr/local/go/src/net/http/server.go:1942 +0x44
net/http.(*ServeMux).ServeHTTP(0xc4200de9f0, 0x179bec0, 0xc42057a2a0, 0xc42000bb00)
	/usr/local/go/src/net/http/server.go:2238 +0x130
github.com/tensorflow/k8s/vendor/github.com/emicklei/go-restful.(*Container).ServeHTTP(0xc42020ab40, 0x179bec0, 0xc42057a2a0, 0xc42000bb00)
	/tmp/tfk8s.src.tmp.JWcwWu/go/src/github.com/tensorflow/k8s/vendor/github.com/emicklei/go-restful/container.go:292 +0x4d
net/http.(*ServeMux).ServeHTTP(0x18079e0, 0x179bec0, 0xc42057a2a0, 0xc42000bb00)
	/usr/local/go/src/net/http/server.go:2238 +0x130
net/http.serverHandler.ServeHTTP(0xc42008c8f0, 0x179bec0, 0xc42057a2a0, 0xc42000bb00)
	/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc4200c1900, 0x179cb80, 0xc42012d100)
	/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2668 +0x2ce
@jimexist jimexist changed the title silient error during calling non-existent tfjob dashboard silient error during calling non-existent tfjob Jan 19, 2018
jimexist pushed a commit to jimexist/tf-operator that referenced this issue Jan 19, 2018
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

Successfully merging a pull request may close this issue.

1 participant