2020-08-10, 22:37
@harlekin Can you tell where the error is, I have a fixed ip and port: 8080 I have access to the port on the entire network.
npm start
> [email protected] start /home/runner/ImpureThankfulInverse
> node server.js
Loaded 1 Kodi hosts.
Loaded config from kodi-hosts.config.js, {
"authToken": "MyToken",
"listenerPort": "8099",
"youtubeKey": "AIzaSyAyxxxxxxJxQoruMz1m-345S8cBo"
}
Your app is listening on port 8099
Authentication succeeded
==== BEGIN === route: /koditestconnection
Sending command to kodi http://192.168.1.XXX:8080/jsonrpc:
{
"jsonrpc": "2.0",
"id": 1,
"method": "GUI.ShowNotification",
"params": {
"title": "GoogleHomeKodi",
"message": "Test Successful!",
"image": "info"
}
}
request failed
route: /koditestconnection
query: {}
error: FetchError: request to http://192.168.1.XXX:8080/jsonrpc failed, reason: connect ETIMEDOUT 192.168.1.XXX:8080
at ClientRequest.<anonymous> (/home/runner/ImpureThankfulInverse/node_modules/node-fetch/lib/index.js:1455:11)
at ClientRequest.emit (events.js:315:20)
at Socket.socketErrorListener (_http_client.js:426:9)
at Socket.emit (events.js:315:20)
at emitErrorNT (internal/streams/destroy.js:92:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
at processTicksAndRejections (internal/process/task_queues.js:84:21) {
type: 'system',
errno: 'ETIMEDOUT',
code: 'ETIMEDOUT'
}
body: { token: 'MyConnectionToken' }
versions: {
node: '12.18.3',
v8: '7.8.279.23-node.39',
uv: '1.38.0',
zlib: '1.2.11',
brotli: '1.0.7',
ares: '1.16.0',
modules: '72',
nghttp2: '1.41.0',
napi: '6',
llhttp: '2.0.4',
http_parser: '2.9.3',
openssl: '1.1.1g',
cldr: '37.0',
icu: '67.1',
tz: '2019c',
unicode: '13.0'
}
==== END === route: /koditestconnection
npm start
> [email protected] start /home/runner/ImpureThankfulInverse
> node server.js
Loaded 1 Kodi hosts.
Loaded config from kodi-hosts.config.js, {
"authToken": "MyToken",
"listenerPort": "8099",
"youtubeKey": "AIzaSyAyxxxxxxJxQoruMz1m-345S8cBo"
}
Your app is listening on port 8099
Authentication succeeded
==== BEGIN === route: /koditestconnection
Sending command to kodi http://192.168.1.XXX:8080/jsonrpc:
{
"jsonrpc": "2.0",
"id": 1,
"method": "GUI.ShowNotification",
"params": {
"title": "GoogleHomeKodi",
"message": "Test Successful!",
"image": "info"
}
}
request failed
route: /koditestconnection
query: {}
error: FetchError: request to http://192.168.1.XXX:8080/jsonrpc failed, reason: connect ETIMEDOUT 192.168.1.XXX:8080
at ClientRequest.<anonymous> (/home/runner/ImpureThankfulInverse/node_modules/node-fetch/lib/index.js:1455:11)
at ClientRequest.emit (events.js:315:20)
at Socket.socketErrorListener (_http_client.js:426:9)
at Socket.emit (events.js:315:20)
at emitErrorNT (internal/streams/destroy.js:92:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
at processTicksAndRejections (internal/process/task_queues.js:84:21) {
type: 'system',
errno: 'ETIMEDOUT',
code: 'ETIMEDOUT'
}
body: { token: 'MyConnectionToken' }
versions: {
node: '12.18.3',
v8: '7.8.279.23-node.39',
uv: '1.38.0',
zlib: '1.2.11',
brotli: '1.0.7',
ares: '1.16.0',
modules: '72',
nghttp2: '1.41.0',
napi: '6',
llhttp: '2.0.4',
http_parser: '2.9.3',
openssl: '1.1.1g',
cldr: '37.0',
icu: '67.1',
tz: '2019c',
unicode: '13.0'
}
==== END === route: /koditestconnection