Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tr064] wanIP Address SOAP Fault 401 (Still some Warnings in OH log) #9978

Closed
WhiteSockedDancer opened this issue Jan 28, 2021 · 12 comments
Closed
Labels

Comments

@WhiteSockedDancer
Copy link

I'm still getting the Warnings for 2 Channels in the WAN Subdevice.
Similar to the Issue #9173

Uptime and connection status.
I don't have any items linked to this subdevice-thing.

I've got a
FRITZ!Box 7490
Software Version 113.07.21

image

I created the main device more or less a month ago.
I just recreated this subdevice today.
Do i need to create the whole Device and all subdevices to get rid of this warning?
Or is this warning probably wanted since i use ppp for the WAN connection?

LG Jay

@WhiteSockedDancer WhiteSockedDancer added the bug An unexpected problem or unintended behavior of an add-on label Jan 28, 2021
@J-N-K
Copy link
Member

J-N-K commented Jan 28, 2021

Please show thing config.

@WhiteSockedDancer
Copy link
Author

Main Device (deleted pw):

UID: tr064:fritzbox:Router
label: Router
thingTypeUID: tr064:fritzbox
configuration:
  phonebookInterval: 0
  host: 192.168.1.1
  refresh: 60
  password: 
  user: openhab

WAN subdevice:

UID: tr064:subdevice:Router:WAN
label: Router - WAN
thingTypeUID: tr064:subdevice
configuration:
  refresh: 60
  uuid: uuid:75802409-bccb-40e7-8e69-C80E14704A44
bridgeUID: tr064:fritzbox:Router

LAN subdevice:

UID: tr064:subdevice:Router:LAN
label: Router - LAN
thingTypeUID: tr064:subdevice
configuration:
  refresh: 60
  uuid: uuid:75802409-bccb-40e7-8e6b-C80E14704A44
bridgeUID: tr064:fritzbox:Router

DSL subdevice:

UID: tr064:subdevice:Router:DSL
label: Router - DSL
thingTypeUID: tr064:subdevice
configuration:
  refresh: 60
  uuid: uuid:75802409-bccb-40e7-8e6a-C80E14704A44
bridgeUID: tr064:fritzbox:Router

@hare0815
Copy link

I use the same box and got the same log errors, if i use the "WAN IP Connection" channels and not the "WAN PPP Connection" channels, because my box uses a PPP-Connection.

In AVM documents I find the following:

urn:WANPPPConnection-com:serviceId:WANPPPConnection1
This service supports only PPP based WAN connections. E.g. the FRITZ!Box products with a DSL interface have typically such a connection type. If your WAN interface uses an IP connection, please have a look at the WANIPConnection1 service description. To make sure which kind of connection type is used, you can make a TR-064 request to Layer3Forwarding:GetDefaultConnectionService which provides this information.
[http://avm.de/fileadmin/user_upload/Global/Service/Schnittstellen/wanpppconnSCPD.pdf]

urn:WANIPConnection-com:serviceId:WANIPConnection1
This service supports only IP based WAN connections. E.g. the FRITZ!Box cable products typically use such a connection type. If your WAN interface uses a PPP connection, pleasehave a look at the WANPPPConnection1 service description. To make sure which kind of connection type is used, you can make a TR-064 request to Layer3Forwarding:GetDefaultConnectionService which provides this information.
[http://avm.de/fileadmin/user_upload/Global/Service/Schnittstellen/wanipconnSCPD.pdf]

@WhiteSockedDancer
Copy link
Author

Do you get these log errors if you dont use the "WAN IP connection" channels?

I'm using a ppp connection and if i link items to the channels i get proper values from the ppp channels.
But at the moment i'm not using any links..

image

Probably i got some "hidden/bugged" links from previous items when i tested the binding and linked all channels? Maybe they didn't got removed when i deleted the items?

@hare0815
Copy link

Do you get these log errors if you dont use the "WAN IP connection" channels?

no

Probably i got some "hidden/bugged" links from previous items when i tested the binding and linked all channels? Maybe they didn't got removed when i deleted the items?

I know, some work has been done on the binding in the last few weeks and I am currently testing openhab 3.1 snapshot 2169.
Maybe removing and recreating the subdevice or clearing the openhab cache solves your problems.

@J-N-K
Copy link
Member

J-N-K commented Jan 29, 2021

You can go to the openhab/Karaf console and check if you have orphaned links. Unfortunately I forgot the exact command. Maybe type „openhab“ and see what commands are available for links.

@hare0815
Copy link

Usage: openhab:links orphan - <list|purge> lists/purges all links with one missing element

@J-N-K
Copy link
Member

J-N-K commented Jan 29, 2021

Try „list“ and and see if there is an orphaned link to the channel.

@J-N-K
Copy link
Member

J-N-K commented Feb 2, 2021

Any news here?

@WhiteSockedDancer
Copy link
Author

Hey,
sorry, i was very busy around that weekend.

I checked missing/orphaned links and i got a really big mess there.. i guess from adding and removing testitems of my hue-system.

After purging the links the warning disappeared and everything seems fine =)
Thank you very much for clearing this up for me!

Here is the (sorted) list:


Thing channel missing: Router_MaxUpstreamRate -> tr064:subdevice:Router:uuid_3A75802409_2Dbccb_2D40e7_2D8e6a_2DC80E14704A44:wanMaxUpstreamRate Configuration[]

Thing channel missing: Router_AccessType -> tr064:subdevice:Router:uuid_3A75802409_2Dbccb_2D40e7_2D8e6a_2DC80E14704A44:wanAccessType Configuration[]

Thing channel missing: Router_WiFi5GHz -> tr064:subdeviceLan:Router:uuid_3A75802409_2Dbccb_2D40e7_2D8e6b_2DC80E14704A44:wifi5GHzEnable Configuration[]

Thing channel missing: Router_TotalBytesReceived -> tr064:subdevice:Router:uuid_3A75802409_2Dbccb_2D40e7_2D8e6a_2DC80E14704A44:wanTotalBytesReceived Configuration[]

Thing channel missing: Router_DSLStatus -> tr064:subdevice:Router:uuid_3A75802409_2Dbccb_2D40e7_2D8e6a_2DC80E14704A44:dslStatus Configuration[]

Item missing: RouterWAN_ConnectionStatus -> tr064:subdevice:Router:WAN:wanConnectionStatus Configuration[]

Thing channel missing: Router_WiFiGuest -> tr064:subdeviceLan:Router:uuid_3A75802409_2Dbccb_2D40e7_2D8e6b_2DC80E14704A44:wifiGuestEnable Configuration[]

Thing channel missing: Router_MaxDownstreamRate -> tr064:subdevice:Router:uuid_3A75802409_2Dbccb_2D40e7_2D8e6a_2DC80E14704A44:wanMaxDownstreamRate Configuration[]

Thing channel missing: Router_WiFi24GHz -> tr064:subdeviceLan:Router:uuid_3A75802409_2Dbccb_2D40e7_2D8e6b_2DC80E14704A44:wifi24GHzEnable Configuration[]

Item missing: Router_Uptime -> tr064:fritzbox:Router:uptime Configuration[]
Thing channel missing: Router_TotalBytesSent -> tr064:subdevice:Router:uuid_3A75802409_2Dbccb_2D40e7_2D8e6a_2DC80E14704A44:wanTotalBytesSent Configuration[]

Item missing: RouterWAN_Uptime -> tr064:subdevice:Router:WAN:uptime Configuration[]
Thing channel missing: Router_DSLEnable -> tr064:subdevice:Router:uuid_3A75802409_2Dbccb_2D40e7_2D8e6a_2DC80E14704A44:dslEnable Configuration[]

Item missing: e_J8K8_CPU_LoadAverage -> systeminfo:computer:J8-K8:cpu#load1 Configuration[]
Item missing: e_J8K8_Storage_Used -> systeminfo:computer:J8-K8:storage#usedPercent Configuration[]
Item missing: J8K8_Systeminfo_Storage_Total -> systeminfo:computer:J8-K8:swap#total Configuration[]
Item missing: 8K8_Systeminfo_Storage_Used -> systeminfo:computer:J8-K8:storage#used Configuration[]
Item missing: e_J8K8_Memory_Used -> systeminfo:computer:J8-K8:memory#usedPercent Configuration[]

Thing channel missing: Schrankrechts_Alert -> hue:0210:ecb5fa1698fd:13:alert Configuration[]
Thing channel missing: Decke2_ColorTemperature -> hue:0210:ecb5fa1698fd:1:color_temperature Configuration[]
Thing channel missing: Decke1_Alert -> hue:0210:ecb5fa1698fd:3:alert Configuration[]
Thing channel missing: Schranklinks_ColorTemperature -> hue:0210:ecb5fa1698fd:12:color_temperature Configuration[]
Thing channel missing: Bett_ColorTemperature -> hue:0210:ecb5fa1698fd:5:color_temperature Configuration[]
Thing channel missing: Sonne_Alert -> hue:0210:ecb5fa1698fd:2:alert Configuration[]
Thing channel missing: Tisch_Color -> hue:0210:ecb5fa1698fd:14:color Configuration[]
Thing channel missing: Bad_Brightness -> hue:0100:ecb5fa1698fd:11:brightness Configuration[]
Thing channel missing: Monitorrechts_ColorLoop -> hue:0210:ecb5fa1698fd:16:effect Configuration[]
Thing channel missing: Decke1_ColorLoop -> hue:0210:ecb5fa1698fd:3:effect Configuration[]
Thing channel missing: Schrankrechts_ColorTemperature -> hue:0210:ecb5fa1698fd:13:color_temperature Configuration[]
Thing channel missing: Schrankrechts_ColorLoop -> hue:0210:ecb5fa1698fd:13:effect Configuration[]
Thing channel missing: Tisch_Alert -> hue:0210:ecb5fa1698fd:14:alert Configuration[]
Thing channel missing: Monitorrechts_Alert -> hue:0210:ecb5fa1698fd:16:alert Configuration[]
Thing channel missing: Decke2_Alert -> hue:0210:ecb5fa1698fd:1:alert Configuration[]
Thing channel missing: Kueche_Licht_Brightness -> hue:0100:Kueche01:brightness Configuration[]
Thing channel missing: Bett_Alert -> hue:0210:ecb5fa1698fd:5:alert Configuration[]
Thing channel missing: Sonne_Color -> hue:0210:ecb5fa1698fd:2:color Configuration[]
Thing channel missing: Schranklinks_Alert -> hue:0210:ecb5fa1698fd:12:alert Configuration[]
Thing channel missing: Monitorrechts_ColorTemperature -> hue:0210:ecb5fa1698fd:16:color_temperature Configuration[]
Thing channel missing: Monitorlinks_ColorTemperature -> hue:0210:ecb5fa1698fd:15:color_temperature Configuration[]
Thing channel missing: Bar_ColorLoop -> hue:0210:ecb5fa1698fd:4:effect Configuration[]
Thing channel missing: Tisch_ColorTemperature -> hue:0210:ecb5fa1698fd:14:color_temperature Configuration[]
Thing channel missing: Kueche1_Brightness -> hue:0100:Kueche01:brightness Configuration[]
Thing channel missing: Schrankrechts_Color -> hue:0210:ecb5fa1698fd:13:color Configuration[]
Thing channel missing: Decke1_ColorTemperature -> hue:0210:ecb5fa1698fd:3:color_temperature Configuration[]
Thing channel missing: Bar_ColorTemperature -> hue:0210:ecb5fa1698fd:4:color_temperature Configuration[]
Thing channel missing: Decke2_ColorLoop -> hue:0210:ecb5fa1698fd:1:effect Configuration[]
Thing channel missing: Sonne_ColorLoop -> hue:0210:ecb5fa1698fd:2:effect Configuration[]
Thing channel missing: Monitorlinks_Color -> hue:0210:ecb5fa1698fd:15:color Configuration[]
Thing channel missing: Kuche3_Brightness -> hue:0100:Kueche03:brightness Configuration[]
Thing channel missing: Tisch_ColorLoop -> hue:0210:ecb5fa1698fd:14:effect Configuration[]
Thing channel missing: Bett_ColorLoop -> hue:0210:ecb5fa1698fd:5:effect Configuration[]
Thing channel missing: Schranklinks_Color -> hue:0210:ecb5fa1698fd:12:color Configuration[]
Thing channel missing: Bar_Color -> hue:0210:ecb5fa1698fd:4:color Configuration[]
Thing channel missing: Decke2_Color -> hue:0210:ecb5fa1698fd:1:color Configuration[]
Thing channel missing: Bett_Color -> hue:0210:ecb5fa1698fd:5:color Configuration[]
Thing channel missing: Kuche2_Brightness -> hue:0100:Kueche02:brightness Configuration[]
Thing channel missing: Bar_Alert -> hue:0210:ecb5fa1698fd:4:alert Configuration[]
Thing channel missing: Decke1_Color -> hue:0210:ecb5fa1698fd:3:color Configuration[]
Thing channel missing: Monitorrechts_Color -> hue:0210:ecb5fa1698fd:16:color Configuration[]
Thing channel missing: Monitorlinks_Alert -> hue:0210:ecb5fa1698fd:15:alert Configuration[]
Thing channel missing: Monitorlinks_ColorLoop -> hue:0210:ecb5fa1698fd:15:effect Configuration[]
Thing channel missing: Sonne_ColorTemperature -> hue:0210:ecb5fa1698fd:2:color_temperature Configuration[]
Thing channel missing: Schranklinks_ColorLoop -> hue:0210:ecb5fa1698fd:12:effect Configuration[]
Thing channel missing: Bad_Alert -> hue:0100:ecb5fa1698fd:11:alert Configuration[]

@J-N-K
Copy link
Member

J-N-K commented Feb 2, 2021

Thanks.

@J-N-K J-N-K added invalid and removed bug An unexpected problem or unintended behavior of an add-on labels Feb 2, 2021
@openhab-bot
Copy link
Collaborator

This issue has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/tr064-binding-warning-messages/131021/6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants