I’ve got an odd issue with “URLConnection”. I wrote a small test WebApplication that uses URLConnection to perform a HTTP GET.
This test application fails when run on a Raspberry Pi but works when run on Ubuntu. “libsoup2.4” is installed on both Raspbian and Ubuntu.
When the application fails on Raspbian, it simply drops out of the debugger without throwing an exception. So I have no way to see what the problem might be.
On Raspbian, when I issue the “SendSync” command, the “AuthenticationRequested” event isn’t fired and the application dies without any indication why.
On Ubuntu everything completes and I receive the results of the HTTP GET.
Has anyone else seen this?
PS. I finally gave up and reverted to the old-school “HTTPSocket.Get” which works fine on both Raspbian and Ubuntu.
I would like to use URLConnection because I’m making an effort to adopt the new Xojo API but it doesn’t look like I can in this case.