https issue in 6.5.2?

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
MadManSoft
Posts: 36
Joined: Fri Apr 12, 2013 9:15 pm

https issue in 6.5.2?

Post by MadManSoft »

I started running into some really strange behavior today in regards to https...

Code: Select all

put gBaseURL & "login.cfc?method=login&username=" & fld username & "&" & "password=" & fld "password" & "&ULIF=" & gULIF into tUrl
Calls like the above using https that had been working fine stopped working when I closed my app down on my desktop and opened it up on my laptop. Blank on what I got back and a cert error in the result.

That was in the IDE. When I replaced https with http it worked fine. Put https back and run the app in the IDE, same thing.

Launched the app in the iOS simulator and it works fine with https. I am totally baffled.

I reopened the app on my desktop and now it's hit or miss in the IDE with it mostly being a miss.

The cert is valid, not expired and calls placed to it in a browser work fine, as they do in the iOS simulator.

A little googling showed this may have been an issue earlier this year, and maybe this regressed?

Is anyone else seeing this?

Thanks,

Steve MacLean
.
Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: https issue in 6.5.2?

Post by Simon »

Hi Steve,
Are you using libURLSetSSLVerification?

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
MadManSoft
Posts: 36
Joined: Fri Apr 12, 2013 9:15 pm

Re: https issue in 6.5.2?

Post by MadManSoft »

Hi Simon,

I am not, as it is not supported on iOS... is this why it's failing on the IDE and not iOS?

If so, why did it work before and now not so much?

Sorry, just very confused.

Thanks,

Steve
Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: https issue in 6.5.2?

Post by Simon »

I think it is recently supported on mobile... might not be in the docs yet.
Give it a try.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
MadManSoft
Posts: 36
Joined: Fri Apr 12, 2013 9:15 pm

Re: https issue in 6.5.2?

Post by MadManSoft »

Hi Simon,

Thanks so much for that, it seems to be working fine now by setting libURLSetSSLVerification to false in both the IDE and on iOS.

Thanks again!

Best,

Steve
Post Reply