The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

K.Tomita (1) [Avatar] Offline
#1
Hello.

I failed to run the sample code in 20.3.
I checked the application log in the portal.
The message was as follows.


2019-02-06T06:05:25 Welcome, you are now connected to log-streaming service.
2019-02-06T06:06:25 No new trace in the past 1 min(s).
Listening on port NaN
Wed Feb 06 2019 06:06:31 GMT+0000 (Coordinated Universal Time): Application has thrown an uncaught exception and is terminated:
TypeError: Cannot read property 'x-opt-enqueued-time' of undefined
at EventHubReceiver.receiver.on (D:\home\site\wwwroot\IoTHub\iot-hub.js:29:65)
at emitOne (events.js:116:13)
at EventHubReceiver.emit (events.js:211:7)
at ReceiverLink.onMessage (D:\home\site\wwwroot\node_modules\azure-event-hubs\lib\receiver.js:37:10)
at emitTwo (events.js:126:13)
at ReceiverLink.emit (events.js:214:7)
at ReceiverLink._messageReceived (D:\home\site\wwwroot\node_modules\amqp10\lib\receiver_link.js:203:8)
at Session._processTransferFrame (D:\home\site\wwwroot\node_modules\amqp10\lib\session.js:358:45)
at Session._processFrame (D:\home\site\wwwroot\node_modules\amqp10\lib\session.js:304:63)
at Connection._processFrameEH (D:\home\site\wwwroot\node_modules\amqp10\lib\session.js:186:49)
at emitOne (events.js:121:20)
at Connection.emit (events.js:211:7)
at Connection._receiveAny (D:\home\site\wwwroot\node_modules\amqp10\lib\connection.js:426:12)
at Connection._receiveData (D:\home\site\wwwroot\node_modules\amqp10\lib\connection.js:357:8)
at TlsTransport.<anonymous> (D:\home\site\wwwroot\node_modules\amqp10\lib\connection.js:515:38)
at emitOne (events.js:116:13)
Application has thrown an uncaught exception and is terminated:


What can I do?

Thanks.