# HTTPService Server Authentication in Adobe AIR

**URL:** <https://forum.kirupa.com/t/httpservice-server-authentication-in-adobe-air/261258>\
**Category:** flash\
**Created:** [May 25, 2008, 5:04am UTC](https://forum.kirupa.com/t/httpservice-server-authentication-in-adobe-air/261258 "2008-05-25T05:04:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chris12295](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/chris12295/32/43_2.png) [@chris12295](https://forum.kirupa.com/u/chris12295)\
**Post date:** [May 25, 2008, 5:04am UTC](https://forum.kirupa.com/t/httpservice-server-authentication-in-adobe-air/261258/1 "2008-05-25T05:04:54Z")

</div>

I have an AIR file that is connecting to a web service that is in a password protected directory on a server. I set useProxy = true and setRemoteCredentials(‘username’, ‘password’) but I keep getting this error message: [RPC Fault faultString="[MessagingError message=‘Destination ‘DefaultHTTPS’ either does not exist or the destination has no channels defined (and the application does not define any default channels.)’]" faultCode=“InvokeFailed” faultDetail=“Couldn’t establish a connection to ‘DefaultHTTPS’”]

What do I need to do to get this to work?
