dcos-labs / drax Goto Github PK
View Code? Open in Web Editor NEWDC/OS Resilience Automated Xenodiagnosis tool
License: Apache License 2.0
DC/OS Resilience Automated Xenodiagnosis tool
License: Apache License 2.0
This is the error I get:
2016/12/22 10:19:10 http: panic serving IP.IP.IP.IP:51686: runtime error: invalid memory address or nil pointer dereference
goroutine 20 [running]:
net/http.(*conn).serve.func1(0xc820104600)
/usr/local/go/src/net/http/server.go:1389 +0xc1
panic(0x7aa9e0, 0xc82000a0d0)
/usr/local/go/src/runtime/panic.go:443 +0x4e9
main.NOUN_Rampage.ServeHTTP(0x7f00dc16c9c0, 0xc820110410, 0xc8201302a0)
/Users/mhausenblas/Dropbox/dev/work/src/github.com/dcos-labs/drax/api.go:62 +0xbfb
main.(*NOUN_Rampage).ServeHTTP(0xa38920, 0x7f00dc16c9c0, 0xc820110410, 0xc8201302a0)
<autogenerated>:2 +0xab
net/http.(*ServeMux).ServeHTTP(0xc8200110b0, 0x7f00dc16c9c0, 0xc820110410, 0xc8201302a0)
/usr/local/go/src/net/http/server.go:1910 +0x17d
net/http.serverHandler.ServeHTTP(0xc820018180, 0x7f00dc16c9c0, 0xc820110410, 0xc8201302a0)
/usr/local/go/src/net/http/server.go:2081 +0x19e
net/http.(*conn).serve(0xc820104600)
/usr/local/go/src/net/http/server.go:1472 +0xf2e
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2137 +0x44e
my post call is to Myip:7777/rampage?level=0
0.2.0 version works fine for me.
Getting below error:
msg="Failed to list apps" handle="/rampage"
As requested by Eric Redmond, see https://twitter.com/coderoshi/status/744705694046126080
Hi Matt,
While /health and /stats are working fine, /rampage is failing for me
Getting the following
ore@ip-10-10-3-224 ~ $ curl -v http://localhost:7777/rampage
GET /rampage HTTP/1.1
Host: localhost:7777
User-Agent: curl/7.48.0
Accept: /
< HTTP/1.1 404 Not Found
< Content-Type: text/plain; charset=utf-8
< X-Content-Type-Options: nosniff
< Date: Tue, 21 Mar 2017 11:08:18 GMT
< Content-Length: 19
<
404 page not found
Also the POST requests are also failing with empty reply:
core@ip-10-10-3-224 ~ $ curl --data "level=1&app=nginx" http://localhost:7777/rampage
curl: (52) Empty reply from server
core@ip-10-10-3-224 ~ $ curl --data "level=0" http://localhost:7777/rampage
curl: (52) Empty reply from server
Any idea?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.