Advertisement
Guest User

Untitled

a guest
Mar 19th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. Opening port
  2. Port open
  3. connecting...
  4. connected
  5. connected
  6. Posted Data via client.println():
  7.  
  8. POST /upnp/control/deviceinfo HTTP/1.1
  9. HOST: 192.168.178.1:49000
  10. CONTENT-LENGTH: 267
  11. CONTENT-TYPE: text/xml; charset="utf-8"
  12. SOAPACTION: "urn:dslforum-org:service:DeviceInfo:1#GetSecurityPort"
  13. USER-AGENT: AVM UPnP/1.0 Client 1.0
  14.  
  15. <?xml version="1.0"?>
  16. <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  17. <s:Body>
  18. <u:GetSecurityPort xmlns:u="urn:dslforum-org:service:DeviceInfo:1">
  19. </u:GetSecurityPort>
  20. </s:Body>
  21. </s:Envelope>
  22. Response recieved:
  23.  
  24. HTTP/1.1 500 Internal Server Error
  25. DATE: Tue, 19 Mar 2019 22:07:40 GMT
  26. SERVER: FRITZ!Box 7530 UPnP/1.0 AVM FRITZ!Box 7530 164.07.02
  27. CONNECTION: keep-alive
  28. CONTENT-LENGTH: 424
  29. CONTENT-TYPE: text/xml; charset="utf-8"
  30.  
  31. <?xml version="1.0"?>
  32. <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  33. <s:Body>
  34. <s:Fault>
  35. <faultcode>s:Client</faultcode>
  36. <faultstring>UPnPError</faultstring>
  37. <detail>
  38. <UPnPError xmlns="urn:dslforum-org:control-1-0">
  39. <errorCode>502</errorCode>
  40. <errorDescription>XML error</errorDescription>
  41. </UPnPError>
  42. </detail>
  43. </s:Fault>
  44. </s:Body>
  45. </s:Envelope>HTTP/1.0 400 Bad Request
  46. Content-Length: 182
  47. Content-Type: text/html
  48.  
  49. <HTML><HEAD><TITLE>400 Bad Request (ERR_INVALID_REQ)</TITLE></HEAD><BODY><H1>400 Bad Request</H1><BR>ERR_INVALID_REQ<HR><B>Webserver</B> Tue, 19 Mar 2019 22:07:40 GMT</BODY></HTML>
  50.  
  51.  
  52. disconnecting.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement