MagentaTV Binding for Deutsche Telekom MR 4xx

Hello,

i tried the last snapshot. I got the USER ID :-), but the status of the MediaReceiver ist “offline”. In Openhab i have a “COMMUNICATION_ERROR”
In the logfile:
"2021-03-07 18:58:42.018 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘magentatv:receiver:[UDN]’ changed from UNKNOWN to OFFLINE (COMMUNICATION_ERROR): org.openhab.binding.magentatv.internal.MagentaTVException: Unexpected result for pairing response: Error 404: Not Found
I have model MR401B (the binding says it is a MR401B_ACN)
Has anyone an idea what’s wrong?

Martin

please post your log here

In the openhab.log is onle this one entry:

2021-03-07 21:33:56.324 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'magentatv:receiver:[UDN]' to inbox.

In the event.log are only this entrys:

2021-03-07 21:33:56.326 [INFO ] [openhab.event.InboxAddedEvent       ] - Discovery Result with UID 'magentatv:receiver:[UDN]' has been added.
2021-03-07 21:34:38.695 [INFO ] [openhab.event.InboxRemovedEvent     ] - Discovery Result with UID 'magentatv:receiver:[UDN]' has been removed.
2021-03-07 21:34:38.736 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'magentatv:receiver:[UDN]' changed from UNINITIALIZED to UNINITIALIZED (DISABLED)
2021-03-07 21:35:14.236 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'magentatv:receiver:[UDN]' changed from UNINITIALIZED (DISABLED) to INITIALIZING
2021-03-07 21:35:14.261 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'magentatv:receiver:[UDN]' changed from INITIALIZING to UNKNOWN
2021-03-07 21:35:21.871 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'magentatv:receiver:[UDN]' changed from UNKNOWN to OFFLINE (COMMUNICATION_ERROR): org.openhab.binding.magentatv.internal.MagentaTVException: Unexpected result for pairing response: Error 404: Not Found
Not Found

Do you mean an other log?
This is the log after deleting the binding, clean the cache and install the binding again.

you need to enable DEBUG logging

  • open OH console
  • enter „log:set DEBUG org.openhab.binding.magentatv“
  • delete and re-discover the thing

Hello,

perhaps the error ist by the device id, because ther are 2 different id’s (last letter - see openhab.log 2021-03-08 21:48:36.654 Device with id 18CEBC518E6D98E9DBBA5F5142C379B2Â and 2021-03-08 21:48:41.680 device 18CEBC518E6D98E9DBBA5F5142C379B2)
Here are the full logs.

The event.log after i delete the thing:

2021-03-08 21:30:19.528 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'magentatv:receiver:XXX_UDN_XXX' changed from OFFLINE (COMMUNICATION_ERROR): org.openhab.binding.magentatv.internal.MagentaTVException: Unexpected result for pairing response: Error 404: Not Found
Not Found to REMOVING
2021-03-08 21:30:19.530 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'magentatv:receiver:XXX_UDN_XXX' changed from REMOVING to REMOVED
2021-03-08 21:30:19.551 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'magentatv:receiver:XXX_UDN_XXX' changed from REMOVED to UNINITIALIZED
2021-03-08 21:30:19.587 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'magentatv:receiver:XXX_UDN_XXX' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)

The receiver was found in the inbox
Openhab.log:

2021-03-07 21:33:56.324 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 2021-03-08 21:34:56.975 [DEBUG] [covery.MagentaTVDiscoveryParticipant] - Discovered an MagentaTV Media Receiver DMS_AC6FBB78A629, UDN: XXX_UDN_XXX, Model MR401B_ACN.R01A5
2021-03-08 21:34:56.977 [DEBUG] [covery.MagentaTVDiscoveryParticipant] - Create Thing for device DMS_AC6FBB78A629 with UDN XXX_UDN_XXX, ModelMR401B_ACN
2021-03-08 21:34:56.991 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'magentatv:receiver:XXX_UDN_XXX' to inbox.

event.log:

2021-03-08 21:34:56.992 [INFO ] [openhab.event.InboxAddedEvent       ] - Discovery Result with UID 'magentatv:receiver:XXX_UDN_XXX' has been added.

Adding the the receiver as thing:
openhab.log

2021-03-08 21:39:00.256 [WARN ] [shd.server.session.ServerSessionImpl] - exceptionCaught(ServerSessionImpl[openhab@/127.0.0.1:38494])[state=Opened] InterruptedByTimeoutException: null
2021-03-08 21:39:08.709 [DEBUG] [atv.internal.MagentaTVHandlerFactory] - Create thing type magentatv:receiver

event.log

2021-03-08 21:39:08.701 [INFO ] [openhab.event.InboxRemovedEvent     ] - Discovery Result with UID 'magentatv:receiver:XXX_UDN_XXX' has been removed.
2021-03-08 21:39:08.719 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'magentatv:receiver:XXX_UDN_XXX' changed from UNINITIALIZED to INITIALIZING
2021-03-08 21:39:08.744 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'magentatv:receiver:XXX_UDN_XXX' changed from INITIALIZING to UNKNOWN
2021-03-08 21:39:13.749 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'magentatv:receiver:XXX_UDN_XXX' changed from UNKNOWN to OFFLINE (CONFIGURATION_ERROR): Credentials missing or invalid! Fill credentials into thing configuration or generate UID on the openHAB console - see README

Today i don’t get an USER ID. The password and the mailadress was correct. Password and mailadress was the same as yesterday as the USER ID was found. What’s wrong today? i don’t know. I tried do find the USER ID with the openHAB console. Result:

Attempting login...
Login with account  failed: Credentials for OAuth missing, check thing config!
openhab>
Error executing command: java.io.IOException: Pipe closed after 2 cycles
Connection to localhost closed.

After disable an enable the thing:
Still no USER ID was found
openhab.log:

2021-03-08 21:45:10.440 [DEBUG] [tatv.internal.MagentaTVDeviceManager] - Device with id 18CEBC518E6D98E9DBBA5F5142C379B2Â was not found in table (0 entries
2021-03-08 21:45:12.787 [DEBUG] [atv.internal.MagentaTVHandlerFactory] - Create thing type magentatv:receiver

event.log:

2021-03-08 21:45:10.421 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'magentatv:receiver:XXX_UDN_XXX' changed from OFFLINE (CONFIGURATION_ERROR): Credentials missing or invalid! Fill credentials into thing configuration or generate UID on the openHAB console - see README to UNINITIALIZED
2021-03-08 21:45:10.452 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'magentatv:receiver:XXX_UDN_XXX' changed from UNINITIALIZED to UNINITIALIZED (DISABLED)
2021-03-08 21:45:12.800 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'magentatv:receiver:XXX_UDN_XXX' changed from UNINITIALIZED (DISABLED) to INITIALIZING
2021-03-08 21:45:12.824 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'magentatv:receiver:XXX_UDN_XXX' changed from INITIALIZING to UNKNOWN
2021-03-08 21:45:17.827 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'magentatv:receiver:XXX_UDN_XXX' changed from UNKNOWN to OFFLINE (CONFIGURATION_ERROR): Credentials missing or invalid! Fill credentials into thing configuration or generate UID on the openHAB console - see README

After saving the thing:
openhab.log:

2021-03-08 21:46:40.853 [DEBUG] [tatv.internal.MagentaTVDeviceManager] - Device with id 18CEBC518E6D98E9DBBA5F5142C379B2Â was not found in table (0 entries
2021-03-08 21:46:40.915 [DEBUG] [tv.internal.handler.MagentaTVHandler] - DMS_AC6FBB78A629: Thing config updated, re-initialize
2021-03-08 21:46:49.876 [DEBUG] [tatv.internal.MagentaTVDeviceManager] - Device with id  was not found in table (0 entries
2021-03-08 21:46:54.882 [DEBUG] [tv.internal.handler.MagentaTVHandler] - DMS_AC6FBB78A629: Login with account XXX_t-online-Mailadresse_XXX
2021-03-08 21:46:54.884 [DEBUG] [tatv.internal.network.MagentaTVOAuth] - Authenticate with account XXX_t-online-Mailadresse_XXX
2021-03-08 21:46:54.887 [DEBUG] [tatv.internal.network.MagentaTVOAuth] - OAuth: HTTP Request
	HTTP GET https://slbedmfk11100.prod.sngtv.t-online.de:33428/EDS/JSON/Login?UserID=Guest
	Data=<none>
2021-03-08 21:46:55.500 [DEBUG] [tatv.internal.network.MagentaTVOAuth] - OAuth: HTTP Response
	Status=200 OK
	Data={"enctytoken":"1E6315590738D139FF223D4AC4B91BC1","encryptiontype":"0002","platformcode":"0200","epgurl":"http://appepmfk10008.prod.sngtv.t-online.de:33220","version":"MEM V200R008C18SPC200B043","epghttpsurl":"https://appepmfk10008.prod.sngtv.t-online.de:33227","rootCerAddr":"http://appepmfk10008.prod.sngtv.t-online.de:33220/EPG/CA/iptv_ca.der","upgAddr4IPTV":"https://slbedifk11100.prod.sngtv.t-online.de:33428/EDS/jsp/upgrade.jsp","upgAddr4OTT":"https://slbedmfk11100.prod.sngtv.t-online.de:33428/EDS/jsp/upgrade.jsp,https://slbedmfk11100.prod.sngtv.t-online.de:33428/EDS/jsp/upgrade.jsp","EPGDomainNameList":[{"key":"2","value":"appepmfk10008.prod.sngtv.t-online.de"},{"key":"3","value":"80.157.246.60"},{"key":"4","value":"80.157.246.60"},{"key":"5","value":"80.157.246.60"},{"key":"6","value":"80.157.246.60"},{"key":"7","value":"80.157.246.60"}],"sam3Para":[{"key":"SAM3ServiceURL","value":"https://accounts.login.idm.telekom.com"},{"key":"OAuthScope","value":"ngtvepg"}]}
2021-03-08 21:46:55.503 [DEBUG] [tatv.internal.network.MagentaTVOAuth] - OAuth: epghttpsurl = https://appepmfk10008.prod.sngtv.t-online.de:33227/EPG
2021-03-08 21:46:55.508 [DEBUG] [tatv.internal.network.MagentaTVOAuth] - OAuth: HTTP Request
	HTTP POST https://accounts.login.idm.telekom.com/oauth2/tokens
	Data=password=XXX_PASSWORT_XXX&scope=ngtvepg+offline_access&grant_type=password&username=XXX_t-online-Mailadresse_XXX&x_telekom.access_token.format=CompactToken&x_telekom.access_token.encoding=text%2Fbase64&client_id=10LIVESAM30000004901NGTVWEB0000000000000
2021-03-08 21:46:55.803 [DEBUG] [tatv.internal.network.MagentaTVOAuth] - OAuth: HTTP Response
	Status=200 null
	Data={"access_token":"EKDhHwJez6NAqLcCZGL8q2g-AAEHpQAAAXgTl8EYAAABeBQFnhgBAAgAAAF4E5fBGDKV6trmS72ji5MQ3yANzB8OBlHYfN_Z1RkD43MS5zdVFwaIGW6fWmSEzNgxXWtpc26rlGfh23JIoJCMm8Veuuxk-DALUZp_bwGjzHu6VygA4Awi2yahBRKK9xkmpJE-5Wauhd9p9Z1_2q9k1Gl_eGb7fxS2igJGZyUHiL9iZynCd-2OWLqtHx2TGqS43NFEk6xdHes=","expires_in":7200,"refresh_token":"RT2:7f2272f2-ce08-45c6-8c11-73177b1e8628:16f71046-c18b-4c39-b89a-15351f193970","scope":"ngtvepg","token_type":"Bearer"}
2021-03-08 21:46:55.806 [DEBUG] [tatv.internal.network.MagentaTVOAuth] - OAuth: Access Token retrieved
2021-03-08 21:46:55.808 [DEBUG] [tatv.internal.network.MagentaTVOAuth] - OAuth: Generating CSRF token
2021-03-08 21:46:55.809 [DEBUG] [tatv.internal.network.MagentaTVOAuth] - OAuth: HTTP Request
	HTTP POST https://api.prod.sngtv.magentatv.de/EPG/JSON/Authenticate
	Data={"areaid":"1","cnonce":"ececdfc4685905bdd070ace13fd5b6aa","mac":"069a476d-e7f5-4707-839c-aaf408488538","preSharedKeyID":"NGTV000001","subnetId":"4901","templatename":"NGTV","terminalid":"069a476d-e7f5-4707-839c-aaf408488538","terminaltype":"WEB-MTV","terminalvendor":"WebTV","timezone":"Europe/Berlin","usergroup":"-1","userType":3,"utcEnable":1}
2021-03-08 21:46:58.815 [INFO ] [tatv.internal.network.MagentaTVOAuth] - HTTP reqaest failed for URL https://api.prod.sngtv.magentatv.de/EPG/JSON/Authenticate
java.util.concurrent.TimeoutException: Total timeout 3000 ms elapsed
	at org.eclipse.jetty.client.TimeoutCompleteListener.onTimeoutExpired(TimeoutCompleteListener.java:51) ~[?:?]
	at org.eclipse.jetty.io.CyclicTimeout$Wakeup.run(CyclicTimeout.java:282) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
	at java.lang.Thread.run(Thread.java:834) [?:?]
2021-03-08 21:46:58.850 [DEBUG] [tv.internal.handler.MagentaTVHandler] - DMS_AC6FBB78A629: org.openhab.binding.magentatv.internal.MagentaTVException: HTTP reqaest failed for URL https://api.prod.sngtv.magentatv.de/EPG/JSON/Authenticate (class java.util.concurrent.TimeoutException: Total timeout 3000 ms elapsed)
2021-03-08 21:46:58.851 [DEBUG] [tv.internal.handler.MagentaTVHandler] - DMS_AC6FBB78A629: Communication Error - org.openhab.binding.magentatv.internal.MagentaTVException: HTTP reqaest failed for URL https://api.prod.sngtv.magentatv.de/EPG/JSON/Authenticate (class java.util.concurrent.TimeoutException: Total timeout 3000 ms elapsed), switch Thing offline

event.log:

2021-03-08 21:46:40.863 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'magentatv:receiver:XXX_UDN_XXX' changed from OFFLINE (CONFIGURATION_ERROR): Credentials missing or invalid! Fill credentials into thing configuration or generate UID on the openHAB console - see README to UNKNOWN
2021-03-08 21:46:58.855 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'magentatv:receiver:XXX_UDN_XXX' changed from UNKNOWN to OFFLINE (COMMUNICATION_ERROR): org.openhab.binding.magentatv.internal.MagentaTVException: HTTP reqaest failed for URL https://api.prod.sngtv.magentatv.de/EPG/JSON/Authenticate (class java.util.concurrent.TimeoutException: Total timeout 3000 ms elapsed)

After adding ther USER ID, that i got yesterday:
openhab.log:

2021-03-08 21:48:36.649 [DEBUG] [tv.internal.handler.MagentaTVHandler] - DMS_AC6FBB78A629: Thing config updated, re-initialize
2021-03-08 21:48:36.654 [DEBUG] [tatv.internal.MagentaTVDeviceManager] - Device with id 18CEBC518E6D98E9DBBA5F5142C379B2Â was not found in table (0 entries
2021-03-08 21:48:41.680 [DEBUG] [tv.internal.handler.MagentaTVControl] - : Check device 18CEBC518E6D98E9DBBA5F5142C379B2 (192.168.2.132:8081)
2021-03-08 21:48:41.696 [DEBUG] [tv.internal.handler.MagentaTVControl] - : Wake-on-LAN is enabled
2021-03-08 21:48:41.707 [DEBUG] [tatv.internal.MagentaTVDeviceManager] - New device added: (UDN=XXX_UDN_XXX ,deviceId=18CEBC518E6D98E9DBBA5F5142C379B2, ipAddress=192.168.2.132, macAddress=AC6FBB78A629), now 1 devices.
2021-03-08 21:48:41.708 [DEBUG] [tv.internal.handler.MagentaTVControl] - : Subscribe Event Channel (terminalID=18CEBC518E6D98E9DBBA5F5142C379B2, 192.168.2.132:8081
2021-03-08 21:48:41.714 [DEBUG] [tv.internal.handler.MagentaTVControl] - : SUBSCRIBE returned SID bf53d4f5-eb3e-5391-afcf-e746904ef0e4
2021-03-08 21:48:41.716 [DEBUG] [tv.internal.handler.MagentaTVControl] - : Send Pairing Request (deviceID=18CEBC518E6D98E9DBBA5F5142C379B2, type=PAD:openHAB, userID=XXX_USER-ID_XXX)
2021-03-08 21:48:41.724 [DEBUG] [tv.internal.handler.MagentaTVHandler] - DMS_AC6FBB78A629: org.openhab.binding.magentatv.internal.MagentaTVException: Unexpected result for pairing response: Error 404: Not Found
Not Found
2021-03-08 21:48:41.726 [DEBUG] [tv.internal.handler.MagentaTVHandler] - DMS_AC6FBB78A629: Communication Error - org.openhab.binding.magentatv.internal.MagentaTVException: Unexpected result for pairing response: Error 404: Not Found
Not Found, switch Thing offline

event.log:

2021-03-08 21:48:36.676 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'magentatv:receiver:XXX_UDN_XXX' changed from OFFLINE (COMMUNICATION_ERROR): org.openhab.binding.magentatv.internal.MagentaTVException: HTTP reqaest failed for URL https://api.prod.sngtv.magentatv.de/EPG/JSON/Authenticate (class java.util.concurrent.TimeoutException: Total timeout 3000 ms elapsed) to UNKNOWN
2021-03-08 21:48:41.731 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'magentatv:receiver:XXX_UDN_XXX' changed from UNKNOWN to OFFLINE (COMMUNICATION_ERROR): org.openhab.binding.magentatv.internal.MagentaTVException: Unexpected result for pairing response: Error 404: Not Found
Not Found

something is wired in your setup

  • delete all MagebtaTV thing
  • remove the magentatv jar grom the addons folder
  • make sure MagatenTV is nit installed in the UU
  • open OH console, run bundle:list to check that no magentatv is there anymore; enable TRACE log
  • stop OH
  • run openhab-cli clean-cache
  • start OH, wait 2 minutrs
  • copy the DEV build into the addons folder
  • run the discovery
  • add thing, set credentials in the thing config
  • post log extract of full initialization (no sniplets)

Hello Markus,

i did everything you said. I think, that someting in my setup is not okay. i had in the openhab.log in the first 10 seconds adding the thing about 6000 lines!!!, most of dem [DEBUG]. I think you don’t want to see that.
I think it’s better and easier solution to make a fresh insallation (thats no problem - i’m still testing openhab and so i have not many things i lost) in the next days.
Thanks for your help and the binding
Martin

Hello Markus,

i made a new installation. Same problem. If you want, i can post the log, but the log is very huge.
After i got the same error i tested something. I deleted all my bindings and the magentaTV-thing, but no other things. Then i cleaned the cache. After that i put your binding into the addons-folder. Openhab didn’t find the binding and the receiver. After that i put an other binding into the addons-folder. Openhab find the other binding but not your binding and not the receiver. After that i install the hue-binding, openhab found all the bindings and the receiver.
This is the log as i put your binding into the addons-folder:

2021-03-13 22:32:31.525 [INFO ] [org.apache.felix.fileinstall        ] - Installing bundle org.openhab.binding.magentatv / 3.1.0.202103030657
2021-03-13 22:32:31.538 [DEBUG] [ell.impl.action.osgi.CommandExtender] - org.openhab.binding.magentatv (216): Starting destruction process
2021-03-13 22:32:31.539 [DEBUG] [ell.impl.action.osgi.CommandExtender] - org.openhab.binding.magentatv (216): Not an extended bundle or destruction of extension already finished
2021-03-13 22:32:31.540 [DEBUG] [org.osgi.framework.BundleEvent      ] - BundleEvent INSTALLED
2021-03-13 22:32:31.597 [DEBUG] [org.osgi.framework.FrameworkEvent   ] - FrameworkEvent PACKAGES REFRESHED
2021-03-13 22:32:31.643 [WARN ] [org.apache.felix.fileinstall        ] - Error while starting bundle: file:/usr/share/openhab/addons/org.openhab.binding.magentatv-3.1.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.magentatv [216]
  Unresolved requirement: Import-Package: org.openhab.core.config.discovery.upnp

	at org.eclipse.osgi.container.Module.start(Module.java:444) ~[org.eclipse.osgi-3.12.100.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) ~[org.eclipse.osgi-3.12.100.jar:?]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.6.4]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.6.4]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:520) [bundleFile:3.6.4]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.6.4]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.6.4]
2021-03-13 22:32:39.249 [DEBUG] [org.eclipse.jetty.io.IdleTimeout    ] - SocketChannelEndPoint@8866a4{/192.168.2.120:55736<->/192.168.2.101:8080,OPEN,fill=-,flush=-,to=30000/30000}{io=0/0,kio=0,kro=1}->HttpConnection@172937e[p=HttpParser{s=END,0 of -1},g=HttpGenerator@8070f2{s=COMMITTED}]=>HttpChannelOverHttp@4f9945{r=2,c=true,c=false/false,a=ASYNC_WAIT,uri=//192.168.2.101:8080/rest/events?topics=openhab/addons/*/*,age=90044} idle timeout check, elapsed: 30000 ms, remaining: 0 ms
2021-03-13 22:32:39.250 [DEBUG] [org.eclipse.jetty.io.IdleTimeout    ] - SocketChannelEndPoint@8866a4{/192.168.2.120:55736<->/192.168.2.101:8080,OPEN,fill=-,flush=-,to=30001/30000}{io=0/0,kio=0,kro=1}->HttpConnection@172937e[p=HttpParser{s=END,0 of -1},g=HttpGenerator@8070f2{s=COMMITTED}]=>HttpChannelOverHttp@4f9945{r=2,c=true,c=false/false,a=ASYNC_WAIT,uri=//192.168.2.101:8080/rest/events?topics=openhab/addons/*/*,age=90046} idle timeout expired
2021-03-13 22:32:39.251 [DEBUG] [org.eclipse.jetty.io.FillInterest   ] - onFail FillInterest@fb5596{null}
java.util.concurrent.TimeoutException: Idle timeout expired: 30000/30000 ms
	at org.eclipse.jetty.io.IdleTimeout.checkIdleTimeout(IdleTimeout.java:171) [bundleFile:9.4.20.v20190813]
	at org.eclipse.jetty.io.IdleTimeout.idleCheck(IdleTimeout.java:113) [bundleFile:9.4.20.v20190813]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
	at java.lang.Thread.run(Thread.java:834) [?:?]
2021-03-13 22:32:39.253 [DEBUG] [org.eclipse.jetty.io.WriteFlusher   ] - ignored: WriteFlusher@5ac06e{IDLE}->null
java.util.concurrent.TimeoutException: Idle timeout expired: 30000/30000 ms
	at org.eclipse.jetty.io.IdleTimeout.checkIdleTimeout(IdleTimeout.java:171) [bundleFile:9.4.20.v20190813]
	at org.eclipse.jetty.io.IdleTimeout.idleCheck(IdleTimeout.java:113) [bundleFile:9.4.20.v20190813]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
	at java.lang.Thread.run(Thread.java:834) [?:?]
2021-03-13 22:32:39.255 [DEBUG] [rg.eclipse.jetty.io.AbstractEndPoint] - Ignored idle endpoint SocketChannelEndPoint@8866a4{/192.168.2.120:55736<->/192.168.2.101:8080,OPEN,fill=-,flush=-,to=30006/30000}{io=0/0,kio=0,kro=1}->HttpConnection@172937e[p=HttpParser{s=END,0 of -1},g=HttpGenerator@8070f2{s=COMMITTED}]=>HttpChannelOverHttp@4f9945{r=2,c=true,c=false/false,a=ASYNC_WAIT,uri=//192.168.2.101:8080/rest/events?topics=openhab/addons/*/*,age=90050}
2021-03-13 22:33:09.018 [DEBUG] [org.apache.felix.configadmin        ] - getConfiguration(pid=org.openhab.addons)
2021-03-13 22:33:09.019 [DEBUG] [org.apache.felix.configadmin        ] - Found cached configuration org.openhab.addons bound to mvn:org.openhab.core.bundles/org.openhab.core.karaf/3.0.1
2021-03-13 22:33:09.256 [DEBUG] [org.eclipse.jetty.io.IdleTimeout    ] - SocketChannelEndPoint@8866a4{/192.168.2.120:55736<->/192.168.2.101:8080,OPEN,fill=-,flush=-,to=30000/30000}{io=0/0,kio=0,kro=1}->HttpConnection@172937e[p=HttpParser{s=END,0 of -1},g=HttpGenerator@8070f2{s=COMMITTED}]=>HttpChannelOverHttp@4f9945{r=2,c=true,c=false/false,a=ASYNC_WAIT,uri=//192.168.2.101:8080/rest/events?topics=openhab/addons/*/*,age=120052} idle timeout check, elapsed: 30000 ms, remaining: 0 ms
2021-03-13 22:33:09.257 [DEBUG] [org.eclipse.jetty.io.IdleTimeout    ] - SocketChannelEndPoint@8866a4{/192.168.2.120:55736<->/192.168.2.101:8080,OPEN,fill=-,flush=-,to=30001/30000}{io=0/0,kio=0,kro=1}->HttpConnection@172937e[p=HttpParser{s=END,0 of -1},g=HttpGenerator@8070f2{s=COMMITTED}]=>HttpChannelOverHttp@4f9945{r=2,c=true,c=false/false,a=ASYNC_WAIT,uri=//192.168.2.101:8080/rest/events?topics=openhab/addons/*/*,age=120053} idle timeout expired
2021-03-13 22:33:09.258 [DEBUG] [org.eclipse.jetty.io.FillInterest   ] - onFail FillInterest@fb5596{null}
java.util.concurrent.TimeoutException: Idle timeout expired: 30000/30000 ms
	at org.eclipse.jetty.io.IdleTimeout.checkIdleTimeout(IdleTimeout.java:171) [bundleFile:9.4.20.v20190813]
	at org.eclipse.jetty.io.IdleTimeout.idleCheck(IdleTimeout.java:113) [bundleFile:9.4.20.v20190813]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
	at java.lang.Thread.run(Thread.java:834) [?:?]
2021-03-13 22:33:09.259 [DEBUG] [org.eclipse.jetty.io.WriteFlusher   ] - ignored: WriteFlusher@5ac06e{IDLE}->null
java.util.concurrent.TimeoutException: Idle timeout expired: 30000/30000 ms
	at org.eclipse.jetty.io.IdleTimeout.checkIdleTimeout(IdleTimeout.java:171) [bundleFile:9.4.20.v20190813]
	at org.eclipse.jetty.io.IdleTimeout.idleCheck(IdleTimeout.java:113) [bundleFile:9.4.20.v20190813]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
	at java.lang.Thread.run(Thread.java:834) [?:?]
2021-03-13 22:33:09.261 [DEBUG] [rg.eclipse.jetty.io.AbstractEndPoint] - Ignored idle endpoint SocketChannelEndPoint@8866a4{/192.168.2.120:55736<->/192.168.2.101:8080,OPEN,fill=-,flush=-,to=30005/30000}{io=0/0,kio=0,kro=1}->HttpConnection@172937e[p=HttpParser{s=END,0 of -1},g=HttpGenerator@8070f2{s=COMMITTED}]=>HttpChannelOverHttp@4f9945{r=2,c=true,c=false/false,a=ASYNC_WAIT,uri=//192.168.2.101:8080/rest/events?topics=openhab/addons/*/*,age=120057}
2021-03-13 22:33:39.262 [DEBUG] [org.eclipse.jetty.io.IdleTimeout    ] - SocketChannelEndPoint@8866a4{/192.168.2.120:55736<->/192.168.2.101:8080,OPEN,fill=-,flush=-,to=30000/30000}{io=0/0,kio=0,kro=1}->HttpConnection@172937e[p=HttpParser{s=END,0 of -1},g=HttpGenerator@8070f2{s=COMMITTED}]=>HttpChannelOverHttp@4f9945{r=2,c=true,c=false/false,a=ASYNC_WAIT,uri=//192.168.2.101:8080/rest/events?topics=openhab/addons/*/*,age=150058} idle timeout check, elapsed: 30000 ms, remaining: 0 ms
2021-03-13 22:33:39.264 [DEBUG] [org.eclipse.jetty.io.IdleTimeout    ] - SocketChannelEndPoint@8866a4{/192.168.2.120:55736<->/192.168.2.101:8080,OPEN,fill=-,flush=-,to=30001/30000}{io=0/0,kio=0,kro=1}->HttpConnection@172937e[p=HttpParser{s=END,0 of -1},g=HttpGenerator@8070f2{s=COMMITTED}]=>HttpChannelOverHttp@4f9945{r=2,c=true,c=false/false,a=ASYNC_WAIT,uri=//192.168.2.101:8080/rest/events?topics=openhab/addons/*/*,age=150060} idle timeout expired
2021-03-13 22:33:39.265 [DEBUG] [org.eclipse.jetty.io.FillInterest   ] - onFail FillInterest@fb5596{null}
java.util.concurrent.TimeoutException: Idle timeout expired: 30000/30000 ms
	at org.eclipse.jetty.io.IdleTimeout.checkIdleTimeout(IdleTimeout.java:171) [bundleFile:9.4.20.v20190813]
	at org.eclipse.jetty.io.IdleTimeout.idleCheck(IdleTimeout.java:113) [bundleFile:9.4.20.v20190813]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]

I hope this helps.

you need to install the up p transport before installing the binding, see READMEbeta.md
It seems like you started OH in DEBUG modr, instead go to the OH console and enter „log:set TRACE org.openhab.binding.magebtatv“ and start OH with start.sh

I don’t understand, what’s wrong in my installation.
I installed the upnp and after that i saw it in the OH console with bundle:list. After a reboot the upnp was not more to see with bundle:list. I don’t know why. Maybe this is the reason, why the binding is not working. I will test and “googlen” in the next days, when i habe time

install UPnP on the OH console and then copy the magenta jar into the addons folder. The framework cleans up bundles, which are no longer required. Make sure both bundles are listed under bundle:list.

good news: The PR has been merged in the distro, so this change will be included in the next 3.1 milestone build.

Next try. I did a fresh installation. At first i insatalled UPnP, then i set the log level and then installed the binding. Same probleme, but now the log is not so long :slight_smile:

2021-03-22 22:19:17.683 [DEBUG] [covery.MagentaTVDiscoveryParticipant] - Discovered an MagentaTV Media Receiver DMS_AC6FBB78A629, UDN: 905887e3-53bc-5ab8-a28f-AC6FBB78A629, Model MR401B_ACN.R01A5
2021-03-22 22:19:17.685 [DEBUG] [covery.MagentaTVDiscoveryParticipant] - Create Thing for device DMS_AC6FBB78A629 with UDN 905887e3-53bc-5ab8-a28f-AC6FBB78A629, ModelMR401B_ACN
2021-03-22 22:19:17.703 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'magentatv:receiver:905887e3-53bc-5ab8-a28f-AC6FBB78A629' to inbox.
2021-03-22 22:21:13.938 [DEBUG] [atv.internal.MagentaTVHandlerFactory] - Create thing type magentatv:receiver
2021-03-22 22:21:56.159 [DEBUG] [tv.internal.handler.MagentaTVHandler] - DMS_AC6FBB78A629: Thing config updated, re-initialize
2021-03-22 22:21:56.165 [TRACE] [tatv.internal.MagentaTVDeviceManager] - Lookup device, uniqueId=18CEBC518E6D98E9DBBA5F5142C379B2
2021-03-22 22:21:56.167 [DEBUG] [tatv.internal.MagentaTVDeviceManager] - Device with id 18CEBC518E6D98E9DBBA5F5142C379B2Â was not found in table (0 entries
2021-03-22 22:22:01.186 [DEBUG] [tv.internal.handler.MagentaTVHandler] - DMS_AC6FBB78A629: Login with account XXX
2021-03-22 22:22:01.188 [DEBUG] [tatv.internal.network.MagentaTVOAuth] - Authenticate with account XXX
2021-03-22 22:22:01.195 [DEBUG] [tatv.internal.network.MagentaTVOAuth] - OAuth: HTTP Request
	HTTP GET https://slbedmfk11100.prod.sngtv.t-online.de:33428/EDS/JSON/Login?UserID=Guest
	Data=<none>
2021-03-22 22:22:01.197 [TRACE] [tatv.internal.network.MagentaTVOAuth] - 
	Headers=Accept-Encoding: gzip
User-Agent: Jetty/9.4.20.v20190813
Accept: */*
Cache-Control: no-cache
Host: slbedmfk11100.prod.sngtv.t-online.de
Accept-Language: en-US,en;q=0.9,de;q=0.8

	Cookies=[]
2021-03-22 22:22:01.760 [DEBUG] [tatv.internal.network.MagentaTVOAuth] - OAuth: HTTP Response
	Status=200 OK
	Data={"enctytoken":"B331A3CF4CB1B51B59C76E68441C4B3","encryptiontype":"0002","platformcode":"0200","epgurl":"http://appepmfk20001.prod.sngtv.t-online.de:33220","version":"MEM V200R008C18SPC200B043","epghttpsurl":"https://appepmfk20001.prod.sngtv.t-online.de:33227","rootCerAddr":"http://appepmfk20001.prod.sngtv.t-online.de:33220/EPG/CA/iptv_ca.der","upgAddr4IPTV":"https://slbedifk11100.prod.sngtv.t-online.de:33428/EDS/jsp/upgrade.jsp","upgAddr4OTT":"https://slbedmfk11100.prod.sngtv.t-online.de:33428/EDS/jsp/upgrade.jsp,https://slbedmfk11100.prod.sngtv.t-online.de:33428/EDS/jsp/upgrade.jsp","EPGDomainNameList":[{"key":"3","value":"62.155.248.115"},{"key":"4","value":"62.155.248.115"},{"key":"5","value":"62.155.248.115"},{"key":"6","value":"62.155.248.115"},{"key":"7","value":"62.155.248.115"},{"key":"2","value":"appepmfk20001.prod.sngtv.t-online.de"}],"sam3Para":[{"key":"SAM3ServiceURL","value":"https://accounts.login.idm.telekom.com"},{"key":"OAuthScope","value":"ngtvepg"}]}
2021-03-22 22:22:01.761 [TRACE] [tatv.internal.network.MagentaTVOAuth] - 
	Headers=Server: openresty/1.0.0.2
Date: Mon, 22 Mar 2021 21:22:01 GMT
Content-Type: text/plain;charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Keep-Alive: timeout=3600, max=767
X-Frame-Options: SAMEORIGIN
Access-Control-Allow-Methods: POST,OPTIONS,GET,*
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: accept, origin, content-type,Authorization,authorization,X_CSRFToken,If-None-Match,*
Set-Cookie: JSESSIONID=H3EBEA9551DC4A3835A80A90772CB0B45BBA735E3281682D20BE291355C2AACF5; Path=/EPG/; Secure; HttpOnly
Content-Encoding: gzip
Vary: accept-encoding
X-XSS-Protection: 1; mode=block
X-Download-Options: nosniff
X-Content-Type-Options: nosniff


2021-03-22 22:22:01.766 [DEBUG] [tatv.internal.network.MagentaTVOAuth] - OAuth: epghttpsurl = https://appepmfk20001.prod.sngtv.t-online.de:33227/EPG
2021-03-22 22:22:01.767 [TRACE] [tatv.internal.network.MagentaTVOAuth] - sam3Para.SAM3ServiceURL = https://accounts.login.idm.telekom.com
2021-03-22 22:22:01.768 [TRACE] [tatv.internal.network.MagentaTVOAuth] - sam3Para.OAuthScope = ngtvepg
2021-03-22 22:22:01.772 [DEBUG] [tatv.internal.network.MagentaTVOAuth] - OAuth: HTTP Request
	HTTP POST https://accounts.login.idm.telekom.com/oauth2/tokens
	Data=password=XXX&scope=ngtvepg+offline_access&grant_type=password&username=XXX&x_telekom.access_token.format=CompactToken&x_telekom.access_token.encoding=text%2Fbase64&client_id=10LIVESAM30000004901NGTVWEB0000000000000
2021-03-22 22:22:01.773 [TRACE] [tatv.internal.network.MagentaTVOAuth] - 
	Headers=Accept-Encoding: gzip
User-Agent: Jetty/9.4.20.v20190813
Accept: */*
Cache-Control: no-cache
Host: slbedmfk11100.prod.sngtv.t-online.de
Accept-Language: en-US,en;q=0.9,de;q=0.8
Content-Length: 244
Cookie: JSESSIONID=H3EBEA9551DC4A3835A80A90772CB0B45BBA735E3281682D20BE291355C2AACF5

	Cookies=[]
2021-03-22 22:22:02.135 [DEBUG] [tatv.internal.network.MagentaTVOAuth] - OAuth: HTTP Response
	Status=200 null
	Data={"access_token":"EKBKhb_14kFFFqIRgWjnCVoOAAEHpQAAAXhb0OzIAAABeFw-ycgBAAgAAAF4W9DsyPsrNwshp1xtkYyjzVsSddxKfV34mwAjlZ5hcTFIwEzxxayXGhJiGxJOD-8-oHfpEpMfQ7gjlEDJaL2Ug8e6HkxRwjE5kC0KV2xPoL1OG0_y7U4idLLoYWm3VM2VXEq3_DdQj3CmPCSC0HKRfGNa3v7i3QLnEZsa9CMqZn_qWTVHSIcJt5rQBS3efh3Tl-kcXCsq6_M=","expires_in":7200,"refresh_token":"RT2:1df4d001-64be-44a9-b08b-2d4a8a3594a1:ba58dd34-7545-470a-915c-ca8c33fe5a8a","scope":"ngtvepg","token_type":"Bearer"}
2021-03-22 22:22:02.136 [TRACE] [tatv.internal.network.MagentaTVOAuth] - 
	Headers=Date: Mon, 22 Mar 2021 21:22:01 GMT
Server: Apache
Access-Control-Allow-Origin: *
Content-Type: application/json;charset=UTF-8
SH: 043416f195991df4f1c926fbe0b9a838
P3P: CP="NOI CURa TAIa OUR NOR UNI"
Strict-Transport-Security: max-age=31536000; includeSubDomains
Transfer-Encoding: chunked


2021-03-22 22:22:02.137 [DEBUG] [tatv.internal.network.MagentaTVOAuth] - OAuth: Access Token retrieved
2021-03-22 22:22:02.138 [DEBUG] [tatv.internal.network.MagentaTVOAuth] - OAuth: Generating CSRF token
2021-03-22 22:22:02.140 [DEBUG] [tatv.internal.network.MagentaTVOAuth] - OAuth: HTTP Request
	HTTP POST https://api.prod.sngtv.magentatv.de/EPG/JSON/Authenticate
	Data={"areaid":"1","cnonce":"d9621586dbbde952a19dedb55fee4a61","mac":"1ffc807c-67ed-49a2-ae13-1d723b2e11b9","preSharedKeyID":"NGTV000001","subnetId":"4901","templatename":"NGTV","terminalid":"1ffc807c-67ed-49a2-ae13-1d723b2e11b9","terminaltype":"WEB-MTV","terminalvendor":"WebTV","timezone":"Europe/Berlin","usergroup":"-1","userType":3,"utcEnable":1}
2021-03-22 22:22:02.141 [TRACE] [tatv.internal.network.MagentaTVOAuth] - 
	Headers=Accept-Encoding: gzip
User-Agent: Jetty/9.4.20.v20190813
Origin: https://web.magentatv.de
Accept: */*
Cache-Control: no-cache
Referer: https://web.magentatv.de/
Host: api.prod.sngtv.magentatv.de
Accept-Language: en-US,en;q=0.9,de;q=0.8
Content-Length: 346
Cookie: JSESSIONID=H3EBEA9551DC4A3835A80A90772CB0B45BBA735E3281682D20BE291355C2AACF5

	Cookies=[]
2021-03-22 22:22:02.299 [DEBUG] [tatv.internal.network.MagentaTVOAuth] - OAuth: HTTP Response
	Status=200 OK
	Data={"retcode":"0","retmsg":"authenticate success .","upgradedomain":"https://slbedifk11100.prod.sngtv.t-online.de:33428/EDS/jsp/upgrade.jsp","mgmtdomain":"http://www.www.www","ntpdomain":"ntp.prod.sngtv.t-online.de","ntpdomainbackup":"ntp.prod.sngtv.t-online.de","areaid":"1","templatename":"default","usergroup":"-1","epgurl":"http://api.prod.sngtv.magentatv.de:33220/EPG","transportprotocol":"-1","ca":{},"sessionid":"A0D7B8848D06739C52268DC9C35D62B5","currenttime":"20210322212202","parameters":{"favouritelimit":"500","bookmarklimit":"10","locklimit":"500","profilelimit":"5","mashupaddress":"http://mashup","tvmsheartbiturl":"http://www.TVMSHeartbitUrl.com","tvmsvodheartbiturl":"http://www.TVMSVODHeartbitUrl.com","tvmsheartbitinterval":"600","tvmsdelaylength":"60","issupportpublicad":"0","adplatformurl":"http://www.ADPlatformUrl.com","adpublicstrategyurl":"http://api.prod.sngtv.magentatv.de:33220/EPG/XML/AdPublicStrategy","adplayovernotifyurl":"http://api.prod.sngtv.magentatv.de:33220/EPG/XML/AdPlayOverNotify","bitband":"-1","giftLoyaltyByBrowseAd":"0","giftLoyaltyByReceiveAdWithSMS":"0","giftLoyaltyByReceiveAdWithEmail":"0","repeatTVLength":"20","restartTVOffset":"10","pltvDelay":"10","DVBEanble":"0","sqmurl":"https://hcltmcfk11100.prod.sngtv.t-online.de:37020/init","favoCatalogLimit":"10"},"users":[{"identityid":"guest","username":"Admin","role":"0"}],"isTriplePlay":"1","STBRCUsubscribed":"0","bandwidth":"-1","isFirstLogin":"0","dsmdomain":"www.www.www","timezone":"GMT+01:00","dstTime":"20210328010000,20211031010000","subnetId":"4901","lockedNum":"0","waitUnLockTime":"0","remainLockedNum":"0","userID":"guest","loginOccasion":"0","paymentType":"0","deviceId":"22584397105184691","profileId":"guest","needSignEULA":"0","needSignPrivacyStatement":"0","pwdResetTime":"00000000000000","availableHLSOTTNum":"0","bossID":"DTBOSS","profiles":[{"id":"guest","name":"Admin","quota":"-1","levels":"0","profiletype":"0","hidemessage":"0","lang":"1","reviceSMS":"1","needSubscriberCnfmFlag":"1","isDisplayInfoBar":"0","channellistType":"1","sendSMSForReminder":"0","reminderInterval":"5","leadTimeForSendReminder":"5","profilePINEnable":"1","multiscreenEnable":"0","purchaseEnable":"1","loginName":"guest","subscriberId":"guest","isFilterLevel":"0"}],"configurations":[{"cfgType":"0","extensionInfo":[{"key":"Default_RecCfgSeriesTimeMode","value":"0"},{"key":"OPTEnhance","value":"0"},{"key":"AVSDescriptionUrl","value":"http://www.t-online.de/service/redir/entertaintv_web_avs-pinverwaltung.htm"},{"key":"OTTStreamingLowestQuality","value":"650"},{"key":"SAM3LockTime","value":"86400"},{"key":"FaceBookLinkURL","value":"http://www.t-online.de/service/redir/entertaintv_web_facebook.htm"},{"key":"Default_RecCfgPVRType","value":"1"},{"key":"OTT_PRODUCT_LANDINGPAGE_URL","value":"http://www.telekom.de/magenta-zuhause/magenta-tv-plus"},{"key":"UnratedName","value":"Keine Altersangabe"},{"key":"CFG_Queue_Max_Data_Items_STB_UsageEvents","value":"200"},{"key":"AppStoreDownLoadURL","value":"https://itunes.apple.com/de/app/magentatv/id1054468721?l=de&ls=1&mt=8"},{"key":"Default_RecCfgPostPadding","value":"5"},{"key":"recomScenarioId4vod","value":"i2i-vod"},{"key":"recomScenarioId4tv","value":"i2i-tv"},{"key":"OTTSuffixForTransformHLStoDASH","value":"/policymode_hls2dash.mpd"},{"key":"OTTChannelNameSpace","value":"3"},{"key":"ATI_UE_Max_Local_Storage_Time","value":"24"},{"key":"ATI_UE_Queue_Max_Data_Items","value":"100"},{"key":"partnerNavigatorID","value":"partnerIds"},{"key":"StartPageDisableChannel","value":"pro7;pro7-fun;pro7-maxx;sat.1;sat.1-bayern;sat.1-emotions;sat.1-gold;sat.1-hh-sh;sat.1-nds-bremen;sat.1-nrw;sat.1-rhlpf-hessen;kabel-1;kabel-1-classics;KID00773-kabeleinsDoku;sixx;n24;KID00772-N24Doku;"},{"key":"AVSURL","value":"https://ng-uac.sfm.t-online.de/ClientH/index.html"},{"key":"YouTubeAPIKey","value":"AIzaSyA57z2R2xzcL7Fg1PEeoQHHiiHg1bTcRmk"},{"key":"Kontakt","value":"http://www.t-online.de/service/redir/entertaintv_web_kontakt.htm"},{"key":"OTT_DATA_PRIVACY_URL","value":"https://www.telekom.de/datenschutzhinweise/download/171.pdf"},{"key":"AdultName","value":"Erwachsenenangebot"},{"key":"DefaultRatingSystem","value":"Sonstige"},{"key":"LessThan_TimeLength_TV","value":"10"},{"key":"loginLinkUrl","value":"http://www.telekom.de/magenta-zuhause/magenta-tv-plus"},{"key":"YouTubeNumberPerPage","value":"20"},{"key":"ThirdPartyLinkUrl","value":"https://accounts.login.idm.telekom.com/.well-known/openid-configuration"},{"key":"MSTV_IPTV_URL","value":"http://www.t-online.de/service/redir/entertaintv_web_entertain.htm"},{"key":"Datenschutz","value":"http://www.t-online.de/service/redir/entertaintv_web_datenschutz.htm"},{"key":"PCONURL","value":"https://ng-uac.sfm.t-online.de/ClientH/index.html"},{"key":"ATI_UE_REFRESH_THIRDPARTY","value":"600"},{"key":"trackingSiteId","value":"562763"},{"key":"YouTubeSafeSearch","value":"strict"},{"key":"Impressum","value":"http://www.t-online.de/service/redir/entertaintv_web_impressum.htm"},{"key":"TwitterLinkURL","value":"http://www.t-online.de/service/redir/entertaintv_web_twitter.htm"},{"key":"ATI_UE_RM_HITS_ENABLED","value":"yes"},{"key":"FAQ_URL_DT","value":"https://www.telekom.de/hilfe/festnetz-internet-tv/magentatv/magentatv-app"},{"key":"ATI_TRACKING_URL","value":"https://logs1204.xiti.com/hit.xiti"},{"key":"OTT_HTTP_Header_VUID","value":"deviceId"},{"key":"TOPMenuID","value":"44451"},{"key":"NewTOPMenuID","value":"79969"},{"key":"whetherShowEdgeLogo","value":"https://www.microsoft.com/de-de/windows/microsoft-edge"},{"key":"Hilfe","value":"https://www.telekom.de/hilfe/festnetz-internet-tv/magentatv/magentatv-app"},{"key":"JITX_Deployment_Date","value":"201805"},{"key":"OTT_MIGRATED_CUSTOMER_INFORMATION_URL","value":"https://www.telekom.de/zuhause/wechseln-zu-magenta-tv"},{"key":"CFG_Queue_Max_Data_Items_OTT_UsageEvents","value":"200"},{"key":"SplashScreenDisplayTime","value":"3"},{"key":"Entertain","value":"http://www.t-online.de/service/redir/entertaintv_web_entertain.htm"},{"key":"IPTVChannelNameSpace","value":"2"},{"key":"ATI_UI_PAGE_HITS_ENABLED","value":"yes"},{"key":"PIN_WAIT_TIME3","value":"600"},{"key":"PIN_WAIT_TIME2","value":"30"},{"key":"PIN_WAIT_TIME1","value":"10"},{"key":"OTT_EIT_CHECK_INTERVAL","value":"5"},{"key":"PromotionPackagePlatform","value":"Windows,Mac,iOS, Android"},{"key":"ForgetAVSPINURL","value":"http://www.t-online.de/service/redir/entertaintv_web_avs-pinverwaltung.htm"},{"key":"sqmLoginAccount","value":"89791cdca4ebd577c68023ac96ca4319"},{"key":"OTT_RESIDENT_VERIFICATION_URL","value":"https://www.telekom.de/magenta-zuhause/kundencenter/tv-freischaltungen/"},{"key":"YoutubeID","value":"273"},{"key":"MSTV_SAT_RC_URL","value":"http://www.t-online.de/service/redir/entertaintv_web_entertain.htm"},{"key":"YTChannelUrl","value":"https://www.youtube.com/channel/%contentID%"},{"key":"ATI_UE_REFRESH_DOWNLOAD","value":"300"},{"key":"LessThan_TimeLength_VOD","value":"0"},{"key":"OTT_Sub_Net_ID","value":"2"},{"key":"MSTV_SAT_PM_URL","value":"https://programm-manager.telekom.de/"},{"key":"SesCtrlESwitch","value":"0"},{"key":"promotionBarExpiredTime","value":"336"},{"key":"NPVRStorageSubUrl","value":"http://www.t-online.de/service/redir/entertaintv_web_buchung_entertaintvmobilspeicherplatz.htm"},{"key":"Default_RecCfgPrePadding","value":"2"},{"key":"Default_RecCfgOneClickEnable","value":"0"},{"key":"contentTypeNavigatorID","value":"type"},{"key":"ATI_UE_PAGE_HITS_ENABLED","value":"yes"},{"key":"sqmLoginSeed","value":"ba43738e8035d191ebd4a77c48534ea2f475554ce8e7e25f8a9d7bae21c83387ee3f541ab955053990fd58991be01885d84e2494ad0fb1f4d9c1762e0056c3e1f5ef6e768f591b3dd9934db149e3d5ab"},{"key":"DRAPostPhoneTime","value":"3600"},{"key":"bufferLength","value":"10"},{"key":"availabilityNavigatorID","value":"availability"},{"key":"OTTPruductID","value":"Pro0000002"},{"key":"CFG_Interval_Duration_OTT_UsageEvents","value":"3600"},{"key":"YouTubeSearchURL","value":"https://www.googleapis.com/youtube/v3/search"},{"key":"VASCategoryID","value":"2000000063"},{"key":"CFG_Queue_Max_Hot_Stat_STB_UsageEvents","value":"100"},{"key":"recommendBrowseVersion","value":"Please use Firefox 28 or over 28 on Windows 7; Google Chrome 33 or over 33 on Windows 7 ; Internet Explorer 11 or over 11 on Windows 8.1; Safari 5.0 or over 5.0 on MAC."},{"key":"TealinumJSSDKURL","value":"https://tags-eu.tiqcdn.com/utag/telekom/ngtv-app/prod/utag.js"},{"key":"LessThan_TimeLength","value":"10"},{"key":"channelCategoryID","value":"2000000142"},{"key":"IPTVChannelNameSpaceName","value":"IPTV"},{"key":"LocalTSTVLength","value":"90"},{"key":"CFG_Interval_Duration_STB_UsageEvents","value":"3600"},{"key":"TolerableCPVRError","value":"1"},{"key":"GooglePlayDownLoadURL","value":"https://play.google.com/store/apps/details?id=de.telekom.entertaintv.smartphone"},{"key":"sqmLoginSalt","value":"7486be1f75219f5a4da98879b6db47cfa971945fa90244ff649085ac38d6028c01debe1cb185dd9ad387255abb6a39e2e3736083dcd0b400b2c66f31bcd1fe3f1ee0712d4e09faa7ae3fd7fd43446c37"},{"key":"ATI_TRACKING_SITE_ID","value":"606421"},{"key":"ForgetParentPasswordURL","value":"https://www.telekom.de/benutzer-pin-verwalten"},{"key":"RetryNum","value":"255"},{"key":"OTTUpsellingPageShowInterval","value":"9999"},{"key":"YTPlayListUrl","value":"https://www.youtube.com/playlist?list=%contentID%"},{"key":"Default_RecCfgDefinitionNPVR","value":"1"},{"key":"ATI_UE_MIN_TIME_BETWEEN_TWO_HITS","value":"1500"},{"key":"YouTubeSearchPublishedBefore","value":"24"},{"key":"ATI_UE_REFRESH","value":"600"},{"key":"OTT_Interval_For_Reload_Data_When_Failed","value":"60"},{"key":"ChannelCategoryID","value":"2000000142"},{"key":"trackingUrl","value":"https://logs1204"},{"key":"ScallingServerURL","value":"https://ngiss.t-online.de/iss?client=ngtv"},{"key":"TMCPassword","value":"D2A7476189E8BAF660440D797148655A"},{"key":"CFG_Max_Local_Storage_Time_STB_UsageEvents","value":"168"},{"key":"PromotionPackageCustomerType","value":"GUEST,IPTV,IPTV_OTT_DT,IPTV_DT,OTT_DT,DOUBLE_PLAY_ONLY_DT,REGISTERED_ONLY_DT,MSTV_IPTV_DT,MSTV_SAT_DT,BASISTV_DT,SATHYBRID_DT,SATHYBRID_PREVIEW_DT,SATHYBRID_OTT_DT,SATHYBRID_OTT_PREVIEW_DT,VIDEOLOAD_ONLY,OTT_NONDTISP_DT,IPTV_MIGRATED_DT,SATHYBRID_MIGRATED_DT,GUESTOTT_DT,SATHYBRIDSATONLY_DT,IPTV_ABTESTING_DT,SATHYBRID_ABTESTING_DT,IPTV_COAX_DT,IPTV_COAX_OTT_DT,IPTV_ABTESTING_OTT_DT,SATHYBRID_OTT_ABTESTING_DT,EROTIC_LOUNGE_DT,OTT_EWE"},{"key":"YouTubeSearchResutNumber","value":"5"},{"key":"YouTubeSwitch","value":"1"},{"key":"Default_RecCfgKeepMode","value":"0"},{"key":"VODConfigueURL","value":"https://wcps.t-online.de/bootstrap/iptv2015/v1/manifest?model=%model%&deviceId=%deviceId%&appname=vod&appVersion=%appVersion%&firmware=%firmware%&runtimeVersion=%runtimeVersion%&duid=%duid%|resolution=hdr"},{"key":"OTTDataPrivacySettingPromptInterval","value":"30"},{"key":"recordingChannelID","value":"0001010010146226"},{"key":"OTTLandingPageURL","value":"http://www.telekom.de/magenta-zuhause/magenta-tv-plus"},{"key":"Agb","value":"http://www.t-online.de/service/redir/entertaintv_web_agb.htm"},{"key":"OfflinePlayRecordCacheDays","value":"1"},{"key":"whetherShowIELogo","value":"http://windows.microsoft.com/de-de/internet-explorer/download-ie"},{"key":"ReceiverAPPIdleInterval","value":"300"},{"key":"YoutbueLinkURL","value":"https://www.youtube.com/"},{"key":"StepTimeForRewindAndForward","value":"10"},{"key":"browseCheckType","value":"1"},{"key":"YTVideoPlayUrl","value":"https://www.youtube.com/embed/%ContentID%"},{"key":"HybridSTBDeviceGroupID","value":"17"},{"key":"Default_RecCfgSingleOrSeries","value":"Series"},{"key":"whetherShowChromeLogo","value":"https://www.google.de/intl/de/chrome/browser/desktop/"},{"key":"AVSPeriod","value":"1800"},{"key":"TMCUsername","value":"NgtvOTTpc"},{"key":"STBTOPMenuID","value":"44457"},{"key":"CFG_Queue_Max_Play_Time_STB_UsageEvents","value":"10"},{"key":"CFG_Max_Local_Storage_Time_OTT_UsageEvents","value":"168"},{"key":"OfflinePlayRecordCacheNum","value":"3"},{"key":"browseCheckPolicy_2","value":"{\"browserType\": \"chrome\", \"versionList\":[{\"version\": \"33|*\", \"osVersion\": \"windows7\"}]}"},{"key":"ottLiveStreamDelay","value":"23"},{"key":"browseCheckPolicy_1","value":"{\"browserType\": \"firefox\", \"versionList\":[{\"version\": \"28|*\", \"osVersion\": \"windows7\"}]}"},{"key":"ageRatingNavigatorID","value":"ageRating"},{"key":"OTTChannelNameSpaceName","value":"OTT"},{"key":"browseCheckPolicy_4","value":"{\"browserType\": \"safari\", \"versionList\":[{\"version\": \"5|*\", \"osVersion\": \"mac10\"}]}"},{"key":"browseCheckPolicy_3","value":"{\"browserType\": \"ie\", \"versionList\":[{\"version\": \"11\", \"osVersion\": \"windows8\"}]}"}]},{"cfgType":"2","extensionInfo":[{"key":"DRMDelayBindingEnable","value":"1"},{"key":"HESAFBAppId","value":"hesaFBAppId"},{"key":"vodFavLimit","value":"10"},{"key":"OTTIMPPort","value":"16222"},{"key":"REWSkippingTimeBlock","value":"10"},{"key":"PVRNumLimit","value":"200"},{"key":"IPTVBOSHURL","value":"http://127.0.0.1:8082/bosh"},{"key":"IMDomain","value":"slbnimfk11100.prod.sngtv.t-online.de"},{"key":"playHeartBitInterval","value":"300"},{"key":"VerifyCodeExpireTime","value":"300"},{"key":"OTTIMPHTTPSURL"},{"key":"SecurityQuestion","value":"what is your mother's maiden name?$where were you born?$what is your pet's name?"},{"key":"PostPadding","value":"5"},{"key":"IPTVIMPURL","value":"http://62.155.248.127:16280/bosh"},{"key":"stbLogServerUrl","value":"sftp://IP:port@username&password/path"},{"key":"IPTVXMPPPort","value":"5222"},{"key":"channelFavLimit","value":"10"},{"key":"NPVRSpaceRatio","value":"1"},{"key":"IPTVIMPPort","value":"5222"},{"key":"stbLogUploadInterval","value":"3600"},{"key":"IPTVIMPIP","value":"62.155.248.127"},{"key":"FCCRatio","value":"1.3"},{"key":"OnlineUserRegEnable","value":"1"},{"key":"IPTVXMPPIP","value":"127.0.0.1"},{"key":"OTTBOSHURL","value":"http://172.29.66.150:5280/bosh"},{"key":"programFavLimit","value":"10"},{"key":"PrePadding","value":"2"},{"key":"DownloadedBufferLength","value":"30"},{"key":"HESAFBAppSecret","value":"hesaFBAppSecret"},{"key":"periodPVRNumLimit","value":"50"},{"key":"netrixPushServerUrl","value":"https://10.10.10.10:6743/iptv/report_user_info"},{"key":"OTTIMPIP","value":"62.155.248.127"},{"key":"OTTLogServerURL","value":"sftp://username:password@IP:port/path"},{"key":"vasFavLimit","value":"10"},{"key":"LicenseServerURLWhiteList","value":"https://licf.dmm.t-online.de/LicenseFrontend_Iptv/v1.0/LicenseAcquisition.asmx|Iy2YNUGTWyXcuDJ2NwIFuYAp+JIKBsy2mOFCxFGIpvc="},{"key":"SMSShortNo","value":"SMSShortNo"},{"key":"OTTXMPPIP","value":"127.0.0.1"},{"key":"OTTIMPURL","value":"https://slbnimfk11100.prod.sngtv.t-online.de:5281/bosh"},{"key":"SocialUrl","value":"http://127.0.0.1:8020"},{"key":"defaultSubNetId","value":"4901"},{"key":"OTTBOSHHTTPSURL"},{"key":"OTTXMPPPort","value":"5222"},{"key":"FFSkippingTimeBlock","value":"30"}]}],"userToken":"68P7OOJ6E4O6SSBS64S36V1HCTJ3CPAJATC2MK19VG","rrsAddr":"https://slbrrmfk11100.prod.sngtv.t-online.de","antiTamperURI":[{"key":"Authorization","value":"contentid;retcode"},{"key":"Play","value":"contentid;retcode,url"},{"key":"AllChannel","value":";channellist.channel.id,channellist.channel.issubscribed,channellist.channel.cpvrsubscribed,channellist.channel.pltvsubscribed,channellist.channel.localtimeshiftsubscribed,channellist.channel.tvodsubscribed,channellist.channel.npvrsubscribed"},{"key":"Subscribe","value":"productid;retcode"},{"key":"SubscribeAndPlay","value":"productId;retcode,playUrl"},{"key":"ChannelList","value":";channellist.channel.id,channellist.channel.issubscribed,channellist.channel.cpvrsubscribed,channellist.channel.pltvsubscribed,channellist.channel.localtimeshiftsubscribed,channellist.channel.tvodsubscribed,channellist.channel.npvrsubscribed"},{"key":"AuthorizeAndPlay","value":"contentId;retcode,playUrl"}],"validKey4Stream":"65D45D2930038D2DD6A666B05EA43719","validInfo4Stream":"m-tgqj2XWlY7s4DgesJZ5F2xqaSyFtWJ6FSlPvMGDAgo7nn9Oc3uThHwBxYAVIU9","csrfToken":"4d7997c56aad9cb531063e58f784585692b6ebcfb2227d36","encryptToken":"B331A3CF4CB1B51B59C76E68441C4B3","opt":"1","userContentListFilter":"-1689804946","userContentFilter":"-375463788"}
2021-03-22 22:22:02.301 [TRACE] [tatv.internal.network.MagentaTVOAuth] - 
	Headers=Server: openresty/1.0.0.2
Date: Mon, 22 Mar 2021 21:22:02 GMT
Content-Type: text/plain;charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Keep-Alive: timeout=3600, max=767
X-Frame-Options: SAMEORIGIN
Access-Control-Allow-Methods: POST,OPTIONS,GET,*
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: accept, origin, content-type,Authorization,authorization,X_CSRFToken,If-None-Match,*
Access-Control-Allow-Origin: https://web.magentatv.de
Set-Cookie: JSESSIONID=A0D7B8848D06739C52268DC9C35D62B5; Path=/EPG; HttpOnly; SameSite=None; Secure
Set-Cookie: JSESSIONID=A0D7B8848D06739C52268DC9C35D62B5; Path=/EPG/; HttpOnly; SameSite=None; Secure
Set-Cookie: CSESSIONID=6716BB62858B324866FD3B124A985A26; Path=/EPG/; Secure; HttpOnly; SameSite=None
Set-Cookie: CSRFSESSION=4d7997c56aad9cb531063e58f784585692b6ebcfb2227d36; Path=/EPG/; SameSite=None; Secure
Content-Encoding: gzip
Vary: accept-encoding
X-XSS-Protection: 1; mode=block
X-Download-Options: nosniff
X-Content-Type-Options: nosniff


2021-03-22 22:22:02.302 [DEBUG] [tatv.internal.network.MagentaTVOAuth] - OAuth: HTTP Request
	HTTP POST https://api.prod.sngtv.magentatv.de/EPG/JSON/DTAuthenticate
	Data={"areaid":"1","cnonce":"d9621586dbbde952a19dedb55fee4a61","mac":"1ffc807c-67ed-49a2-ae13-1d723b2e11b9","preSharedKeyID":"NGTV000001","subnetId":"4901","templatename":"NGTV","terminalid":"1ffc807c-67ed-49a2-ae13-1d723b2e11b9","terminaltype":"WEB-MTV","terminalvendor":"WebTV","timezone":"Europe/Berlin","usergroup":"","userType":"1","utcEnable":1,"accessToken":"EKBKhb_14kFFFqIRgWjnCVoOAAEHpQAAAXhb0OzIAAABeFw-ycgBAAgAAAF4W9DsyPsrNwshp1xtkYyjzVsSddxKfV34mwAjlZ5hcTFIwEzxxayXGhJiGxJOD-8-oHfpEpMfQ7gjlEDJaL2Ug8e6HkxRwjE5kC0KV2xPoL1OG0_y7U4idLLoYWm3VM2VXEq3_DdQj3CmPCSC0HKRfGNa3v7i3QLnEZsa9CMqZn_qWTVHSIcJt5rQBS3efh3Tl-kcXCsq6_M=","caDeviceInfo":[{"caDeviceId":"4ef4d933-9a43-41d3-9e3a-84979f22c9eb","caDeviceType":8}],"connectType":1,"osversion":"Mac OS 10.15.7","softwareVersion":"1.33.4.3","terminalDetail":[{"key":"GUID","value":"1ffc807c-67ed-49a2-ae13-1d723b2e11b9"},{"key":"HardwareSupplier","value":"WEB-MTV"},{"key":"DeviceClass","value":"TV"},{"key":"DeviceStorage","value":0},{"key":"DeviceStorageSize","value":0}]}
2021-03-22 22:22:02.303 [TRACE] [tatv.internal.network.MagentaTVOAuth] - 
	Headers=Accept-Encoding: gzip
User-Agent: Jetty/9.4.20.v20190813
Origin: https://web.magentatv.de
X_CSRFToken: 4d7997c56aad9cb531063e58f784585692b6ebcfb2227d36
Accept: */*
Cache-Control: no-cache
Referer: https://web.magentatv.de/
Host: api.prod.sngtv.magentatv.de
Accept-Language: en-US,en;q=0.9,de;q=0.8
Content-Length: 1022
Cookie: JSESSIONID=H3EBEA9551DC4A3835A80A90772CB0B45BBA735E3281682D20BE291355C2AACF5; JSESSIONID=A0D7B8848D06739C52268DC9C35D62B5; JSESSIONID=A0D7B8848D06739C52268DC9C35D62B5; CSESSIONID=6716BB62858B324866FD3B124A985A26; CSRFSESSION=4d7997c56aad9cb531063e58f784585692b6ebcfb2227d36

	Cookies=[]
2021-03-22 22:22:02.527 [DEBUG] [tatv.internal.network.MagentaTVOAuth] - OAuth: HTTP Response
	Status=200 OK
	Data={"retcode":"33619984","retmsg":"authenticate fail .","usergroup":"IPTV_DT","transportprotocol":"0","isTriplePlay":"0","STBRCUsubscribed":"0","bandwidth":"0","isFirstLogin":"0","lockedNum":"0","waitUnLockTime":"0","remainLockedNum":"0","userID":"120049010000000324315910","paymentType":"0","needSignEULA":"0","pwdResetTime":"00000000000000","provisioningType":"IPTV_DT","availableHLSOTTNum":"0","opt":"0","antiTamperURI":[{"key":"Authorization","value":"contentid;retcode"},{"key":"Play","value":"contentid;retcode,url"},{"key":"AllChannel","value":";channellist.channel.id,channellist.channel.issubscribed,channellist.channel.cpvrsubscribed,channellist.channel.pltvsubscribed,channellist.channel.localtimeshiftsubscribed,channellist.channel.tvodsubscribed,channellist.channel.npvrsubscribed"},{"key":"Subscribe","value":"productid;retcode"},{"key":"SubscribeAndPlay","value":"productId;retcode,playUrl"},{"key":"ChannelList","value":";channellist.channel.id,channellist.channel.issubscribed,channellist.channel.cpvrsubscribed,channellist.channel.pltvsubscribed,channellist.channel.localtimeshiftsubscribed,channellist.channel.tvodsubscribed,channellist.channel.npvrsubscribed"},{"key":"AuthorizeAndPlay","value":"contentId;retcode,playUrl"}],"isKidsModEnable":"0","EPGGroupName":"OTT Center"}
2021-03-22 22:22:02.529 [TRACE] [tatv.internal.network.MagentaTVOAuth] - 
	Headers=Server: openresty/1.0.0.2
Date: Mon, 22 Mar 2021 21:22:02 GMT
Content-Type: text/plain;charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Keep-Alive: timeout=3600, max=766
X-Frame-Options: SAMEORIGIN
Access-Control-Allow-Methods: POST,OPTIONS,GET,*
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: accept, origin, content-type,Authorization,authorization,X_CSRFToken,If-None-Match,*
Access-Control-Allow-Origin: https://web.magentatv.de
Content-Encoding: gzip
Vary: accept-encoding
X-XSS-Protection: 1; mode=block
X-Download-Options: nosniff
X-Content-Type-Options: nosniff


2021-03-22 22:22:02.533 [TRACE] [tatv.internal.network.MagentaTVOAuth] - done, userID = 34B5904CF023B435288F864F5FCC5695
2021-03-22 22:22:02.548 [DEBUG] [tv.internal.handler.MagentaTVControl] - : Check device 18CEBC518E6D98E9DBBA5F5142C379B2 (192.168.2.132:8081)
2021-03-22 22:22:02.564 [TRACE] [ntatv.internal.network.MagentaTVHttp] - GET http://192.168.2.132:8081/xml/dial.xml - Response=<?xml version="1.0"?>
<root xmlns="urn:schemas-upnp-org:device-1-0">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<device>
<UDN>uuid:9e8191e1-a821-59db-a4cb-AC6FBB78A629</UDN>
<friendlyName>DMS_AC6FBB78A629</friendlyName>
<deviceType>urn:schemas-upnp-org:device:tvdevice:1</deviceType>
<manufacturer>Zenterio</manufacturer>
<modelName>MR401B_ACN</modelName>
<modelNumber>R01A5</modelNumber>
<productVersionNumber>&quot; 538 &quot;</productVersionNumber>
<productType>stb</productType>
<serialNumber></serialNumber>
<X_wakeOnLan>1</X_wakeOnLan>
<serviceList>
<service>
<serviceType>urn:dial-multiscreen-org:service:dial:1</serviceType>
<serviceId>urn:dial-multiscreen-org:service:dial</serviceId>
</service>
</serviceList>
</device>
</root>

2021-03-22 22:22:02.565 [DEBUG] [tv.internal.handler.MagentaTVControl] - : Wake-on-LAN is enabled
2021-03-22 22:22:02.567 [TRACE] [tv.internal.handler.MagentaTVControl] - : Online status verified for device 192.168.2.132:8081, UDN=905887E3-53BC-5AB8-A28F-AC6FBB78A629
2021-03-22 22:22:02.577 [TRACE] [tatv.internal.MagentaTVDeviceManager] - Register new device, UDN=905887E3-53BC-5AB8-A28F-AC6FBB78A629, deviceId=18CEBC518E6D98E9DBBA5F5142C379B2, ipAddress=192.168.2.132
2021-03-22 22:22:02.578 [DEBUG] [tatv.internal.MagentaTVDeviceManager] - New device added: (UDN=905887E3-53BC-5AB8-A28F-AC6FBB78A629 ,deviceId=18CEBC518E6D98E9DBBA5F5142C379B2, ipAddress=192.168.2.132, macAddress=AC6FBB78A629), now 1 devices.
2021-03-22 22:22:02.580 [DEBUG] [tv.internal.handler.MagentaTVControl] - : Subscribe Event Channel (terminalID=18CEBC518E6D98E9DBBA5F5142C379B2, 192.168.2.132:8081
2021-03-22 22:22:02.595 [DEBUG] [tv.internal.handler.MagentaTVControl] - : SUBSCRIBE returned SID bf53d4f5-eb3e-5391-afcf-e746904ef0e4
2021-03-22 22:22:02.596 [DEBUG] [tv.internal.handler.MagentaTVControl] - : Send Pairing Request (deviceID=18CEBC518E6D98E9DBBA5F5142C379B2, type=PAD:openHAB, userID=34B5904CF023B435288F864F5FCC5695)
2021-03-22 22:22:02.597 [TRACE] [ntatv.internal.network.MagentaTVHttp] - POST http://192.168.2.132:8081/upnp/service/X-CTC_RemotePairing/Control - SoapAction=<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:X-pairingRequest xmlns:u="urn:schemas-upnp-org:service:X-CTC_RemotePairing:1"><pairingDeviceID>18CEBC518E6D98E9DBBA5F5142C379B2</pairingDeviceID><friendlyName>PAD:openHAB</friendlyName><userID>34B5904CF023B435288F864F5FCC5695</userID></u:X-pairingRequest></s:Body></s:Envelope>, Data = "urn:schemas-upnp-org:service:X-CTC_RemotePairing:1#X-pairingRequest"
2021-03-22 22:22:02.607 [TRACE] [ntatv.internal.network.MagentaTVHttp] - POST http://192.168.2.132:8081/upnp/service/X-CTC_RemotePairing/Control - Response = Error 404: Not Found
Not Found
2021-03-22 22:22:02.609 [DEBUG] [tv.internal.handler.MagentaTVHandler] - DMS_AC6FBB78A629: org.openhab.binding.magentatv.internal.MagentaTVException: Unexpected result for pairing response: Error 404: Not Found
Not Found
2021-03-22 22:22:02.609 [DEBUG] [tv.internal.handler.MagentaTVHandler] - DMS_AC6FBB78A629: Communication Error - org.openhab.binding.magentatv.internal.MagentaTVException: Unexpected result for pairing response: Error 404: Not Found
Not Found, switch Thing offline

Password and username was corret

What should I say

  • OAuth gets through, userId was geberated
  • Receiver communication is initiated
  • The pairing request fails with HTTP 404 - URL not found

I never saw this

You have a MR400, correct?
Do you have enabled remote control on the receiver?
Did you checked for the latest firmware?
Are you Ble to use the MagebtaTV App?

i have a MR401B_ACN with the latest firmware.
Remote control was not enabeld, but today i enabled it and than i can use the app. i get the same error. After that i delete thing and binding, clean cache and install binding and thing again, but nothing changed.

did you checked the log? still 404?

I thing I noticed:
receiver reports
<UDN>uuid:9e8191e1-a821-59db-a4cb-AC6FBB78A629</UDN>

wheres binding says
Register new device, UDN=905887E3-53BC-5AB8-A28F-AC6FBB78A629
→ different UDN. The last block is the MAC, which is the same.

I suppose you re-discovered the thing?

I have the same receiver, same model, so that can’t be the problem

I got the same log.
After i haveI only type the login-name and the passord and then i press the save-button. Nothing else.

I tryed it with the other UDN (9e81…). Same error and nearly the same log (different is the session-id, token…)

Hi!
I also have updated to openhab 3 and now I can’t connect my MR401. :frowning:
In the Thing I only have:
" HANDLER_CONFIGURATION_PENDING"

The log:
13:46:42.303 [DEBUG] [ntatv.internal.MagentaTVDeviceManager] - Device with id was not found in table (0 entries
13:47:10.312 [DEBUG] [tatv.internal.MagentaTVHandlerFactory] - Create thing type magentatv:receiver
13:47:52.194 [DEBUG] [tatv.internal.MagentaTVHandlerFactory] - Create thing type magentatv:receiver

But I did: log:set DEBUG org.openhab.binding.magentatv before

list -s | grep magenta
216 │ Active │ 80 │ 3.1.0.202103151925 │ org.openhab.binding.magentatv

Also upnp is installed.

Why didn’t I see more?

Why is the config peding?
What information do you need from me so that you can help me?

you need to enter the credentials in the thing config or use the console command to generate the userID

Hi! Thank you for your answer. Yes I’ve entered my Telekom credentials but nothing happens. I think the thing / add-on must then contact the Telekom server to get the uuid.
Regards

yep, the OH system needs Internet access for that. Once the userid is retrieved you could separate it