{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry-incubator/lattice-release/issues/223","labels_url":"https://api.github.com/repos/cloudfoundry-incubator/lattice-release/issues/223/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry-incubator/lattice-release/issues/223/comments","events_url":"https://api.github.com/repos/cloudfoundry-incubator/lattice-release/issues/223/events","html_url":"https://github.com/cloudfoundry-incubator/lattice-release/issues/223","id":112399551,"number":223,"title":"panic: runtime error: invalid memory address or nil pointer dereference when launching droplet","user":{"login":"amaltson","id":167443,"avatar_url":"https://avatars.githubusercontent.com/u/167443?v=3","gravatar_id":"","url":"https://api.github.com/users/amaltson","html_url":"https://github.com/amaltson","followers_url":"https://api.github.com/users/amaltson/followers","following_url":"https://api.github.com/users/amaltson/following{/other_user}","gists_url":"https://api.github.com/users/amaltson/gists{/gist_id}","starred_url":"https://api.github.com/users/amaltson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaltson/subscriptions","organizations_url":"https://api.github.com/users/amaltson/orgs","repos_url":"https://api.github.com/users/amaltson/repos","events_url":"https://api.github.com/users/amaltson/events{/privacy}","received_events_url":"https://api.github.com/users/amaltson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-20T15:48:23Z","updated_at":"2015-10-21T02:15:24Z","closed_at":null,"body":"I tried launching a droplet while it throw the below error, the droplet actually started anyway.\r\n\r\n```\r\n$ ltc ld app droplet\r\nNo port specified. Defaulting to 8080.\r\nCreating App: app\r\nError dialing traffic controller server: Tunnel Forbidden.\r\nPlease ask your Cloud Foundry Operator to check the platform configuration (traffic controller is ws://doppler.cf.otpp.me).\r\n.Error dialing traffic controller server: Tunnel Forbidden.\r\nPlease ask your Cloud Foundry Operator to check the platform configuration (traffic controller is ws://doppler.cf.otpp.me).\r\nError dialing traffic controller server: Tunnel Forbidden.\r\nPlease ask your Cloud Foundry Operator to check the platform configuration (traffic controller is ws://doppler.cf.otpp.me).\r\n.Error dialing traffic controller server: Tunnel Forbidden.\r\nPlease ask your Cloud Foundry Operator to check the platform configuration (traffic controller is ws://doppler.cf.otpp.me).\r\nError dialing traffic controller server: Tunnel Forbidden.\r\nPlease ask your Cloud Foundry Operator to check the platform configuration (traffic controller is ws://doppler.cf.otpp.me).\r\n.panic: runtime error: invalid memory address or nil pointer dereference\r\n[signal 0xb code=0x1 addr=0x20 pc=0x519fa8]\r\n\r\ngoroutine 22 [running]:\r\ngithub.com/cloudfoundry-incubator/lattice/ltc/logs/console_tailed_logs_outputter.(*ConsoleTailedLogsOutputter).errorCallback(0xc2080b1050, 0x0, 0x0)\r\n\t/tmp/build/b86c715a-5e20-4cc9-5a5f-429840fd1200/go/src/github.com/cloudfoundry-incubator/lattice/ltc/logs/console_tailed_logs_outputter/console_tailed_logs_outputter.go:66 +0x28\r\ngithub.com/cloudfoundry-incubator/lattice/ltc/logs/console_tailed_logs_outputter.*ConsoleTailedLogsOutputter.(github.com/cloudfoundry-incubator/lattice/ltc/logs/console_tailed_logs_outputter.errorCallback)·fm(0x0, 0x0)\r\n\t/tmp/build/b86c715a-5e20-4cc9-5a5f-429840fd1200/go/src/github.com/cloudfoundry-incubator/lattice/ltc/logs/console_tailed_logs_outputter/console_tailed_logs_outputter.go:48 +0x3b\r\ngithub.com/cloudfoundry-incubator/lattice/ltc/logs.(*logReader).readChannels(0xc2080bce40, 0xc208054a80, 0xc208054c00, 0xc20814a080, 0xc20814a090)\r\n\t/tmp/build/b86c715a-5e20-4cc9-5a5f-429840fd1200/go/src/github.com/cloudfoundry-incubator/lattice/ltc/logs/logs.go:47 +0x108\r\ngithub.com/cloudfoundry-incubator/lattice/ltc/logs.(*logReader).TailLogs(0xc2080bce40, 0x7ffd117d1489, 0x17, 0xc20814a080, 0xc20814a090)\r\n\t/tmp/build/b86c715a-5e20-4cc9-5a5f-429840fd1200/go/src/github.com/cloudfoundry-incubator/lattice/ltc/logs/logs.go:33 +0x108\r\ncreated by github.com/cloudfoundry-incubator/lattice/ltc/logs/console_tailed_logs_outputter.(*ConsoleTailedLogsOutputter).OutputTailedLogs\r\n\t/tmp/build/b86c715a-5e20-4cc9-5a5f-429840fd1200/go/src/github.com/cloudfoundry-incubator/lattice/ltc/logs/console_tailed_logs_outputter/console_tailed_logs_outputter.go:48 +0x122\r\n\r\ngoroutine 1 [chan receive]:\r\ngithub.com/pivotal-golang/clock.(*realClock).Sleep(0x114ee10, 0x3b9aca00)\r\n\t/tmp/build/b86c715a-5e20-4cc9-5a5f-429840fd1200/lattice/ltc/Godeps/_workspace/src/github.com/pivotal-golang/clock/clock.go:24 +0x73\r\ngithub.com/cloudfoundry-incubator/lattice/ltc/app_runner/command_factory.(*AppRunnerCommandFactory).pollUntilSuccess(0xc2080b4fc0, 0x1bf08eb000, 0xc2081c10f8, 0x1, 0x0)\r\n\t/tmp/build/b86c715a-5e20-4cc9-5a5f-429840fd1200/go/src/github.com/cloudfoundry-incubator/lattice/ltc/app_runner/command_factory/app_runner_command_factory.go:424 +0x231\r\ngithub.com/cloudfoundry-incubator/lattice/ltc/app_runner/command_factory.(*AppRunnerCommandFactory).pollUntilAllInstancesRunning(0xc2080b4fc0, 0x1bf08eb000, 0x7ffd117d1489, 0x17, 0x1, 0xb87be0, 0x5, 0x0)\r\n\t/tmp/build/b86c715a-5e20-4cc9-5a5f-429840fd1200/go/src/github.com/cloudfoundry-incubator/lattice/ltc/app_runner/command_factory/app_runner_command_factory.go:391 +0x91\r\ngithub.com/cloudfoundry-incubator/lattice/ltc/app_runner/command_factory.(*AppRunnerCommandFactory).WaitForAppCreation(0xc2080b4fc0, 0x7ffd117d1489, 0x17, 0x1bf08eb000, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)\r\n\t/tmp/build/b86c715a-5e20-4cc9-5a5f-429840fd1200/go/src/github.com/cloudfoundry-incubator/lattice/ltc/app_runner/command_factory/app_runner_command_factory.go:335 +0x1bc\r\ngithub.com/cloudfoundry-incubator/lattice/ltc/droplet_runner/command_factory.(*DropletRunnerCommandFactory).launchDroplet(0xc2080b4fc0, 0xc20805c000)\r\n\t/tmp/build/b86c715a-5e20-4cc9-5a5f-429840fd1200/go/src/github.com/cloudfoundry-incubator/lattice/ltc/droplet_runner/command_factory/droplet_runner_command_factory.go:578 +0x14a6\r\ngithub.com/cloudfoundry-incubator/lattice/ltc/droplet_runner/command_factory.*DropletRunnerCommandFactory.(github.com/cloudfoundry-incubator/lattice/ltc/droplet_runner/command_factory.launchDroplet)·fm(0xc20805c000)\r\n\t/tmp/build/b86c715a-5e20-4cc9-5a5f-429840fd1200/go/src/github.com/cloudfoundry-incubator/lattice/ltc/droplet_runner/command_factory/droplet_runner_command_factory.go:238 +0x31\r\ngithub.com/codegangsta/cli.Command.Run(0xbaf150, 0xe, 0x0, 0x0, 0xc20802b7a0, 0x1, 0x1, 0xc5de50, 0x2f, 0xd1ab50, ...)\r\n\t/tmp/build/b86c715a-5e20-4cc9-5a5f-429840fd1200/lattice/ltc/Godeps/_workspace/src/github.com/codegangsta/cli/command.go:127 +0xffe\r\ngithub.com/codegangsta/cli.(*App).Run(0xc208066300, 0xc20800a000, 0x4, 0x4, 0x0, 0x0)\r\n\t/tmp/build/b86c715a-5e20-4cc9-5a5f-429840fd1200/lattice/ltc/Godeps/_workspace/src/github.com/codegangsta/cli/app.go:159 +0xd7b\r\nmain.main()\r\n\t/tmp/build/b86c715a-5e20-4cc9-5a5f-429840fd1200/go/src/github.com/cloudfoundry-incubator/lattice/ltc/main.go:10 +0x50\r\n\r\ngoroutine 5 [syscall]:\r\nos/signal.loop()\r\n\t/usr/local/go/src/os/signal/signal_unix.go:21 +0x1f\r\ncreated by os/signal.init·1\r\n\t/usr/local/go/src/os/signal/signal_unix.go:27 +0x35\r\n\r\ngoroutine 6 [chan receive]:\r\ngithub.com/cloudfoundry-incubator/lattice/ltc/exit_handler.(*exitHandler).Run(0xc20802eb40)\r\n\t/tmp/build/b86c715a-5e20-4cc9-5a5f-429840fd1200/go/src/github.com/cloudfoundry-incubator/lattice/ltc/exit_handler/exit_handler.go:36 +0x4f\r\ncreated by github.com/cloudfoundry-incubator/lattice/ltc/setup_cli.NewCliApp\r\n\t/tmp/build/b86c715a-5e20-4cc9-5a5f-429840fd1200/go/src/github.com/cloudfoundry-incubator/lattice/ltc/setup_cli/setup_cli.go:29 +0x550\r\n\r\ngoroutine 17 [syscall, locked to thread]:\r\nruntime.goexit()\r\n\t/usr/local/go/src/runtime/asm_amd64.s:2232 +0x1\r\n\r\ngoroutine 18 [IO wait]:\r\nnet.(*pollDesc).Wait(0xc208136060, 0x72, 0x0, 0x0)\r\n\t/usr/local/go/src/net/fd_poll_runtime.go:84 +0x47\r\nnet.(*pollDesc).WaitRead(0xc208136060, 0x0, 0x0)\r\n\t/usr/local/go/src/net/fd_poll_runtime.go:89 +0x43\r\nnet.(*netFD).Read(0xc208136000, 0xc20800f000, 0x1000, 0x1000, 0x0, 0x7f469c02ed48, 0xc208134010)\r\n\t/usr/local/go/src/net/fd_unix.go:242 +0x40f\r\nnet.(*conn).Read(0xc208146000, 0xc20800f000, 0x1000, 0x1000, 0x0, 0x0, 0x0)\r\n\t/usr/local/go/src/net/net.go:121 +0xdc\r\nnet/http.noteEOFReader.Read(0x7f469c031828, 0xc208146000, 0xc208074b58, 0xc20800f000, 0x1000, 0x1000, 0xa08ca0, 0x0, 0x0)\r\n\t/usr/local/go/src/net/http/transport.go:1270 +0x6e\r\nnet/http.(*noteEOFReader).Read(0xc208142040, 0xc20800f000, 0x1000, 0x1000, 0xc208012000, 0x0, 0x0)\r\n\t<autogenerated>:125 +0xd4\r\nbufio.(*Reader).fill(0xc20814c000)\r\n\t/usr/local/go/src/bufio/bufio.go:97 +0x1ce\r\nbufio.(*Reader).Peek(0xc20814c000, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n\t/usr/local/go/src/bufio/bufio.go:132 +0xf0\r\nnet/http.(*persistConn).readLoop(0xc208074b00)\r\n\t/usr/local/go/src/net/http/transport.go:842 +0xa4\r\ncreated by net/http.(*Transport).dialConn\r\n\t/usr/local/go/src/net/http/transport.go:660 +0xc9f\r\n\r\ngoroutine 19 [select]:\r\nnet/http.(*persistConn).writeLoop(0xc208074b00)\r\n\t/usr/local/go/src/net/http/transport.go:945 +0x41d\r\ncreated by net/http.(*Transport).dialConn\r\n\t/usr/local/go/src/net/http/transport.go:661 +0xcbc\r\n\r\ngoroutine 41 [select]:\r\nnet/http.(*persistConn).writeLoop(0xc208074bb0)\r\n\t/usr/local/go/src/net/http/transport.go:945 +0x41d\r\ncreated by net/http.(*Transport).dialConn\r\n\t/usr/local/go/src/net/http/transport.go:661 +0xcbc\r\n\r\ngoroutine 40 [IO wait]:\r\nnet.(*pollDesc).Wait(0xc20808c060, 0x72, 0x0, 0x0)\r\n\t/usr/local/go/src/net/fd_poll_runtime.go:84 +0x47\r\nnet.(*pollDesc).WaitRead(0xc20808c060, 0x0, 0x0)\r\n\t/usr/local/go/src/net/fd_poll_runtime.go:89 +0x43\r\nnet.(*netFD).Read(0xc20808c000, 0xc20814f000, 0x1000, 0x1000, 0x0, 0x7f469c02ed48, 0xc20805eeb8)\r\n\t/usr/local/go/src/net/fd_unix.go:242 +0x40f\r\nnet.(*conn).Read(0xc208170000, 0xc20814f000, 0x1000, 0x1000, 0x0, 0x0, 0x0)\r\n\t/usr/local/go/src/net/net.go:121 +0xdc\r\nnet/http.noteEOFReader.Read(0x7f469c031828, 0xc208170000, 0xc208074c08, 0xc20814f000, 0x1000, 0x1000, 0xa08ca0, 0x0, 0x0)\r\n\t/usr/local/go/src/net/http/transport.go:1270 +0x6e\r\nnet/http.(*noteEOFReader).Read(0xc2081320e0, 0xc20814f000, 0x1000, 0x1000, 0xc208013b00, 0x0, 0x0)\r\n\t<autogenerated>:125 +0xd4\r\nbufio.(*Reader).fill(0xc20814c0c0)\r\n\t/usr/local/go/src/bufio/bufio.go:97 +0x1ce\r\nbufio.(*Reader).Peek(0xc20814c0c0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n\t/usr/local/go/src/bufio/bufio.go:132 +0xf0\r\nnet/http.(*persistConn).readLoop(0xc208074bb0)\r\n\t/usr/local/go/src/net/http/transport.go:842 +0xa4\r\ncreated by net/http.(*Transport).dialConn\r\n\t/usr/local/go/src/net/http/transport.go:660 +0xc9f\r\n\r\ngoroutine 12 [chan receive]:\r\ngithub.com/cloudfoundry-incubator/lattice/ltc/logs/console_tailed_logs_outputter.(*ConsoleTailedLogsOutputter).OutputTailedLogs(0xc2080b1050, 0x7ffd117d1489, 0x17)\r\n\t/tmp/build/b86c715a-5e20-4cc9-5a5f-429840fd1200/go/src/github.com/cloudfoundry-incubator/lattice/ltc/logs/console_tailed_logs_outputter/console_tailed_logs_outputter.go:50 +0x16d\r\ncreated by github.com/cloudfoundry-incubator/lattice/ltc/app_runner/command_factory.(*AppRunnerCommandFactory).WaitForAppCreation\r\n\t/tmp/build/b86c715a-5e20-4cc9-5a5f-429840fd1200/go/src/github.com/cloudfoundry-incubator/lattice/ltc/app_runner/command_factory/app_runner_command_factory.go:332 +0x119\r\n\r\ngoroutine 25 [chan receive]:\r\ngithub.com/cloudfoundry/noaa.func·003()\r\n\t/tmp/build/b86c715a-5e20-4cc9-5a5f-429840fd1200/lattice/ltc/Godeps/_workspace/src/github.com/cloudfoundry/noaa/consumer.go:86 +0x87\r\ncreated by github.com/cloudfoundry/noaa.(*Consumer).TailingLogsWithoutReconnect\r\n\t/tmp/build/b86c715a-5e20-4cc9-5a5f-429840fd1200/lattice/ltc/Godeps/_workspace/src/github.com/cloudfoundry/noaa/consumer.go:91 +0x400\r\n\r\ngoroutine 14 [chan receive]:\r\ngithub.com/cloudfoundry/noaa.func·003()\r\n\t/tmp/build/b86c715a-5e20-4cc9-5a5f-429840fd1200/lattice/ltc/Godeps/_workspace/src/github.com/cloudfoundry/noaa/consumer.go:86 +0x87\r\ncreated by github.com/cloudfoundry/noaa.(*Consumer).TailingLogsWithoutReconnect\r\n\t/tmp/build/b86c715a-5e20-4cc9-5a5f-429840fd1200/lattice/ltc/Godeps/_workspace/src/github.com/cloudfoundry/noaa/consumer.go:91 +0x400\r\n\r\ngoroutine 27 [chan receive]:\r\ngithub.com/cloudfoundry/noaa.func·003()\r\n\t/tmp/build/b86c715a-5e20-4cc9-5a5f-429840fd1200/lattice/ltc/Godeps/_workspace/src/github.com/cloudfoundry/noaa/consumer.go:86 +0x87\r\ncreated by github.com/cloudfoundry/noaa.(*Consumer).TailingLogsWithoutReconnect\r\n\t/tmp/build/b86c715a-5e20-4cc9-5a5f-429840fd1200/lattice/ltc/Godeps/_workspace/src/github.com/cloudfoundry/noaa/consumer.go:91 +0x400\r\n\r\ngoroutine 16 [chan receive]:\r\ngithub.com/cloudfoundry/noaa.func·003()\r\n\t/tmp/build/b86c715a-5e20-4cc9-5a5f-429840fd1200/lattice/ltc/Godeps/_workspace/src/github.com/cloudfoundry/noaa/consumer.go:86 +0x87\r\ncreated by github.com/cloudfoundry/noaa.(*Consumer).TailingLogsWithoutReconnect\r\n\t/tmp/build/b86c715a-5e20-4cc9-5a5f-429840fd1200/lattice/ltc/Godeps/_workspace/src/github.com/cloudfoundry/noaa/consumer.go:91 +0x400\r\n\r\ngoroutine 51 [chan receive]:\r\ngithub.com/cloudfoundry/noaa.func·003()\r\n\t/tmp/build/b86c715a-5e20-4cc9-5a5f-429840fd1200/lattice/ltc/Godeps/_workspace/src/github.com/cloudfoundry/noaa/consumer.go:86 +0x87\r\ncreated by github.com/cloudfoundry/noaa.(*Consumer).TailingLogsWithoutReconnect\r\n\t/tmp/build/b86c715a-5e20-4cc9-5a5f-429840fd1200/lattice/ltc/Godeps/_workspace/src/github.com/cloudfoundry/noaa/consumer.go:91 +0x400\r\n```"},"comment":{"url":"https://api.github.com/repos/cloudfoundry-incubator/lattice-release/issues/comments/149758778","html_url":"https://github.com/cloudfoundry-incubator/lattice-release/issues/223#issuecomment-149758778","issue_url":"https://api.github.com/repos/cloudfoundry-incubator/lattice-release/issues/223","id":149758778,"user":{"login":"davidwadden","id":9936700,"avatar_url":"https://avatars.githubusercontent.com/u/9936700?v=3","gravatar_id":"","url":"https://api.github.com/users/davidwadden","html_url":"https://github.com/davidwadden","followers_url":"https://api.github.com/users/davidwadden/followers","following_url":"https://api.github.com/users/davidwadden/following{/other_user}","gists_url":"https://api.github.com/users/davidwadden/gists{/gist_id}","starred_url":"https://api.github.com/users/davidwadden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidwadden/subscriptions","organizations_url":"https://api.github.com/users/davidwadden/orgs","repos_url":"https://api.github.com/users/davidwadden/repos","events_url":"https://api.github.com/users/davidwadden/events{/privacy}","received_events_url":"https://api.github.com/users/davidwadden/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T02:15:24Z","updated_at":"2015-10-21T02:15:24Z","body":"That's from trying to stream logs back from loggregator during app startup.  I've seen it intermittently, often due to OS X DNS resolution of `xip.io` failing.\r\n\r\nBut, on closer inspection, your error looks slightly different:\r\n\r\n```\r\nError dialing traffic controller server: Tunnel Forbidden.\r\nPlease ask your Cloud Foundry Operator to check the platform configuration (traffic controller is ws://doppler.cf.otpp.me).\r\n```\r\n\r\nWe'll need to look into where it's coming from.  Not sure why it's not letting you open a websocket to pull logs.  Anything you can offer about your networking configuration?\r\n"}}