libUrlSetSSLVerificition false
When I try to check for updates in the standalone with the update folder that has an https URL I get an error.
...
The bug report has a suggested a workaroundPut the following command before the call to the the command connecting to the https urllibUrlSetSSLVerificition false
https://api.dreamhost.com/?key=6SHU5P2HLDAYECUM&cmd=user-list_users_no_pw&unique_id=4082432&format=perl
httpproxyforurl for host 'api.dreamhost.com':
Proxy for URL:
socket selected: api.dreamhost.com:443|6924
GET /?key=6SHU5P2HLDAYECUM&cmd=user-list_users_no_pw&unique_id=4082432&format=perl HTTP/1.1
Host: api.dreamhost.com
User-Agent: curl/7.30.0
Accept: */*
socket timeout api.dreamhost.com:443|6924
GET /?key=6SHU5P2HLDAYECUM&cmd=user-list_users_no_pw&unique_id=4082432&format=perl HTTP/1.1
Host: api.dreamhost.com
User-Agent: curl/7.30.0
Accept: */*
HTTP/1.1 200 OK
Set-Cookie: 60gpBAK=R1224191420; path=/; expires=Mon, 07-Apr-2014 18:14:08 GMT
Date: Mon, 07 Apr 2014 17:06:53 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: 60gp=R477302024; path=/; expires=Mon, 07-Apr-2014 18:08:19 GMT
Server: Apache
X-Powered-By: PHP/5.2.17
Vary: Cookie,Accept-Encoding
Composed-By: SPIP 2.1.24 @ www.spip.net + images(1.0.1), msie_compat(1.0.0), porte_plume(1.7.9), safehtml(1.3.7), vertebres(1.0.0), guestbook(2.22), compresseur(1.0.2)
X-Spip-Cache: 86400
Last-Modified: Mon, 07 Apr 2014 17:06:53 GMT
--
You received this message because you are subscribed to the Google Groups "GLX Application Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to glxapp+un...@googlegroups.com.
To post to this group, send email to glx...@googlegroups.com.
Visit this group at http://groups.google.com/group/glxapp.
For more options, visit https://groups.google.com/d/optout.
My guess as to what is happening is that glxApplicationPackager is not loading the library revsecurity.dylib.This file first appears in LC 6.6 and is in the Application package contents/MacOS
I'm having an https problem with a webservice I am calling. Here is the url (which works in the browser but not from the IDE):https://api.dreamhost.com/?key=6SHU5P2HLDAYECUM&cmd=user-list_users_no_pw&unique_id=4082432&format=perlI've tried libUrlSetSSLVerificition false and made a stab at debugging it. I get the following error:
...
socket timeout api.dreamhost.com:443|6924
And returned:HTTP/1.1 200 OK
Set-Cookie: 60gpBAK=R1224191420; path=/; expires=Mon, 07-Apr-2014 18:14:08 GMT
Date: Mon, 07 Apr 2014 17:06:53 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: 60gp=R477302024; path=/; expires=Mon, 07-Apr-2014 18:08:19 GMT
Server: Apache
X-Powered-By: PHP/5.2.17
Vary: Cookie,Accept-Encoding
Composed-By: SPIP 2.1.24 @ www.spip.net + images(1.0.1), msie_compat(1.0.0), porte_plume(1.7.9), safehtml(1.3.7), vertebres(1.0.0), guestbook(2.22), compresseur(1.0.2)
X-Spip-Cache: 86400
Last-Modified: Mon, 07 Apr 2014 17:06:53 GMT
Hi David,I'm not sure I understand. Above you are getting a socket timeout error...And returned:HTTP/1.1 200 OK
Set-Cookie: 60gpBAK=R1224191420; path=/; expires=Mon, 07-Apr-2014 18:14:08 GMT
Date: Mon, 07 Apr 2014 17:06:53 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: 60gp=R477302024; path=/; expires=Mon, 07-Apr-2014 18:08:19 GMT
Server: Apache
X-Powered-By: PHP/5.2.17
Vary: Cookie,Accept-Encoding
Composed-By: SPIP 2.1.24 @ www.spip.net + images(1.0.1), msie_compat(1.0.0), porte_plume(1.7.9), safehtml(1.3.7), vertebres(1.0.0), guestbook(2.22), compresseur(1.0.2)
X-Spip-Cache: 86400
Last-Modified: Mon, 07 Apr 2014 17:06:53 GMTAnd here you are getting back a 200 OK response. Are both of these requests with LiveCode? Or is second one with curl?
on mouseUp
-- libUrlSetSSLVerification false
-- answer file "Select .pem file"
-- put it into certFile
-- put certFile
put "/Users/fortyfoxes/Desktop/Certificates.pem" into certFile
set the sslCertificates to certFile
put the long id of fld "Result" into someField
libUrlSetLogField someField
lock screen
put empty into fld "Error"
put empty into fld "Result"
put empty into fld "API URL"
unlock screen
set the sockettimeoutinterval to 10000
set the httpheaders to "User-Agent: curl/7.30.0" & CR & "Accept: */*"
put dreamhost_ConstructApiURL() into apiUrl
put apiUrl into fld "API URL"
put CR & CR & url apiURL after fld "Result"
put the result into fld "Error"
put CR & CR & libURLLastHTTPHeaders() after fld "Error"
put CR & CR & libURLLastRHHeaders() after fld "Error"
-- answer "OK"
end mouseUp
They are both with Livecode - either v6.61 or the 7.x dev releases. I tried with some earlier versions as well.
I tried this- built the standalone with GXL App plugin using LC 6.7.0-DP2- checked ./Contents/MacOS folder- there was no revSecurity.dylib file in the contents folder