Summary: 
When trying to download data in Sage Application for mobile devices when website is Https users are receiving error:
Internet connection appears to be offline



Cause:

When application is sending request its missing port information and because secured HTTP website is using port 443 by default it cannot be reached.


Resolution: 
File SageCRMMobileApp.asp needs to use HTTP_HOST server request variable instead of SERVER_NAME because it's missing port information.

url = Request.ServerVariables("HTTP_HOST")

Should be used instead of :

url = Request.ServerVariables("SERVER_NAME")