Can't receive token
See original GitHub issueAfter clicking allow on tv pop up in log receive crash
Dec 04 22:12:47 raspberrypi homebridge[28113]: if (data.token) {
Dec 04 22:12:47 raspberrypi homebridge[28113]: ^
Dec 04 22:12:47 raspberrypi homebridge[28113]: TypeError: Cannot read property 'token' of undefined
Dec 04 22:12:47 raspberrypi homebridge[28113]: at WebSocket.socket.on (/usr/lib/node_modules/homebridge-samsung-tizen/lib/SamsungRemote.js:396:26)
Dec 04 22:12:47 raspberrypi homebridge[28113]: at emitOne (events.js:116:13)
Dec 04 22:12:47 raspberrypi homebridge[28113]: at WebSocket.emit (events.js:211:7)
Dec 04 22:12:47 raspberrypi homebridge[28113]: at Receiver.receiverOnMessage (/usr/lib/node_modules/homebridge-samsung-tizen/node_modules/ws/lib/websocket.js:720:20)
Dec 04 22:12:47 raspberrypi homebridge[28113]: at emitOne (events.js:116:13)
Dec 04 22:12:47 raspberrypi homebridge[28113]: at Receiver.emit (events.js:211:7)
Dec 04 22:12:47 raspberrypi homebridge[28113]: at Receiver.dataMessage (/usr/lib/node_modules/homebridge-samsung-tizen/node_modules/ws/lib/receiver.js:414:14)
Dec 04 22:12:47 raspberrypi homebridge[28113]: at Receiver.getData (/usr/lib/node_modules/homebridge-samsung-tizen/node_modules/ws/lib/receiver.js:346:17)
Dec 04 22:12:47 raspberrypi homebridge[28113]: at Receiver.startLoop (/usr/lib/node_modules/homebridge-samsung-tizen/node_modules/ws/lib/receiver.js:133:22)
Dec 04 22:12:47 raspberrypi homebridge[28113]: at Receiver._write (/usr/lib/node_modules/homebridge-samsung-tizen/node_modules/ws/lib/receiver.js:69:10)```
Issue Analytics
- State:
- Created 5 years ago
- Comments:20 (8 by maintainers)
Top Results From Across the Web
What if imToken can't receive my assets?
Generally speaking, the reason why your imToken wallet can't receive assets is the sender (exchange / individual) didn't send you the token, ...
Read more >Cannot get Access Token - oauth 2.0 - Stack Overflow
To get the access_token, you'll need to make a POST request to https://www.box.com/api/oauth2/token with the following parameters...", Although ...
Read more >Did Not Receive Coin or Token - Troubleshooting - Trust Wallet
Did Not Receive Coin or Token · Step 1 - Check the Transaction ID · Step 2 - Check the Receiving Address ·...
Read more >Cannot obtain token based on the enterprise configuration for ...
You are trying to authenticate but receiving the following error: "Cannot obtain token based on the enterprise configuration for your app" ...
Read more >Not able to receive any verification token emails
I have ensured there wasn't any pop forwarding in my Gmail account I have tried to make sure that there was no email...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@JonoHaysom Strange … looks like your TV is not returning any info when you press “Allow”. I will get home in ~2 hours and will see then 😃
@JonoHaysom They are actually using a much slower method. I ping the IP which is very fast when on (~75ms) and when it’s off it has the minimum 1 second timeout of system.
Their method is sending a request to TV which takes 2 seconds when it’s OFF.
Anyway, i have implemented a timeout and now it will respond in less than 250ms 😃 It will go with the next release, probably tomorrow.
I will close this Issue since it was resolved