Closed sjaccoo2001 closed 3 years ago
Hi. Can you tell me what version eosstb you are using, and whether anyone was interacting with the box e.g. via a web browser session when the problem occurred?
And also please give me an indication of how long the plugin was connected before the error occurred? Approximate hours / days / weeks is enough.
No web or browser session, i guess it runs for about 3 weeks? Occasional restart. Im using the latest version
Please tell me the version number. The latest version was published today ;)
Hi @sjaccoo2001 . if you are not on the current beta version, I suggest to update to the beta. This has a huge number of bug fixes and improvements, and the session stability is much better. Note that the config changes, see here: https://github.com/jsiegenthaler/homebridge-eosstb/blob/multiDeviceSupport/README.md
I have this problem too. In Version 0.1.13 and with the beta 0.2.0-beta40. This is a problem since live channel update feature. The System runs for 4-5 hours. Than Hoobs stops the service and the system is down. I delete the plugin and go back to version 0.1.13 but the problem is still the same.
18.3.2021, 16:46:22 [eosstb] Refreshing master channel list...
18.3.2021, 16:46:22 [eosstb] Master channel list refreshed with 483 channels, valid until 3/18/2021, 10:01:17 AM
18.3.2021, 16:46:23 [eosstb] getProfilesUpdate: error: Error: Request failed with status code 403
at createError (/home/hoobs/.hoobs/node_modules/axios/lib/core/createError.js:16:15)
at settle (/home/hoobs/.hoobs/node_modules/axios/lib/core/settle.js:17:12)
at /home/hoobs/.hoobs/node_modules/axios-cookiejar-support/lib/interceptors/response.js:83:25
at new Promise (
[Symbol(verified)]: true,
[Symbol(pendingSession)]: null,
[Symbol(async_id_symbol)]: 463825,
[Symbol(kHandle)]: [TLSWrap],
[Symbol(kSetNoDelay)]: false,
[Symbol(lastWriteQueueSize)]: 0,
[Symbol(timeout)]: null,
[Symbol(kBuffer)]: null,
[Symbol(kBufferCb)]: null,
[Symbol(kBufferGen)]: null,
[Symbol(kCapture)]: false,
[Symbol(kBytesRead)]: 0,
[Symbol(kBytesWritten)]: 0,
[Symbol(connect-options)]: [Object],
[Symbol(RequestTimeout)]: undefined
},
_header: 'GET /eng/web/personalization-service/v1/customer/6385378_ch/profiles HTTP/1.1\r\n' +
'Accept: application/json\r\n' +
'x-cus: 6385378_ch\r\n' +
'x-oesp-token: eyJ0eXAiOiJKV1QiLCJraWQiOiJvZXNwX3Rva2VuX3Byb2RfMjAyMDA4MTkiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI2Mzg1Mzc4X2NoIiwiaXNzIjoid2ViLWFwaS1wcm9kLW9iby5ob3Jpem9uLnR2IiwiZXhwIjoxNjE2MDEyMDczLCJpYXQiOjE2MTYwMDQ4NzMsInNpZCI6ImMyMTYwYzU2YTk4NDc4YzIyNDBlMjExNjFiZmVlYjQzOGY1MWQ4Y2FhODVmNTI5ODdiMDUwMDBkYWJhOGIyNWMifQ.lc72J0nZvhdpfYuZAQQgQYe6OasFFo2ORXDDmuslgfU\r\n' +
'x-oesp-username: xxxxx@xxx.ch\r\n‘ +
'User-Agent: axios/0.21.1\r\n' +
'Host: prod.spark.upctv.ch\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: noopPendingOutput],
agent: Agent {
_events: [Object: null prototype],
_eventsCount: 2,
_maxListeners: undefined,
defaultPort: 443,
protocol: 'https:',
options: [Object],
requests: {},
sockets: [Object],
freeSockets: {},
keepAliveMsecs: 1000,
keepAlive: false,
maxSockets: Infinity,
maxFreeSockets: 256,
scheduling: 'fifo',
maxTotalSockets: Infinity,
totalSocketCount: 1,
maxCachedSessions: 100,
_sessionCache: [Object],
[Symbol(kCapture)]: false
},
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
path: '/eng/web/personalization-service/v1/customer/6385378_ch/profiles',
_ended: true,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
headers: [Object],
rawHeaders: [Array],
trailers: {},
rawTrailers: [],
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 403,
statusMessage: 'Forbidden',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [Circular *1],
[Symbol(kCapture)]: false,
[Symbol(RequestTimeout)]: undefined
},
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'prod.spark.upctv.ch',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype] {
accept: [Array],
'x-cus': [Array],
'x-oesp-token': [Array],
'x-oesp-username': [Array],
'user-agent': [Array],
host: [Array]
}
}, response: { status: 403, statusText: 'Forbidden', headers: { 'content-type': 'text/html', 'content-length': '146', 'access-control-allow-credentials': 'true', 'access-control-allow-methods': 'GET, POST,PUT, OPTIONS, DELETE, HEAD, PATCH', 'access-control-allow-headers': 'Accept-Charset, Accept-Encoding, Access-Control-Request-Headers, Access-Control-Request-Method, Authorization, Cache-Control, Connection, Content-Encoding, Content-Type, Content-Length, DNT, Date, Host, If-Modified-Since, Keep-Alive, Origin, Referer, Server, TokenIssueTime, Transfer-Encoding, User-Agent, Vary, X-CustomHeader, X-Requested-With, password, username, x-request-id, x-ratelimit-app, x-auth-id, x-auth-key, x-guest-token, X-HTTP-Method-Override, x-oesp-username, x-oesp-token, x-cus, x-dev, X-Client-Id, X-Device-Code, X-Language-Code, UserRole, x-session-id, x-entitlements-token, x-go-dev, x-profile, x-api-key, nv-authorizations, X-Viewer-Id', 'x-edgeconnect-midmile-rtt': '3', 'x-edgeconnect-origin-mex-latency': '50', date: 'Thu, 18 Mar 2021 15:46:23 GMT', connection: 'close', 'access-control-allow-origin': 'https://www.horizon.tv' }, config: { url: 'https://prod.spark.upctv.ch/eng/web/personalization-service/v1/customer/6385378_ch/profiles', method: 'get', headers: [Object], transformRequest: [Array], transformResponse: [Array], timeout: 0, withCredentials: true, adapter: [Function: httpAdapter], xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, jar: undefined, maxRedirects: 0, data: undefined, validateStatus: [Function: validateStatus] }, request: <ref *1> ClientRequest { _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, socket: [TLSSocket], _header: 'GET /eng/web/personalization-service/v1/customer/6385378_ch/profiles HTTP/1.1\r\n' + 'Accept: application/json\r\n' + 'x-cus: 6385378_ch\r\n' + 'x-oesp-token: eyJ0eXAiOiJKV1QiLCJraWQiOiJvZXNwX3Rva2VuX3Byb2RfMjAyMDA4MTkiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI2Mzg1Mzc4X2NoIiwiaXNzIjoid2ViLWFwaS1wcm9kLW9iby5ob3Jpem9uLnR2IiwiZXhwIjoxNjE2MDEyMDczLCJpYXQiOjE2MTYwMDQ4NzMsInNpZCI6ImMyMTYwYzU2YTk4NDc4YzIyNDBlMjExNjFiZmVlYjQzOGY1MWQ4Y2FhODVmNTI5ODdiMDUwMDBkYWJhOGIyNWMifQ.lc72J0nZvhdpfYuZAQQgQYe6OasFFo2ORXDDmuslgfU\r\n' + 'x-oesp-username: xxxxxx@xxx.ch\r\n‘ + 'User-Agent: axios/0.21.1\r\n' + 'Host: prod.spark.upctv.ch\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: noopPendingOutput], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/eng/web/personalization-service/v1/customer/6385378_ch/profiles', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'prod.spark.upctv.ch', protocol: 'https:',
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype]
},
data: '<html>\r\n' +
'<head><title>403 Forbidden</title></head>\r\n' +
'<body>\r\n' +
'<center><h1>403 Forbidden</h1></center>\r\n' +
'<hr><center>nginx</center>\r\n' +
'</body>\r\n' +
'</html>\r\n'
}, isAxiosError: true, toJSON: [Function: toJSON] } 18.3.2021, 16:58:36 Got SIGTERM, shutting down Bridge...
Hi @mhary269 . Please upgrade to the beta version and make sure you update your config The beta has a huge number of bug fixes and improvements, and the session stability is much better. Note that the config changes, see here: https://github.com/jsiegenthaler/homebridge-eosstb/blob/multiDeviceSupport/README.md
I plan to release the beta as v1.0.0 in the next few days...
v1.0.0 is now available, please update
fixed in v1.0.0, please updated
Stopped working for me here are the logs
[3/17/2021, 18:37:14] [eosstb] Refreshing master channel list... [3/17/2021, 18:37:15] [eosstb] Master channel list refreshed with 152 channels, valid until 3/17/2021, 18:39:29 [3/17/2021, 18:37:15] [eosstb] getProfilesUpdate: error: Error: Request failed with status code 403 at createError (/usr/lib/node_modules/homebridge-eosstb/node_modules/axios/lib/core/createError.js:16:15) at settle (/usr/lib/node_modules/homebridge-eosstb/node_modules/axios/lib/core/settle.js:17:12) at /usr/lib/node_modules/homebridge-eosstb/node_modules/axios-cookiejar-support/lib/interceptors/response.js:83:25 at new Promise ()
at responseInterceptor (/usr/lib/node_modules/homebridge-eosstb/node_modules/axios-cookiejar-support/lib/interceptors/response.js:82:9)
at /usr/lib/node_modules/homebridge-eosstb/node_modules/axios-cookiejar-support/lib/index.js:130:67
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5) {
config: {
url: 'https://prod.spark.ziggogo.tv/nld/web/personalization-service/v1/customer/17225485_nl/profiles',
method: 'get',
headers: {
Accept: 'application/json',
'x-cus': '17225485_nl',
'x-oesp-token': 'eyJ0eXAiOiJKV1QiLCJraWQiOiJvZXNwX3Rva2VuX3Byb2RfMjAyMDA4MTkiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNzIyNTQ4NV9ubCIsImlzcyI6IndlYi1hcGktcHJvZC1vYm8uaG9yaXpvbi50diIsImV4cCI6MTYxNDc5MDI5NywiaWF0IjoxNjE0NzgzMDk3LCJzaWQiOiI4MGQxY2RhZTMwNDdkNTcwNDRlOWI3ZTU4ODcwYzdjOWEyM2E5ZWM0Y2YyN2UxY2VmMTA5MTAwYWM2NTQ5NmI1In0.IoJFMGtLIQFFtpdl3Mfd5a4FuyWOzZttAjbGFp15E5w',
'x-oesp-username': 'harrieoor_1970@live.nl',
'User-Agent': 'axios/0.21.1'
},
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function: transformResponse] ],
timeout: 0,
withCredentials: true,
adapter: [Function: httpAdapter],
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
jar: undefined,
maxRedirects: 0,
data: undefined,
validateStatus: [Function: validateStatus]
},
request: ClientRequest {
_events: [Object: null prototype] {
error: [Function: handleRequestError],
prefinish: [Function: requestOnPrefinish]
},
_eventsCount: 2,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket: TLSSocket {
_tlsOptions: [Object],
_secureEstablished: true,
_securePending: false,
_newSessionPending: false,
_controlReleased: true,
secureConnecting: true,
_SNICallback: null,
servername: 'prod.spark.ziggogo.tv',
alpnProtocol: false,
authorized: true,
authorizationError: null,
encrypted: true,
_events: [Object: null prototype],
_eventsCount: 10,
connecting: false,
_hadError: false,
_parent: null,
_host: 'prod.spark.ziggogo.tv',
_readableState: [ReadableState],
readable: true,
_maxListeners: undefined,
_writableState: [WritableState],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: undefined,
_server: null,
ssl: [TLSWrap],
_requestCert: true,
_rejectUnauthorized: true,
parser: null,
_httpMessage: [Circular],
}, response: { status: 403, statusText: 'Forbidden', headers: { 'content-type': 'text/html', 'content-length': '146', 'access-control-allow-credentials': 'true', 'access-control-allow-methods': 'GET, POST,PUT, OPTIONS, DELETE, HEAD, PATCH', 'access-control-allow-headers': 'Accept-Charset, Accept-Encoding, Access-Control-Request-Headers, Access-Control-Request-Method, Authorization, Cache-Control, Connection, Content-Encoding, Content-Type, Content-Length, DNT, Date, Host, If-Modified-Since, Keep-Alive, Origin, Referer, Server, TokenIssueTime, Transfer-Encoding, User-Agent, Vary, X-CustomHeader, X-Requested-With, password, username, x-request-id, x-ratelimit-app, x-auth-id, x-auth-key, x-guest-token, X-HTTP-Method-Override, x-oesp-username, x-oesp-token, x-cus, x-dev, X-Client-Id, X-Device-Code, X-Language-Code, UserRole, x-session-id, x-entitlements-token, x-go-dev, x-profile, x-api-key, nv-authorizations, X-Viewer-Id', 'x-edgeconnect-midmile-rtt': '0', 'x-edgeconnect-origin-mex-latency': '94', date: 'Wed, 17 Mar 2021 18:37:15 GMT', connection: 'close', 'access-control-allow-origin': 'https://www.horizon.tv' }, config: { url: 'https://prod.spark.ziggogo.tv/nld/web/personalization-service/v1/customer/17225485_nl/profiles', method: 'get', headers: [Object], transformRequest: [Array], transformResponse: [Array], timeout: 0, withCredentials: true, adapter: [Function: httpAdapter], xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, jar: undefined, maxRedirects: 0, data: undefined, validateStatus: [Function: validateStatus] }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, _last: true, chunkedEncoding: false, shouldKeepAlive: false, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, socket: [TLSSocket], connection: [TLSSocket], _header: 'GET /nld/web/personalization-service/v1/customer/17225485_nl/profiles HTTP/1.1\r\n' + 'Accept: application/json\r\n' + 'x-cus: 17225485_nl\r\n' + 'x-oesp-token: eyJ0eXAiOiJKV1QiLCJraWQiOiJvZXNwX3Rva2VuX3Byb2RfMjAyMDA4MTkiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNzIyNTQ4NV9ubCIsImlzcyI6IndlYi1hcGktcHJvZC1vYm8uaG9yaXpvbi50diIsImV4cCI6MTYxNDc5MDI5NywiaWF0IjoxNjE0NzgzMDk3LCJzaWQiOiI4MGQxY2RhZTMwNDdkNTcwNDRlOWI3ZTU4ODcwYzdjOWEyM2E5ZWM0Y2YyN2UxY2VmMTA5MTAwYWM2NTQ5NmI1In0.IoJFMGtLIQFFtpdl3Mfd5a4FuyWOzZttAjbGFp15E5w\r\n' + 'x-oesp-username: harrieoor_1970@live.nl\r\n' + 'User-Agent: axios/0.21.1\r\n' + 'Host: prod.spark.ziggogo.tv\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: noopPendingOutput], agent: [Agent], socketPath: undefined, method: 'GET', insecureHTTPParser: undefined, path: '/nld/web/personalization-service/v1/customer/17225485_nl/profiles', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'prod.spark.ziggogo.tv', protocol: 'https:',
}, isAxiosError: true, toJSON: [Function: toJSON]