-
Notifications
You must be signed in to change notification settings - Fork 21
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
Exception 28 #62
Comments
Please post a debug verbose output and your Fritzbox version. |
Please Read: DEBUG_VERBOSE ///< Print all messages |
Click to see expanded log[SETUP] WAIT 4... [SETUP] WAIT 3... [SETUP] WAIT 2... [SETUP] WAIT 1... Initialize TR-064 connection[TR064][httpRequest] prepare request to URL: http://192.168.178.1:49000/tr64desc.xml --------------- CUT HERE FOR EXCEPTION DECODER --------------- Exception (28):
ctx: cont --------------- CUT HERE FOR EXCEPTION DECODER --------------- ets Jan 8 2013,rst cause:2, boot mode:(3,6) load 0x4010f000, len 3424, room 16 |
Can you check if you get anything if you visit http://192.168.178.1:49000/tr64desc.xml in your browser? |
yes, i got an xml. What should I search for? |
Can you post the first couple of lines? And to be sure, what version do this library do you have installed? |
Ok, the XML seems fine.
seem to indicate, that the XML is faulty (which does not seem the case) or some other error retrieving it (which from your comment could have something to do with the
I have to see when I can find the time to investigate this further. |
In the meantime, you can execute the commands without loading the xml. // without loading available services through init() you have to set the url Example in caller.ino |
Hello,
I have tested several programs (c't, Reichelt, the examples in this repository), but all show the same problem. How can I discover the issue? Is there a hardware which has been proven to work with this library and a fritz.box 7490? Any help to get a running system would be appreciated. Thanks |
I'm actually working on debugging this right now. I think I found the issue actually. With a bit of luck I can upload a fixed version in a bit. Looks like I messed up the pointers to the http stream when integrating the PR for https. |
This was caused by the xmlTakeParam function not working anymore because of an incorrect pointer in tr064client (which was presumably due to the introduction of https and thus the difference between tr064SimpleClient and tr064SslClient)
Can you test with the commit d4324bd on the develop branch? I think it should fix this issue. |
Hello Aypac, |
Hi, /after Reset/ [TR064][initServiceURLs] getting the service detect page /after Button pressed/ Button pressed[TR064][initServiceURLs] getting the service detect page
|
Thanks TritonX! RE your question: I'm actually not sure anymore if this was actually caused by the switch to https (as that should only be on develop and not on master 1.2.2). On develop the problem was that you need to switch to a different library/pointer when using https. And there was a mistake in using the right pointer, which also affected the http method. |
Hi Rene, thanks for answering. I am also using a ESP8266 (actually the original Wemos Lolin D1 mini). No problem, I can also use the version 1.3, if you will release this soon in the future. Til then, what was your working combination? (ESP8266, Version 1.2.2?, http or https?, ...) I could try to use the same, than it should work. Thanks in advance, Andreas |
Also to repeat what @saak2820 said (because there seem to be at least three people with this problem right now): |
Hi, String tr064_service = "urn:dslforum-org:service:X_VoIP:1"; and got the following result (VERBOSE): It seems, that the ESP sent out the request correctly. But the phone did not ring. I made the "Wählhilfe" phone my own phone with number **610 and the test in the fritzbox let the phone ring. Thank you |
Try a different number like **9 (Round call) |
Hi saak2820, |
Hi Triton The dummy telephone must be assigned to the dialler (Wählhilfe) as described. The TR-064 dialling command is basically nothing more than a mouse click on a telephone number in the GUI. |
Hi Saak2820, |
Hi Rene, |
Hi Andreas/ @TritonX , |
Hi Rene, BR |
I think the best thing for you to check is to send the command manually and see if it works then. I just wrote a manual for you: |
…d maybe even the slow retrieval times. #62
Please check out dd04576e = latest version on develop. I think it should fix your problems - if your call is actually valid (which I cannot test as I do not have DECT phones). Please try the |
PS: I am using the Mesh function of the fritzbox. can this be an issue using TR-064? The manual access I did was made via LAN. |
Hi Andreas, I don't think the mesh function shouldn't cause trouble. Works fine for me. I also did the manual request via wired LAN. |
Hi Rene, Additional Info, I have an other TR064 based sketch on ESP8266 running, which works fine. Going back to the older Version ins no option because I lost the old environment completely |
Strange. I tried making the wiki a bit better still. But I'm not sure this is the right path. Let's maybe take a step back. With the latest version on develop, does the init work again and do regular requests (like getting the external IP address, general device info, etc) work for both of you? What microcontroller? I tested it both on ESP8266 and ESP32 on my side, and it works for me with an FB 5590. If either of you are available from now until 18h, we could have a quick chat, maybe with TeamViewer or something to see if I can tell what's the problem. |
Hello Rene,
I would be able to do a Teamviewer Chat at about 17:00.
My Configuration
MacBook Pro M2, MacS Ventura
IDE Arduino IDE 2.0
Device Wemos Mini D1 (ESP8266)
TR064 Library installed 1.2.3
Fritz!Box 7590 Fritz!OS 7.50
I tried the following sketch, init still not working, neither connection.init nor connection.action.
...
connectToWifi();
Serial.println("Initialize TR-064 connection");
connection.debug_level = connection.DEBUG_VERBOSE;
connection.init();
String params[][2] = {{}};
String req[][2] = {{"NewTotalAssociations", ""}};
connection.action("WLANConfiguration:1", "GetTotalAssociations", params, 0, req, 1,"/upnp/control/wlanconfig1");
int numDev = (req[0][1]).toInt();
Serial.println(numDev);
Serial.println(req[0][0]);
Serial.println(req[0][1]);
Serial.println(req[1][0]);
Serial.println(req[1][1]);
…
Debug Output
15:22:37.533 -> [TR064][initServiceURLs] getting[TR064][initServiceURLs]<Error> initServiceUrls failed: could not connect
15:22:38.126 -> [TR064][action] with extraction
15:22:38.158 -> [TR064][cleanOldServiceName] searching for prefix in servicename: WLANConfiguration:1
15:22:38.158 -> [TR064][httpRequest] prepare request to URL: 192.168.0.1:49000/upnp/control/wlanconfig1
15:22:38.158 -> [TR064][httpRequest] Posting XML:
15:22:38.158 -> [TR064][httpRequest] ---------------------------------
15:22:38.158 -> <?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Header><h:InitChallenge xmlns:h="http://soap-authentication.org/digest/2001/10/" s:mustUnderstand="1"><UserID>ESP-Fritzer</UserID></h:InitChallenge ></s:Header><s:Body><u:GetTotalAssociations xmlns:u="urn:dslforum-org:service:WLANConfiguration:1"></u:GetTotalAssociations></s:Body></s:Envelope>
15:22:38.190 -> [TR064][httpRequest] ---------------------------------
15:22:38.222 ->
15:22:38.222 -> [TR064][httpRequest] POST... SOAPACTION: 'urn:dslforum-org:service:WLANConfiguration:1#GetTotalAssociations'
15:22:38.222 -> [TR064][httpRequest] Response code: 200
15:22:38.222 -> [TR064][action] extraction complete.
15:22:38.222 -> [TR064][action] Response status: , Tries: 0
15:22:38.222 -> [TR064][action] Done.
15:22:38.222 -> 0
15:22:38.222 -> NewTotalAssociations
15:22:38.222 ->
15:22:38.222 ->
15:22:38.222 ->
… Am 23.03.2023 um 14:41 schrieb René Vollmer ***@***.***>:
|
After almost two hours of debugging with Günter, we figured out two hardware-specific problems (he uses a WEMOS ESP, while I use NodeMCU):
So in conclusion this is because the exact implementation of the Very open for suggestions! Update:
Please let me know if this works for you! Update2: seems like something is wrong - it doesn't compile on CI (it did on my computer). |
Hallo Rene,
Erst mal vielen Dank für die Unterstützung !
Ich hab mal mit der neuen Version getestet, das Ergebnis sieht gut aus, aber ...
beim Compile gab es einen Fehler "control reaches end of non-void function“, resultiert wohl aus meinen Compiler Settings, ich hab dann mal ein return eingefügt, dann lief der Compile durch.
/Users/guenter/Documents/Arduino/libraries/TR064/src/tr064.cpp: In member function 'bool TR064::action_raw(const String&, const String&, String (*)[2], int, const String&)':
/Users/guenter/Documents/Arduino/libraries/TR064/src/tr064.cpp:413:53: error: control reaches end of non-void function [-Werror=return-type]
413 | String serviceName = cleanOldServiceName(service);
| ^
cc1plus: some warnings being treated as errors
bool TR064::action_raw(const String& service, const String& act, String params[][2],
…
// Send the http-Request
if (url != "") {
return httpRequest(url, xml, soapaction, true);
} else {
if (_state >= TR064_STATUS_SERVICES) {
return httpRequest(_services[_servicePrefix + serviceName], xml, soapaction, true);
} else {
deb_println("[TR064][action_raw]<error> You need to init the library or specify a serviceURL!", DEBUG_ERROR);
}
}
//--SC
return false;
Die Funktion initServiceURLs lief dann fehlerlos durch, ich hatte
connection.useStreamingForXML = false;
vor dem connection.init gesetzt.
Auch die action zur Abfrage der mit der Box verbundenen Devices funktionierte nun auch.
Ich werde heute gegen mal weiter testen, wenn ich dann nochmals auf die Nase falle, melde ich mich
Wie schon gesagt, besten Dank für den grossartigen Support !
Gruss
Günter
… Am 24.03.2023 um 02:44 schrieb René Vollmer ***@***.***>:
So I implemented this on develop <https://github.com/Aypac/Arduino-TR-064-SOAP-Library/tree/develop> with a flag to toggle between the two modes. To toggle this, set in the void setup():
// Shall we use the old (false) or new (true) method for doing HTTP requests.
// If you encounter problems, you can try toggling this.
connection.useStreamingForXML = false;
Please let me know if this works for you!
—
Reply to this email directly, view it on GitHub <#62 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/A6B4BYYLPXNW5RHR2A6MPLDW5T36JANCNFSM6AAAAAAUVX6C4I>.
You are receiving this because you are subscribed to this thread.
|
@g-Schroeder Super! Ja, das hatte ich schon im CI gesehen (siehe update2 in der Nachricht oben (ich denke das update hast du nicht per mail bekommen)), keine Idee, was da schief gelaufen ist. Aber klasse, dass es so einfach zu fixen war und jetzt läuft. hab den fix auch gerade noch mal schnell hier auf dem develop branch eingepflegt (ich konnte es nicht selber testen, aber CI beschwert sich nicht mehr). @TritonX @saak2820 @Bonbon604
Please let me know if this works for you! |
Hi, I'm glad you found a solution. bool begin(WiFiClient &client, const String& host, uint16_t port, const String& uri = "/", bool https = false); bool begin(WiFiClient &client, const String& url); |
Hey Karsten, that's indeed one of the two changes I did:
|
Hello Aypac, Here the results with the different HTTP(S):
19:30:51.643 -> Initialize TR-064 connection 19:30:54.815 -> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[TR064][action]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19:30:54.938 -> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[TR064][action]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
19:29:12.733 -> Initialize TR-064 connection
19:36:05.406 -> Initialize TR-064 connection ... 19:36:06.894 -> [TR064][initServiceURLs] Found 35 services in total. ... 19:36:08.515 -> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[TR064][action]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ==> What could be the reason why HTTPS(Insec) is not working (I copied the certificate from the FB in the .h file)? I also tried it with my other FB 7430, an there it behaves similar, but a bit different of which TR064 actions got authenticated and others not. At least a step foreward that I got access via TR064 to my FB. Any further hint on which issue could cause the remaining problems is welcome. Thanks again |
Hello Andreas,
Try this
String params[][2] = {{"NewX_AVM-DE_PhoneNumber", "**#614#610#611#612#613"}};
connection.action("urn:dslforum-org:service:X_VoIP:1","X_AVM-DE_DialNumber", params, 1, req, 0, "/upnp/control/x_voip");
Try this works on my 7590, took it from the AVM-Documentation
https://avm.de/service/wissensdatenbank/dok/FRITZ-Box-7590/1148_Interne-Rufgruppe-in-FRITZ-Box-einrichten-Gruppenruf/
Greetings
Günter
… Am 02.04.2023 um 12:16 schrieb TritonX ***@***.***>:
Hello Rene,
I tried the DECT-Call example to realize a doorbell (which was my initial project ;-) ), and it works now! Many thanks for your great support - and off course also thanks to Günter!
I have to use HTTP, HTTPS is still not working (as I described in my recent post above).
In the function "callWahlhilfe()", I try to call individual DECT phones instead of doing a round-call (need this as not all phones shall ring...)
Enhancing the array params and changing the parameter "nParam" in the function call does not work:
<https://user-images.githubusercontent.com/25125329/229346850-dad383b3-bc2c-4c5f-905f-2c79efd8e371.png>
Do I need to re-call each phone number individually or does it in principle work with the concatenated XML and I just do a mistake?
Thanks in advance for your support,
best regards,
Andreas
—
Reply to this email directly, view it on GitHub <#62 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/A6B4BY3GCUYHEXVKDPJTPVDW7FGW7ANCNFSM6AAAAAAUVX6C4I>.
You are receiving this because you were mentioned.
|
sorry, wring string, should be "**614#610#611#612#613" |
Hi Günter, Regards |
Great to hear, thanks for the feedback. That https doesn't work is sad, but not that surprising - I have not tested it carefully yet. |
After nearly two years i gave TR064 a try again. It stopped working for me after the 7.25 update (see issue #45). Yesterday i updated my Fritzbox 7590 to 7.55, After my own code didn't work (Exeption 28 problems), i tried the example code DECT_caller. using #define TR_PROTOCOL 0:
using #define TR_PROTOCOL 1:
using #define TR_PROTOCOL 2:
I can connect to But i don't see X_AVM-DE_DialNumber in tr64desc.xml file:
urn:dslforum-org:service:WLANConfiguration:3
urn:WLANConfiguration-com:serviceId:WLANConfiguration3
/upnp/control/wlanconfig3
/upnp/control/wlanconfig3
/wlanconfigSCPD.xml
urn:dslforum-org:service:Hosts:1
urn:LanDeviceHosts-com:serviceId:Hosts1
/upnp/control/hosts
/upnp/control/hosts
/hostsSCPD.xml
urn:dslforum-org:service:LANEthernetInterfaceConfig:1
urn:LANEthernetIfCfg-com:serviceId:LANEthernetInterfaceConfig1
/upnp/control/lanethernetifcfg
/upnp/control/lanethernetifcfg
/ethifconfigSCPD.xml
urn:dslforum-org:service:LANHostConfigManagement:1
urn:LANHCfgMgm-com:serviceId:LANHostConfigManagement1
/upnp/control/lanhostconfigmgm
/upnp/control/lanhostconfigmgm
/lanhostconfigmgmSCPD.xml
urn:dslforum-org:device:WANDevice:1
WANDevice - FRITZ!Box 7590
AVM
www.avm.de
WANDevice - FRITZ!Box 7590
WANDevice - FRITZ!Box 7590
7590 - avm
www.avm.de
uuid:
AVM TR-064
urn:dslforum-org:service:WANCommonInterfaceConfig:1
urn:WANCIfConfig-com:serviceId:WANCommonInterfaceConfig1
/upnp/control/wancommonifconfig1
/upnp/control/wancommonifconfig1
/wancommonifconfigSCPD.xml
urn:dslforum-org:service:WANDSLInterfaceConfig:1
urn:WANDSLIfConfig-com:serviceId:WANDSLInterfaceConfig1
/upnp/control/wandslifconfig1
/upnp/control/wandslifconfig1
/wandslifconfigSCPD.xml
urn:dslforum-org:device:WANConnectionDevice:1
WANConnectionDevice - FRITZ!Box 7590
AVM
www.avm.de
WANConnectionDevice - FRITZ!Box 7590
WANConnectionDevice - FRITZ!Box 7590
7590 - avm
www.avm.de
uuid:
AVM TR-064
urn:dslforum-org:service:X_AVM-DE_WANMobileConnection:1
urn:X_AVM-DE_WANMobileConnection-com:serviceId:X_AVM-DE_WANMobileConnection1
/upnp/control/x_wanmobileconn
/upnp/control/x_wanmobileconn
/x_wanmobileconnSCPD.xml
urn:dslforum-org:service:WANDSLLinkConfig:1
urn:WANDSLLinkConfig-com:serviceId:WANDSLLinkConfig1
/upnp/control/wandsllinkconfig1
/upnp/control/wandsllinkconfig1
/wandsllinkconfigSCPD.xml
urn:dslforum-org:service:WANEthernetLinkConfig:1
urn:WANEthernetLinkConfig-com:serviceId:WANEthernetLinkConfig1
/upnp/control/wanethlinkconfig1
/upnp/control/wanethlinkconfig1
/wanethlinkconfigSCPD.xml
urn:dslforum-org:service:WANPPPConnection:1
urn:WANPPPConnection-com:serviceId:WANPPPConnection1
/upnp/control/wanpppconn1
/upnp/control/wanpppconn1
/wanpppconnSCPD.xml
urn:dslforum-org:service:WANIPConnection:1
urn:WANIPConnection-com:serviceId:WANIPConnection1
/upnp/control/wanipconnection1
/upnp/control/wanipconnection1
/wanipconnSCPD.xml
http://192.168.10.143
I tried all three possible connection.action types: TR_ROOT_CERT is stored in credentials.h Any idea how to fix my http/https connection problem? |
Hi JimKnopf,
Did you try to fiddle around with the option
connection.useStreamingForXML = false;
In my case this did the trick.
As the
connection.init();
did not work in my case, i got the phones ringing by
connection.action("X_VoIP:1","X_AVM-DE_DialNumber", params, 1, req, 0, "/upnp/control/x_voip“);
Greetings
Günter
… Am 01.06.2023 um 17:42 schrieb JimKnopfIoT ***@***.***>:
After nearly two years i gave TR064 a try again. It stopped working for me after the 7.25 update (see issue #45 <#45>).
Yesterday i updated my Fritzbox 7590 to 7.55,
I'm using a ESP8266 12-E with the 1.2.3 devel branch.
After my own code didn't work (Exeption 28 problems), i tried the example code DECT_caller.
I get this error messages
using #define TR_PROTOCOL 0:
Initialize TR-064 connection
pm open,type:2 0
[TR064][httpRequest] HTTP ERROR, message: 'connection failed'
[TR064][httpRequest] HTTP error, trying again in 1s.
[TR064][httpRequest] HTTP ERROR, message: 'connection failed'
[TR064][httpRequest] HTTP error, giving up.
[TR064][initServiceURLs] initServiceUrls failed.
[TR064][action_raw] You need to init the library or specify a serviceURL!
[TR064][action] Request failed
Initialize TR-064 connection
pm open,type:2 0
[TR064][httpRequest] HTTP ERROR, message: 'connection failed'
[TR064][httpRequest] HTTP error, trying again in 1s.
[TR064][httpRequest] HTTP ERROR, message: 'connection failed'
[TR064][httpRequest] HTTP error, giving up.
[TR064][initServiceURLs] initServiceUrls failed.
[TR064][action_raw] You need to init the library or specify a serviceURL!
[TR064][action] Request failed
using #define TR_PROTOCOL 1:
Initialize TR-064 connection
pm open,type:2 0
[TR064][httpRequest] HTTP ERROR, message: 'connection failed'
[TR064][httpRequest] HTTP error, trying again in 1s.
using #define TR_PROTOCOL 2:
Initialize TR-064 connection
pm open,type:2 0
[TR064][httpRequest] HTTP ERROR, message: 'connection failed'
[TR064][httpRequest] HTTP error, trying again in 1s.
[TR064][httpRequest] HTTP ERROR, message: 'connection failed'
[TR064][httpRequest] HTTP error, giving up.
[TR064][initServiceURLs] initServiceUrls failed.
[TR064][action_raw] You need to init the library or specify a serviceURL!
[TR064][action] Request failed
I can connect to
http://192.168.10.143:49000/tr64desc.xml and
https://192.168.10.143:49443/tr64desc.xml.
But i don't see X_AVM-DE_DialNumber in tr64desc.xml file:
1 0 226 154 7 55 105823 154.07.55 urn:dslforum-org:device:InternetGatewayDevice:1 l AVM www.avm.de FRITZ!Box 7590 FRITZ!Box 7590 7590 - avm www.avm.de uuid:7 image/gif 118 119 8 /ligd.gif urn:dslforum-org:service:DeviceInfo:1 urn:DeviceInfo-com:serviceId:DeviceInfo1 /upnp/control/deviceinfo /upnp/control/deviceinfo /deviceinfoSCPD.xml urn:dslforum-org:service:DeviceConfig:1 urn:DeviceConfig-com:serviceId:DeviceConfig1 /upnp/control/deviceconfig /upnp/control/deviceconfig /deviceconfigSCPD.xml urn:dslforum-org:service:Layer3Forwarding:1 urn:Layer3Forwarding-com:serviceId:Layer3Forwarding1 /upnp/control/layer3forwarding /upnp/control/layer3forwarding /layer3forwardingSCPD.xml urn:dslforum-org:service:LANConfigSecurity:1 urn:LANConfigSecurity-com:serviceId:LANConfigSecurity1 /upnp/control/lanconfigsecurity /upnp/control/lanconfigsecurity /lanconfigsecuritySCPD.xml urn:dslforum-org:service:ManagementServer:1 urn:ManagementServer-com:serviceId:ManagementServer1 /upnp/control/mgmsrv /upnp/control/mgmsrv /mgmsrvSCPD.xml urn:dslforum-org:service:Time:1 urn:Time-com:serviceId:Time1 /upnp/control/time /upnp/control/time /timeSCPD.xml urn:dslforum-org:service:UserInterface:1 urn:UserInterface-com:serviceId:UserInterface1 /upnp/control/userif /upnp/control/userif /userifSCPD.xml urn:dslforum-org:service:X_AVM-DE_Storage:1 urn:X_AVM-DE_Storage-com:serviceId:X_AVM-DE_Storage1 /upnp/control/x_storage /upnp/control/x_storage /x_storageSCPD.xml urn:dslforum-org:service:X_AVM-DE_WebDAVClient:1 urn:X_AVM-DE_WebDAV-com:serviceId:X_AVM-DE_WebDAVClient1 /upnp/control/x_webdav /upnp/control/x_webdav /x_webdavSCPD.xml urn:dslforum-org:service:X_AVM-DE_UPnP:1 urn:X_AVM-DE_UPnP-com:serviceId:X_AVM-DE_UPnP1 /upnp/control/x_upnp /upnp/control/x_upnp /x_upnpSCPD.xml urn:dslforum-org:service:X_AVM-DE_Speedtest:1 urn:X_AVM-DE_Speedtest-com:serviceId:X_AVM-DE_Speedtest1 /upnp/control/x_speedtest /upnp/control/x_speedtest /x_speedtestSCPD.xml urn:dslforum-org:service:X_AVM-DE_RemoteAccess:1 urn:X_AVM-DE_RemoteAccess-com:serviceId:X_AVM-DE_RemoteAccess1 /upnp/control/x_remote /upnp/control/x_remote /x_remoteSCPD.xml urn:dslforum-org:service:X_AVM-DE_MyFritz:1 urn:X_AVM-DE_MyFritz-com:serviceId:X_AVM-DE_MyFritz1 /upnp/control/x_myfritz /upnp/control/x_myfritz /x_myfritzSCPD.xml urn:dslforum-org:service:X_VoIP:1 urn:X_VoIP-com:serviceId:X_VoIP1 /upnp/control/x_voip /upnp/control/x_voip /x_voipSCPD.xml urn:dslforum-org:service:X_AVM-DE_OnTel:1 urn:X_AVM-DE_OnTel-com:serviceId:X_AVM-DE_OnTel1 /upnp/control/x_contact /upnp/control/x_contact /x_contactSCPD.xml urn:dslforum-org:service:X_AVM-DE_Dect:1 urn:X_AVM-DE_Dect-com:serviceId:X_AVM-DE_Dect1 /upnp/control/x_dect /upnp/control/x_dect /x_dectSCPD.xml urn:dslforum-org:service:X_AVM-DE_TAM:1 urn:X_AVM-DE_TAM-com:serviceId:X_AVM-DE_TAM1 /upnp/control/x_tam /upnp/control/x_tam /x_tamSCPD.xml urn:dslforum-org:service:X_AVM-DE_AppSetup:1 urn:X_AVM-DE_AppSetup-com:serviceId:X_AVM-DE_AppSetup1 /upnp/control/x_appsetup /upnp/control/x_appsetup /x_appsetupSCPD.xml urn:dslforum-org:service:X_AVM-DE_Homeauto:1 urn:X_AVM-DE_Homeauto-com:serviceId:X_AVM-DE_Homeauto1 /upnp/control/x_homeauto /upnp/control/x_homeauto /x_homeautoSCPD.xml urn:dslforum-org:service:X_AVM-DE_Homeplug:1 urn:X_AVM-DE_Homeplug-com:serviceId:X_AVM-DE_Homeplug1 /upnp/control/x_homeplug /upnp/control/x_homeplug /x_homeplugSCPD.xml urn:dslforum-org:service:X_AVM-DE_Filelinks:1 urn:X_AVM-DE_Filelinks-com:serviceId:X_AVM-DE_Filelinks1 /upnp/control/x_filelinks /upnp/control/x_filelinks /x_filelinksSCPD.xml urn:dslforum-org:service:X_AVM-DE_Auth:1 urn:X_AVM-DE_Auth-com:serviceId:X_AVM-DE_Auth1 /upnp/control/x_auth /upnp/control/x_auth /x_authSCPD.xml urn:dslforum-org:service:X_AVM-DE_HostFilter:1 urn:X_AVM-DE_HostFilter-com:serviceId:X_AVM-DE_HostFilter1 /upnp/control/x_hostfilter /upnp/control/x_hostfilter /x_hostfilterSCPD.xml urn:dslforum-org:service:X_AVM-DE_USPController:1 urn:X_AVM-DE_USPController-com:serviceId:X_AVM-DE_USPController1 /upnp/control/x_uspcontroller /upnp/control/x_uspcontroller /x_uspcontrollerSCPD.xml urn:dslforum-org:device:LANDevice:1 LANDevice - FRITZ!Box 7590 AVM www.avm.de LANDevice - FRITZ!Box 7590 LANDevice - FRITZ!Box 7590 7590 - avm www.avm.de uuid: AVM TR-064 urn:dslforum-org:service:WLANConfiguration:1 urn:WLANConfiguration-com:serviceId:WLANConfiguration1 /upnp/control/wlanconfig1 /upnp/control/wlanconfig1 /wlanconfigSCPD.xml urn:dslforum-org:service:WLANConfiguration:2 urn:WLANConfiguration-com:serviceId:WLANConfiguration2 /upnp/control/wlanconfig2 /upnp/control/wlanconfig2 /wlanconfigSCPD.xml urn:dslforum-org:service:WLANConfiguration:3 urn:WLANConfiguration-com:serviceId:WLANConfiguration3 /upnp/control/wlanconfig3 /upnp/control/wlanconfig3 /wlanconfigSCPD.xml urn:dslforum-org:service:Hosts:1 urn:LanDeviceHosts-com:serviceId:Hosts1 /upnp/control/hosts /upnp/control/hosts /hostsSCPD.xml urn:dslforum-org:service:LANEthernetInterfaceConfig:1 urn:LANEthernetIfCfg-com:serviceId:LANEthernetInterfaceConfig1 /upnp/control/lanethernetifcfg /upnp/control/lanethernetifcfg /ethifconfigSCPD.xml urn:dslforum-org:service:LANHostConfigManagement:1 urn:LANHCfgMgm-com:serviceId:LANHostConfigManagement1 /upnp/control/lanhostconfigmgm /upnp/control/lanhostconfigmgm /lanhostconfigmgmSCPD.xml urn:dslforum-org:device:WANDevice:1 WANDevice - FRITZ!Box 7590 AVM www.avm.de WANDevice - FRITZ!Box 7590 WANDevice - FRITZ!Box 7590 7590 - avm www.avm.de uuid: AVM TR-064 urn:dslforum-org:service:WANCommonInterfaceConfig:1 urn:WANCIfConfig-com:serviceId:WANCommonInterfaceConfig1 /upnp/control/wancommonifconfig1 /upnp/control/wancommonifconfig1 /wancommonifconfigSCPD.xml urn:dslforum-org:service:WANDSLInterfaceConfig:1 urn:WANDSLIfConfig-com:serviceId:WANDSLInterfaceConfig1 /upnp/control/wandslifconfig1 /upnp/control/wandslifconfig1 /wandslifconfigSCPD.xml urn:dslforum-org:device:WANConnectionDevice:1 WANConnectionDevice - FRITZ!Box 7590 AVM www.avm.de WANConnectionDevice - FRITZ!Box 7590 WANConnectionDevice - FRITZ!Box 7590 7590 - avm www.avm.de uuid: AVM TR-064 urn:dslforum-org:service:X_AVM-DE_WANMobileConnection:1 urn:X_AVM-DE_WANMobileConnection-com:serviceId:X_AVM-DE_WANMobileConnection1 /upnp/control/x_wanmobileconn /upnp/control/x_wanmobileconn /x_wanmobileconnSCPD.xml urn:dslforum-org:service:WANDSLLinkConfig:1 urn:WANDSLLinkConfig-com:serviceId:WANDSLLinkConfig1 /upnp/control/wandsllinkconfig1 /upnp/control/wandsllinkconfig1 /wandsllinkconfigSCPD.xml urn:dslforum-org:service:WANEthernetLinkConfig:1 urn:WANEthernetLinkConfig-com:serviceId:WANEthernetLinkConfig1 /upnp/control/wanethlinkconfig1 /upnp/control/wanethlinkconfig1 /wanethlinkconfigSCPD.xml urn:dslforum-org:service:WANPPPConnection:1 urn:WANPPPConnection-com:serviceId:WANPPPConnection1 /upnp/control/wanpppconn1 /upnp/control/wanpppconn1 /wanpppconnSCPD.xml urn:dslforum-org:service:WANIPConnection:1 urn:WANIPConnection-com:serviceId:WANIPConnection1 /upnp/control/wanipconnection1 /upnp/control/wanipconnection1 /wanipconnSCPD.xml http://192.168.10.143
I tried all three possible connection.action types:
connection.action("X_VoIP:1", "X_AVM-DE_DialNumber", params, 1, req, 0);
connection.action("urn:dslforum-org:service:X_VoIP:1", "X_AVM-DE_DialNumber", params, 1, req, 0);
connection.action("X_VoIP:1", "X_AVM-DE_DialNumber", params, 1, req, 0, "/upnp/control/x_voip");
TR_ROOT_CERT is stored in credentials.h
Btw. the cert text contains this "...AN4X/z/2zs4e//6tN...". If i put the cert text into the sketch file, the text after "2zs4e//" is greyed out. Seems it needs some escape sequences for the double slashes.
Any idea how to fix my http/https connection problem?
—
Reply to this email directly, view it on GitHub <#62 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/A6B4BYZ6FO4B6QMEWALYD3LXJCZ43ANCNFSM6AAAAAAUVX6C4I>.
You are receiving this because you were mentioned.
|
Hi JimKnopf Please Read: DEBUG_VERBOSE ///< Print all messages Also activate httpClient Debugging |
Thanks @saak2820 @g-Schroeder it's working now (again). I had multiple mistakes in my setup.
My loop section is empty. I spend a lot of time to find out that i changed the phone number in "Wählhilfe". |
Using 1.2.3 and "tr064_connection.useStreamingForXML = false;" |
Hi,
does anyone know what coud be the issue?
It happens in line "connection.init();"
Exception 28: LoadProhibited: A load referenced a page mapped with an attribute that does not permit loads Decoding 9 results 0x40205d7f: String::reserve(unsigned int) at C:\Users\me\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\cores\esp8266/WString.cpp line 192 (discriminator 4) 0x402060a8: String::concat(char const*, unsigned int) at C:\Users\me\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\cores\esp8266/WString.cpp line 353 0x40100cc2: umm_free at C:\Users\me\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\cores\esp8266\umm_malloc/umm_malloc.cpp line 688 : (inlined by) umm_free at C:\Users\me\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\cores\esp8266\umm_malloc/umm_malloc.cpp line 667 0x40204aea: operator+(String&&, String const&) at C:\Users\me\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\cores\esp8266/WString.h line 404 : (inlined by) TR064::initServiceURLs() at C:\Users\me\Documents\Arduino\libraries\TR064\src/tr064.cpp line 129 0x40207308: esp_delay__delay(long unsigned int):: > at C:\Users\me\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\cores\esp8266/coredecls.h line 69 : (inlined by) esp_delay__delay(long unsigned int):: > at C:\Users\me\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\cores\esp8266/coredecls.h line 78 : (inlined by) __delay at C:\Users\me\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\cores\esp8266/core_esp8266_wiring.cpp line 39 0x40201a2f: setup at C:\Users\me\Documents\Arduino\home-indicator/home-indicator.ino line 159 0x40206dc8: loop_wrapper() at C:\Users\me\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\cores\esp8266/core_esp8266_main.cpp line 255 0x40100fed: cont_wrapper at C:\Users\me\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\cores\esp8266/cont.S line 81
The text was updated successfully, but these errors were encountered: