I’ve installed the AWS IoT Integration per the Quick Start instructions and seen my TTN Device appear as an AWS IoT Thing. However, when I subscribe to the +/devices/+/up topic under IoT Core|Test, I see nothing. I’ve checked that data are appearing in TTN for the device. Thoughts?
Per the Troubleshooting Guide, I have checked environment health (green) and downloaded the log files. Of possible interest:
app1.log consists of about 800 copies of the following:
INFO Performing first synchronization of the device registry
INFO Initializing AWS IoT client PolicyName=ttn-integration-TTNIoTPolicy-1LVVU37OMQXVA Region=us-west-2
INFO Found AWS IoT endpoint Endpoint=afyt8uvo0mjeb.iot.us-west-2.amazonaws.com
INFO Created certificate ID=d2d7fb85b618a00eb1ad5a25ecc278ad3825a35096733875cdcedc8164864628
INFO Attached policy to certificate Certificate=d2d7fb85b618a00eb1ad5a25ecc278ad3825a35096733875cdcedc8164864628 Policy=ttn-integration-TTNIoTPolicy-1LVVU37OMQXVA
INFO Initializing The Things Network client AccountServer=https://account.thethingsnetwork.org AppID=limno_aws_test DiscoveryServer=discovery.thethings.network:1900
Similarly, app1.error.log is made up of about 800 instances of the following:
goroutine 1 [running]:
github.com/TheThingsIndustries/integration-aws/aws.normalizeDevice(0xc0005440c0, 0x0, 0x1, 0xc00000c598)
/home/travis/gopath/src/github.com/TheThingsIndustries/integration-aws/aws/util.go:74 +0x5ff
github.com/TheThingsIndustries/integration-aws/aws.(*deviceManager).List(0xc00037fd00, 0x0, 0x0, 0xc00000c530, 0x1, 0x1, 0x0, 0x0)
/home/travis/gopath/src/github.com/TheThingsIndustries/integration-aws/aws/device_manager.go:50 +0x10e
github.com/TheThingsIndustries/integration-aws/vendor/github.com/TheThingsIndustries/go-integration-lib/sync.(*synchronizer).Sync(0xc0006275c0, 0xc0006275f0, 0x37, 0xc00000c3c8)
/home/travis/gopath/src/github.com/TheThingsIndustries/integration-aws/vendor/github.com/TheThingsIndustries/go-integration-lib/sync/synchronizer.go:54 +0x112
github.com/TheThingsIndustries/integration-aws/process/cmd.glob..func2(0x1692b60, 0x16c15e0, 0x0, 0x0)
/home/travis/gopath/src/github.com/TheThingsIndustries/integration-aws/process/cmd/run.go:128 +0xe05
github.com/TheThingsIndustries/integration-aws/vendor/github.com/spf13/cobra.(*Command).execute(0x1692b60, 0x16c15e0, 0x0, 0x0, 0x1692b60, 0x16c15e0)
/home/travis/gopath/src/github.com/TheThingsIndustries/integration-aws/vendor/github.com/spf13/cobra/command.go:750 +0x2cc
github.com/TheThingsIndustries/integration-aws/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0x1692920, 0x1, 0x1, 0x9)
/home/travis/gopath/src/github.com/TheThingsIndustries/integration-aws/vendor/github.com/spf13/cobra/command.go:831 +0x2dc
github.com/TheThingsIndustries/integration-aws/vendor/github.com/spf13/cobra.(*Command).Execute(0x1692920, 0xc000543f58, 0x7fca45)
/home/travis/gopath/src/github.com/TheThingsIndustries/integration-aws/vendor/github.com/spf13/cobra/command.go:784 +0x2b
github.com/TheThingsIndustries/integration-aws/process/cmd.Execute()
/home/travis/gopath/src/github.com/TheThingsIndustries/integration-aws/process/cmd/root.go:40 +0x2d
main.main()
/home/travis/gopath/src/github.com/TheThingsIndustries/integration-aws/process/main.go:22 +0xfa
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0xc188df]