Unable to synchronize with Owncloud Webdav service
Hi,
I`m tryin to configure Online synchronization to my OwnCloud server, but its not working.
Error in Tomdroid:
"The connection to the server has failed, please check that the address you entered is correct."
Webdav is working, I tested it from the same device using WebDav client app (WebDAV File Manager).
Here is exception from "adb logcat":
-------
I/WebConnection( 9575): Response status : HTTP/1.0 200 OK
I/WebConnection( 9575): Received : <html>
I/WebConnection( 9575): <head>
I/WebConnection( 9575): <title> </title>
I/WebConnection( 9575):
I/WebConnection( 9575): <script type="text/
I/WebConnection( 9575): function bredir(domain, url, ref, landerView, landerUrl, ldr, ifc) {
I/WebConnection( 9575): var widthDiff, heightDiff, banner;
I/WebConnection( 9575): var width = 0;
I/WebConnection( 9575): var height = 0;
I/WebConnection( 9575): var match = false;
I/WebConnection( 9575): var l = false;
I/WebConnection( 9575):
I/WebConnection( 9575): // width, height, mystery 3rd value
I/WebConnection( 9575): var bannerSizes = [
I/WebConnection( 9575): [300, 250, false],
I/WebConnection( 9575): [250, 250, false],
I/WebConnection( 9575): [240, 400, false],
I/WebConnection( 9575): [336, 280, false],
I/WebConnection( 9575): [180, 150, false],
I/WebConnection( 9575): [468, 60, false],
I/WebConnection( 9575): [234, 60, false],
I/WebConnection( 9575): [88, 31, false],
I/WebConnection( 9575): [120, 90, false],
I/WebConnection( 9575): [120, 60, false],
I/WebConnection( 9575): [120, 240, false],
I/WebConnection( 9575): [125, 125, false],
I/WebConnection( 9575): [728, 90, false],
I/WebConnection( 9575): [160, 600, false],
I/WebConnection( 9575): [120, 600, false],
I/WebConnection( 9575): [300, 600, false],
I/WebConnection( 9575): [300, 125, false],
I/WebConnection( 9575): [530, 300, false],
I/WebConnection( 9575): [190, 200, false],
I/WebConnection( 9575): [470, 250, false],
I/WebConnection( 9575): [720, 300, true],
I/WebConnection( 9575): [500, 350, true],
I/WebConnection( 9575): [550, 480, true],
I/WebConnection( 9575): //YouTube:
I/WebConnection( 9575): [560, 315, true],
I/WebConnection( 9575): [640, 360, true],
I/WebConnection( 9575): [853, 480, true],
I/WebConnection( 9575): [1280, 720, true],
I/WebConnection( 9575): //Vimeo:
I/WebConnection( 9575): [400, 300, true],
I/WebConnection( 9575): [500, 281, true],
I/WebConnection( 9575): //Hulu:
I/WebConnection( 9575): [480, 270, true],
I/WebConnection( 9575): [512, 288, true],
I/WebConnection( 9575): //metacafe:
I/WebConnection( 9575): [440, 248, true],
I/WebConnection( 9575): [460, 284, true],
I/WebConnection( 9575): [540, 304, true],
I/WebConnection( 9575): [600, 338, true],
I/WebConnection( 9575): //Other dimensions (metacafe, myspace video, yahoo video, break.com, ustream, vevo, justin.tv, etc):
I/WebConnection( 9575): [210, 120, true],
I/WebConnection( 9575): [400, 300, true],
I/WebConnection( 9575): [425, 350, true],
I/WebConnection( 9575): [425, 360, true],
I/WebConnection( 9575): [435, 251, true],
I/WebConnection( 9575): [435, 271, true],
I/WebConnection( 9575): [500, 300, true],
I/WebConnection( 9575): [525, 295, true],
I/WebConnection( 9575): [575, 324, true],
I/WebConnection( 9575): [620, 389, true],
I/WebConnection( 9575): [624, 351, true],
I/WebConnection( 9575): [630, 381, true],
I/WebConnection( 9575): [640, 385, true],
I/WebConnection( 9575): [650, 368, true],
I/WebConnection( 9575): [1000, 562, true],
I/WebConnection( 9575): [1000, 563, true],
I/WebConnection( 9575): [1000, 564, true]
I/WebConnection( 9575): ];
I/WebConnection( 9575):
I/WebConnection( 9575): // specific iframe sizes to show blank
I/WebConnection( 9575): // width/height = true means wildcard
I/WebConnection( 9575): var hiddenIfcSizes = [
I/WebConnection( 9575): { width:true, height:1000, domains:
I/WebConnection( 9575): ];
I/WebConnection( 9575):
I/WebConnection( 9575): if (typeof window.innerHeight == "number") {
I/WebConnection( 9575): height = window.innerHeight;
I/WebConnection( 9575): width = window.innerWidth;
I/WebConnection( 9575): } else if (typeof document.
I/WebConnection( 9575): height = document.
I/WebConnection( 9575): width = document.
I/WebConnection( 9575): }
I/WebConnection( 9575):
I/WebConnection( 9575): //iframe check, if ifc, iframe = true
I/WebConnection( 9575): if (top != self) {
I/WebConnection( 9575): ifc = 1;
I/WebConnection( 9575): } else {
I/WebConnection( 9575): ifc = 0;
I/WebConnection( 9575): }
I/WebConnection( 9575):
I/WebConnection( 9575): for (var n = 0; n < bannerSizes.length; n++) {
I/WebConnection( 9575): banner = bannerSizes[n];
I/WebConnection( 9575): widthDiff = Math.abs(width - banner[0]);
I/WebConnection( 9575): heightDiff = Math.abs(height - banner[1]);
I/WebConnection( 9575):
I/WebConnection( 9575): if (widthDiff <= 2 && heightDiff <= 2) {
I/WebConnection( 9575): match = true;
I/WebConnection( 9575): l = banner[2];
I/WebConnection( 9575): break;
I/WebConnection( 9575): }
I/WebConnection( 9575): }
I/WebConnection( 9575):
I/WebConnection( 9575): if (width === 0 && height === 0) {
I/WebConnection( 9575): return;
I/WebConnection( 9575): }
I/WebConnection( 9575):
I/WebConnection( 9575): // che
W/System.err( 9575): org.json.
W/System.err( 9575): at org.json.
W/System.err( 9575): at org.json.
W/System.err( 9575): at org.json.
W/System.err( 9575): at org.tomdroid.
W/System.err( 9575): at org.tomdroid.
W/System.err( 9575): at java.util.
W/System.err( 9575): at java.util.
W/System.err( 9575): at java.lang.
D/Yamaha-
D/Yamaha-
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Tomdroid Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Karol Skolar - Lego for more information if necessary.