Jump to content


Photo

Android app does not connect to HTTPS

https android connection failure

  • Please log in to reply
3 replies to this topic

#1 miquelx OFFLINE  

miquelx

    Member

  • Members
  • 19 posts
  • Local time: 06:09 AM

Posted 28 December 2015 - 06:17 PM

Hello all,
I'm having an issue with the android app. When I try to connect to my server over HTTPS I get a connection failure error. If i switch to HTTP it works.
HTTPS was working fine three-four days ago, when I installed the certificate on the phone.
I've tried with the domain and the IP, both don't work.

How should I proceed?

 

App version: 2.5.55

Server version: 3.0.5781.5

Server OS: Ubuntu

Attached Files

  • Attached File  0.png   27.71KB   8 downloads


#2 fc7 OFFLINE  

fc7

    Advanced Member

  • Developers
  • 735 posts
  • Local time: 07:09 AM
  • LocationMadrid, Spain

Posted 05 January 2016 - 05:25 AM

Did you check if by any chance the self-signed certificate changed and now you have one certificate on the phone and a different one in the server?

 

Also if you can post the server log while trying to connect with your phone using HTTPS it can help the troubleshooting. :)

Restarting the server before doing that test will give us a lighter and cleaner log to look at.

 

Thanks



#3 miquelx OFFLINE  

miquelx

    Member

  • Members
  • 19 posts
  • Local time: 06:09 AM

Posted 08 January 2016 - 06:47 AM

Got over the problem. I'm now using a certificate by a CA, and installed the CA root certificate on the devices.
Now I can connect for HTTPS but i get a failure error when playing media. When i have the time I'll post some logs of the server and the android app.



#4 anderbytes OFFLINE  

anderbytes

    Advanced Member

  • Members
  • 1087 posts
  • Local time: 04:09 AM
  • LocationRio de Janeiro - Brazil

Posted 30 January 2016 - 09:25 PM

As told in other topic (you are there), libVLC that streams the media still can`t use the PFX certificate, for now.

 

Devs are working on it, I hope.







Also tagged with one or more of these keywords: https, android, connection, failure

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users