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

Connection Error with Auth Unknown XML-RPC tag 'TITLE' #120

Closed
vr6syncro opened this issue Dec 7, 2018 · 14 comments
Closed

Connection Error with Auth Unknown XML-RPC tag 'TITLE' #120

vr6syncro opened this issue Dec 7, 2018 · 14 comments

Comments

@vr6syncro
Copy link

hm-rpc.0 2018-12-07 12:25:53.584 error init error: Error: Unknown XML-RPC tag 'TITLE' hm-rpc.0 2018-12-07 12:25:53.581 debug xmlrpc -> 192.168.2.25:2001/ init ["http://192.168.2.24:2001","hm-rpc.0"] hm-rpc.0 2018-12-07 12:25:23.591 error init error: Error: Unknown XML-RPC tag 'TITLE' hm-rpc.0 2018-12-07 12:25:23.582 debug start connecting interval hm-rpc.0 2018-12-07 12:25:23.582 debug xmlrpc -> 192.168.2.25:2001/ init ["http://192.168.2.24:2001","hm-rpc.0"] hm-rpc.0 2018-12-07 12:25:23.582 debug Connect... hm-rpc.0 2018-12-07 12:25:23.582 info xmlrpc client is trying to connect to 192.168.2.25:2001/ with ["http://192.168.2.24:2001","hm-rpc.0"] hm-rpc.0 2018-12-07 12:25:23.581 info xmlrpc server is trying to listen on 192.168.2.24:2001

https://forum.iobroker.net/viewtopic.php?f=20&t=18429&p=200960#p200960

@foxriver76
Copy link
Collaborator

And when I take a short look at the log I recognize that the port is wrong.

@vr6syncro
Copy link
Author

why ports wrong? are the ports are changing with and without auth?

@foxriver76
Copy link
Collaborator

According to the tilte of your raspmatic issue you are German. So please use the ressources given iny my first comment. You need at least RPC 1.8 and REGA 2.0 adapter versions. Both are available from GitHub only for testing purposes. With the current latest versions you can not manage authentication.

@vr6syncro
Copy link
Author

Wie du es in deinem Video gezeigt hast switcht bei mir der Port nicht wenn ich die Auth aktiviere.
Daher hatte ich anscheinend den falschen Port. Leider kenne ich keine möglichkeit die benutzten Ports der HM anzeigen zu lassen.

Daher eine dringende Bitte von mir die Readme vom Adapter anzupassen mit den verwendeten Ports mit Auth eingeschaltet.

@foxriver76
Copy link
Collaborator

foxriver76 commented Dec 7, 2018

Dann stellt sich die Frage, ob du einen Upload des Adapters durchgeführt hast. Ports haben eine zusätzliche vier vorne dran.

Die Eingabefelder für die Authentifizierung sind vorhanden? :--)

@vr6syncro
Copy link
Author

Es geht nun alles nachdem ich die Ports manuell geändert habe.
Und ja auch den Upload habe ich durchgeführt. Hatte nach dem Fehler extra nochmal geupdatet (incl. Upload) und ja die Felder sind auch da. Bin gerade nochmals in die stelle am Video gesprungen aber den Port wechsel macht er bei mir nicht. In der Webconsole bekomme ich folgendes:
Uncaught ReferenceError: $port is not defined at HTMLInputElement.<anonymous> (index_m.html?0:188) at HTMLInputElement.dispatch (jquery-3.2.1.min.js:3) at HTMLInputElement.q.handle (jquery-3.2.1.min.js:3) at Object.trigger (jquery-3.2.1.min.js:4) at HTMLInputElement.<anonymous> (jquery-3.2.1.min.js:4) at Function.each (jquery-3.2.1.min.js:2) at r.fn.init.each (jquery-3.2.1.min.js:2) at r.fn.init.trigger (jquery-3.2.1.min.js:4) at HTMLSpanElement.<anonymous> (adapter-settings.js:529) at HTMLSpanElement.dispatch (jquery-3.2.1.min.js:3) (anonymous) @ index_m.html?0:188 dispatch @ jquery-3.2.1.min.js:3 q.handle @ jquery-3.2.1.min.js:3 trigger @ jquery-3.2.1.min.js:4 (anonymous) @ jquery-3.2.1.min.js:4 each @ jquery-3.2.1.min.js:2 each @ jquery-3.2.1.min.js:2 trigger @ jquery-3.2.1.min.js:4 (anonymous) @ adapter-settings.js:529 dispatch @ jquery-3.2.1.min.js:3 q.handle @ jquery-3.2.1.min.js:3

@foxriver76
Copy link
Collaborator

Das sollte ich eigentlich vor 2 Tagen gefixt haben. Wann hast du denn von Git installiert?

@vr6syncro
Copy link
Author

vor 2 stunden ungefähr. Ich werde nun mal einen clean install machen und den cache löschen.

@foxriver76
Copy link
Collaborator

Okay also aktuell steht in der index_html Zeile 188 wo der port nicht definiert war ein else. Und davor wurde in der Zeile die port Variable genutzt die ich aus Versehen auf die nicht existente Id port gesetzt hatte statt homeaticPort. s. 55d3593

@foxriver76
Copy link
Collaborator

Wäre nett, wenn du dann nochmal Feedback gibst, ob die Portauswahl läuft. Falls ja, kann das ganze dann mal nach npm.

@vr6syncro
Copy link
Author

Ich habe es mir gerade angesehen. nach einem npm cache clean und einer neu Installation funktioniert die Funktion nun wie sie soll. Trotzdem war es für mich als User sehr schwer Infos zu finden das bei Authentifizierung nun zwingend andere Ports verwendet werden sollen. Eine Übersicht wäre dazu echt klassen. Ich bedanke mich aber hier erstmal für deine Unterstützung und mühen!

@foxriver76
Copy link
Collaborator

Deshalb sollen sie automatisch gewählt werden, um dem User dies abzunehmen. Jedoch schadet ein kleiner Vermerk in der README sicher nicht. Da stimme ich dir zu.

Freut mich, dass ich dir helfen konnte.

@hdering
Copy link

hdering commented Dec 14, 2018

Hallo zusammen,

ich hatte auch vergeblich versucht RaspberryMatic mittels https zu verbinden und habe immer wieder diesen Fehler bekommen:
init error: Error: Unknown XML-RPC tag 'TITLE'

Ich hatte alles mögliche kontrolliert:
Ports offen? ja
FW korrekt eingestellt? Ja

Immer die CCU neugestartet, leiderkein Erfolg.

Am Ende war es folgendes:
Mein Adminbenutzer auf der CCU ist mit einem großen A geschrieben, also Admin und nicht admin.
Und siehe da, es funktioniert.

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

No branches or pull requests

3 participants