critical socket error

Terry Judd tsj at unimelb.edu.au
Wed Jan 18 02:08:42 EST 2012


More last minute network woes! I'm now having problems connecting to a particular server from an app but not from the IDE. From the app the connection info looks like this...

socket selected: cats.medicine.unimelb.edu.au:443|6927
GET /api/announcements/?username=tsj2&api_key=####&date=2000-01-01%20AM HTTP/1.1
Host: cats.medicine.unimelb.edu.au
User-Agent: LiveCode (MacOS)
socket error cats.medicine.unimelb.edu.au:443|6927
application verification failure

...nothing is returned and the socket doesn't appear to close. However, from the IDE I get this...

socket selected: cats.medicine.unimelb.edu.au:443|6928
GET /api/announcements/?username=tsj2&api_key=####&date=2000-01-01%20AM HTTP/1.1
Host: cats.medicine.unimelb.edu.au
User-Agent: LiveCode (MacOS)
HTTP/1.1 200 OK
Date: Wed, 18 Jan 2012 06:58:53 GMT
Server: Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.3
X-Powered-By: PHP/5.3.5
Content-Length: 12
Content-Type: text/html

...and the socket closes after a bit.

Now, it's a secure connection and I've got the 'SSL and Encryption' library selected in the standalone builder. I've also included a .pem file with the necessary certificates (I know this works because I'm connecting to another secure server on a different subdomain - cc.medicine.unimelb.edu.au rather than cats.medicine.unimelb.edu.au - actually I think both of these subdomains are hosted on the same server).

Any ideas on where I might be going wrong?

Terry...

Dr Terry Judd
Senior Lecturer in Medical Education
Medical Eduction Unit
Faculty of Medicine, Dentistry & Health Sciences
The University of Melbourne








More information about the use-livecode mailing list