-
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
HTTP-Error 500 #38
Comments
Dear oe8bck, glad to hear you also found a good use for the lib. |
Also, did you set a pw? There is still this bug/enhancement. |
Thanks for the fast response! Yes, I did enable the debug messages DEBUG_VERBOSE, see the first post for the outputs. The error given is #500 which is
I think this is a hint that something in the Fritz.Box server, although there is no entry in the log of the FB (at least I do not see anything on the web interface). I am using the latest FRITZ!OS: 07.21 So I checked the WIKI and gave the debug output and I think that I set everything that's needed. What else? Is there a possiblity to get mor logs from the FB? |
You can find a log inside the FB (I cannot tell you where exactly, because it is different in each model - if you can't find it check the manual for your model), but most of the time the TR-064 errors are not caught by it though. Could you also add the code here? Did you try this? The only other thing that comes to mind is to manually check the request, with your browser as described at the very end here. |
I did try the other example home-indicator. But this also cannot connect:
BTW I have also a FB 7930 with FRITZ!OS: 06.86 but with the same behaviour. Was there a recent change with respect to login resp. HTTPS? I will try to do it manually with a SOAP plugin. This I do not know, yet so it will take a little bit of time. |
I did not find a browser add-on but an example in PHP with WDSL . This works!
So you can see the last login but there are no fails regarding incorrect user/pass. No I'll try to get the PHP working with "X_AVM-DE_DialNumber" BTW did you read the blue box in https://avm.de/service/schnittstellen/ ? |
Thanks for the info on the updated API. At first glance, it does not look like it is a major change and only concerns you have not created a dedicated user for the TR-064, which I would recommend in any case. I'll check when I have some more time at hand. Do you have a line where you do |
I am not 100% sure that I got your question correctly. I added this to my sketch:
Serial output is
If I fire http://192.168.188.254:49000/tr64desc.xml in my web browser, the connection is also not possible, |
What I meant was to try to comment out the line |
BTW, are you sure 192.168.188.254 is correct? It seems a rather uncommon IP for a router... |
All the 4 links from the previous post work and I did change the IP by intention - I do not like standard IPs, usernames or passwords... I used the Ringer example and there is no .init in it. When I add it, there is a read time-out when accessing http://192.168.188.254:49000/tr64desc.xml |
Ok, but as long as the tr64desc.xml is not reachable via the browser I think the fault does not lie with the library. Other than that I only see this rather dirty hack: since the calls themselves seem to work, you could also hack the function that calls the xml and just hard-code the URLs you need into the according array.
|
No new developments here. |
I would like to implement a very basic WLAN doorbell. So I installed this library and adapted the example caller
But it does not what I expect.
So I enabled the debugger with the line
in the function setup().
This is the output
What does it mean? The IP of my 7490 (with FRITZ!OS: 07.21) is 192.168.188.254 and I added a user tr064 therein and if I call **790 from an analog phone, all the telephones ring, so the short-dial works.
Maybe somebody can help me?
The text was updated successfully, but these errors were encountered: