JukeServer is showing as terminated with errors and the customers are not able to connect their phones or tablets to the karaoke player.
Click on the JukeServer icon in the task bar and you will see an error message, for example, as below.
-
Error: listen EADDRINUSE: address already in use 10.0.40.2:5000
at Server.setupListenHandle [as _listen2] (net.js:1320:16)
at listenInCluster (net.js:1368:12)
at doListen (net.js:1505:7)
at processTicksAndRejections (internal/process/task_queues.js:83:21)
Emitted ‘error’ event on WebSocketServer instance at:
at Server.emit (events.js:400:28)
at emitErrorNT (net.js:1347:8)
at processTicksAndRejections (internal/process/task_queues.js:82:21) {
code: ‘EADDRINUSE’,
errno: -4091,
syscall: ‘listen’,
address: ‘10.0.40.2’,
port: 5000
}
Go to HELP in the Control Panel of the karaoke program and select “Restart Juke Server”.
The JukeServer will restart showing a message, for example,
-
Folder: C:\PlayCDG\esongbook, Index: backend/bundle.js
LocalHost: 192.168.1.245, Port: 5000
Model: PLAYCDG, Size: 4096, Type: Cloud
NODE_ENV: production HOST: 192.168.1.245 PORT: 5000
2024/09/06 04:31:16 763 home ..\
2024/09/06 04:31:16 769 profile initialize.
2024/09/06 04:31:16 773 song_init C:\PlayCDG\esongbook\data\
2024/09/06 04:31:16 776 config {“file”:”Master Playlist.txt”,”host”:”192.168.1.245″,”port”:5000}
2024/09/06 04:31:16 778 song_init OK
2024/09/06 04:31:16 779 init() => true
2024/09/06 04:31:16 780 Last loading file => Master Playlist.txt
2024/09/06 04:31:16 782 init C:\PlayCDG\esongbook\data\Master Playlist.txt
2024/09/06 04:31:16 784 song_init C:\PlayCDG\esongbook\data\
2024/09/06 04:31:16 786 config {“file”:”Master Playlist.txt”,”host”:”192.168.1.245″,”port”:5000}
2024/09/06 04:31:16 787 song_init OK
2024/09/06 04:31:17 734 Server is running on port 5000…
2024/09/06 04:31:17 735 Open http://192.168.1.245:5000 in browser
2024/09/06 04:31:18 405 state 1 hash f168b313c2a7928ae4001adea69d53fb syncfile Master Playlist.json
2024/09/06 04:31:18 474 master 8445 language 1 eng
2024/09/06 04:31:18 476 init – reload OK
2024/09/06 04:31:18 906 ws.connection ws-connect 1 0
2024/09/06 04:31:20 075 clientId 0 localhost
2024/09/06 04:31:20 080 mixer false
2024/09/06 04:31:20 082 socketMixer=> false 0
2024/09/06 04:31:21 346 load.file Master Playlist.txt
2024/09/06 04:31:21 347 init C:\PlayCDG\esongbook\data\Master Playlist.txt
2024/09/06 04:31:21 349 song_init C:\PlayCDG\esongbook\data\
2024/09/06 04:31:21 353 config {“file”:”Master Playlist.txt”,”host”:”192.168.1.245″,”port”:5000}
2024/09/06 04:31:21 355 song_init OK
2024/09/06 04:31:21 937 state 1 hash f168b313c2a7928ae4001adea69d53fb syncfile Master Playlist.json
2024/09/06 04:31:22 026 master 8445 language 1 eng
2024/09/06 04:31:22 027 init – reload OK
2024/09/06 04:31:22 029 load.result 8445
2024/09/06 04:31:22 057 queue=> 0 8445
2024/09/06 04:31:25 547 queue=> 0 8445
2024/09/06 04:32:22 192 Program is using 101.7M bytes of Heap.
2024/09/06 04:33:23 553 Program is using 101.9M bytes of Heap.
2024/09/06 04:34:24 617 Program is using 102.1M bytes of Heap.
2024/09/06 04:35:25 733 Program is using 102.4M bytes of Heap.
2024/09/06 04:36:26 959 Program is using 102.6M bytes of Heap.
2024/09/06 04:37:28 087 Program is using 101.8M bytes of Heap.
Note that the JukeServer is most likely to terminate with error when the karaoke player is placed in a new network environment and the player is started for the first time.
Restart the JukeServer as described above, and it will start normally thereafter.
Categories:
JB-199 IV Online,
JB-199 mini II,
PlayCDG Online