Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / AGK v2.20 fails to connect to server when using SetHTTPHost secure option

Author
Message
Wilf
Valued Member
18
Years of Service
User Offline
Joined: 1st Jun 2006
Location: Gone to Unity.
Posted: 12th Jul 2016 12:14
This time the problem is exists on iOS and Mac only; Windows and Android connect fine using exactly the same code, server and credentials.

- The only way I can connect to the myPHP database from a Mac or iOS is using secure mode 0 set in AppGameKit with no password and user set on the server.
- Windows and Android connect correctly with Secure mode set to 1, password and user set on server.
- The error reported is 'Failed to connect to https://<user>:<password>@www.itanican.com'
- The next error reported is 'Failed to bind listening socket'; this doesn't happen on Windows or Android.
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 14th Jul 2016 15:53
There are two different secure methods being used here, the secure flag uses HTTPS and should work on all platforms. The username and password is indeed broken on iOS and Mac, I've fixed it for the next version.
Wilf
Valued Member
18
Years of Service
User Offline
Joined: 1st Jun 2006
Location: Gone to Unity.
Posted: 15th Jul 2016 09:45

Login to post a reply

Server time is: 2024-09-29 15:29:25
Your offset time is: 2024-09-29 15:29:25