RocketChat / Rocket.Chat.Cordova

Rocket.Chat Cross-Platform Mobile Application via Cordova (DEPRECATED)
MIT License
104 stars 109 forks source link

Connection to server can't be established? #177

Open Morgy93 opened 7 years ago

Morgy93 commented 7 years ago

Hello,

I'm currently trying to get this to work on windows. Looks good so far, until I try to connect to some server. It always just says "Checking connection to server" (or something like that) and puts me back to the start page.

JavaScript console:

Trying (1) https://demo.rocket.chat/__cordova/packages/oauth/end_of_popup_response.js?5360319
console-via-logger.js (173,15)
Trying (2) https://demo.rocket.chat/__cordova/packages/oauth/end_of_popup_response.js?4135342
console-via-logger.js (173,15)
Trying (3) https://demo.rocket.chat/__cordova/packages/oauth/end_of_popup_response.js?5459159
console-via-logger.js (173,15)
Trying (4) https://demo.rocket.chat/__cordova/packages/oauth/end_of_popup_response.js?5958845
console-via-logger.js (173,15)
downloadFile err [object Object]
console-via-logger.js (173,15)
   "downloadFile err"
   {
      [functions]: ,
      __proto__: { },
      body: null,
      code: 1,
      exception: { },
      http_status: null,
      source: "https://demo.rocket.chat/__cordova/packages/oauth/end_of_popup_response.js?8112739",
      target: "C:\Users\Thomas\AppData\Local\Packages\com.konecty.rocket.chat_h35559jr9hy9m\LocalState\httpsdemorocketchat_temp\packages\oauth\end_of_popup_response.js"
   }

Error in Error callbackId: File812817485 : TypeError: Object expected
console-via-logger.js (173,15)
Exception calling native with command :: File :: resolveLocalFileSystemURI ::exception=TypeError: Object expected
console-via-logger.js (173,15)
done downloading /index.html
console-via-logger.js (173,15)
done downloading /e1296cd65052b17cc2bd8f958fa7e58755101e42.css
console-via-logger.js (173,15)
done downloading /a0233197e31ee48645f73a50fc4b5da843faabd6.css
console-via-logger.js (173,15)
done downloading /95da5630f423c0fc514bd0e2c806832f290406b7.js
console-via-logger.js (173,15)

Any clue on this?