chaosmonkey icon indicating copy to clipboard operation
chaosmonkey copied to clipboard

invalid character '<' looking for beginning of value json unmarshal failed

Open surendra-github opened this issue 6 years ago • 2 comments

hi everyone While running on chaos monkey on spinnaker getting below things:

chaos monkey installed on the spinnaker aws instance ubuntu@ip-172-31-27-137:/apps/chaosmonkey$ chaosmonkey config spinnaker invalid character '<' looking for beginning of value json unmarshal failed github.com/Netflix/chaosmonkey/spinnaker.fromJSON /home/ubuntu/go/src/github.com/Netflix/chaosmonkey/spinnaker/fromjson.go:99 github.com/Netflix/chaosmonkey/spinnaker.Spinnaker.Get /home/ubuntu/go/src/github.com/Netflix/chaosmonkey/spinnaker/config.go:51 github.com/Netflix/chaosmonkey/spinnaker.(*Spinnaker).Get :1 github.com/Netflix/chaosmonkey/command.DumpConfig /home/ubuntu/go/src/github.com/Netflix/chaosmonkey/command/dumpconfig.go:27 github.com/Netflix/chaosmonkey/command.Execute /home/ubuntu/go/src/github.com/Netflix/chaosmonkey/command/chaosmonkey.go:327 main.main /home/ubuntu/go/src/github.com/netflix/chaosmonkey/cmd/chaosmonkey/main.go:35 runtime.main /usr/local/go/src/runtime/proc.go:201

surendra-github avatar Jul 24 '19 14:07 surendra-github

It looks like Spinnaker is returning HTML instead of JSON in this case. Are you able to hit the URL directly that Chaos Monkey is trying to access?

lorin avatar Jul 29 '19 03:07 lorin