TLSIOException connecting over Https on Blackberry Torch 9810 and 9860 - blackberry

I am trying to connect over Https connection on Torch 9810 and 9860 but I am getting TLSIOException. I tested the code on 9700 OS v6.0 and it is running successfully on it. But the issue is only reproducable on 9810 and 9860 (both Torch devices). I saw a few threads on this issue but no solution can be found.

TLSIOException has a method getException() which will return a TLSException. If you then look at that TLSException, you should be able to learn more about the problem. For example, there are two subclasess of TLSException - TLSAlertException and TLSCancelException.
If your TLSException is actually a TLSAlertException, you can look at the alert properties to learn more about the problem.

Related

Flutter beacons_plugin - Unhandled Exception: MissingPluginException(No implementation found for method startMonitoring on channel beacons_plugin)

I've run into this situation: the plugin and my code ran perfectly in Android, but in iOS these errors happened:
(Screenshot - my reputation is too low to post images. For easy reading I took the screenshot of VSCode debug console; the errors were the same while run it from Xcode)
https://user-images.githubusercontent.com/10349431/94634472-b2d42e80-0302-11eb-9dc7-fa2956511b82.png
It shows in the debug screenshot above exceptions took place while invoking method startMonitoring, but after I commented related codes it turned into other methods (e.g. stopMonitoring, addRegion, etc).
(BTW, the error messages may be as many as hundreds of lines - in the screenshot above, there were actually 381 lines of total error messages.)
My environment:
MacOS 10.15.7
iOS 12.4.8 (iPad) 13.3 (iPhone)
Android 8.0.0
Xcode 12.0.1 (12A7300)
VSCode 1.49.2
Android Studio 4.0.1 with all SDK after Android 5.1 Lollipop
Thanks for any help!
I got it... In this case, BeaconsPlugin.listenToBeacons should not be placed below addRegion or startMonitoring/stopMonitoring. It should be in the first line of all actions of this plugin in the initPlatformState scope, just like it has been in the example.
Sorry for dumb question.
This error mostly occurs when you try to Hot Reload or Hot Restart after just adding new package to your pubspec.yaml.
Just stop the running project(app) and then freshly run it again. So that the added package(which contains the implementations) also pushed to the device
please check : https://stackoverflow.com/a/60088062/11989529
and this : MissingPluginException while using plugin for flutter
the same problem

PAC result block not invoked error iOS 11 (Beta 2)

As part of iOS 11 Beta (2) testing activity we have upgraded an iPad. Post up gradation we are experiencing issue connecting to internet and the iPad is configured with PAC file (Worked fine till 10.3 version).
Tried running a web app and below is the error log and issue is some thing around PAC file. I have surfed through different blogs and couldn't find a solution. Can some one help me understand the issue and suggest a solution please? Appreciate your help, thanks in advance!
Error log:
2017-07-06 09:11:15.725037+0100 Web [274:6046]PAC result block not invoked
2017-07-06 09:11:15.726566+0100 Web [274:6046] [] nw_proxy_resolver_create_parsed_array PAC evaluation error: kCFErrorDomainCFNetwork: 308
Tried loading webpages in Safari and browser fails to load any webpage.
Edit:
Upgrading to iOS 11 Beta 3, Webpages are loading fine with PAC configured though pac error message is still logged.

Appium Detect IOS crashes and get crash logs

I'm working with Appium IOS and I've encountered with a problem
I want to detect when IOS application crashed and I want to retrieve the related crash log. But I couldnt find a proper way to do it with appium's java client.
Is there anyway to do it with appium source code or with any other way
Thanks
You can use idevicecrashreport from libimobiledevice

Eclipse DDMS error: "Failed to initialize Monitor Thread" After installing ADT Plugin? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Eclipse IDE: Failed to initialize monitor thread error after installing Android SDK?
I just installed the ADT Plugin for eclipse but I keep getting the error alert on start of eclipse: Failed to initialize Monitor Thread: Unable to establish loopback connection after I click OK It goes onto repeated connection attempts that look like this
[2011-09-20 13:19:58 - DeviceMonitor]Connection attempts: 321
There are 320 other logs like this in my eclipse console and it increases like every second or so. I've been trouble shooting this for almost a week now I can't seem to figure out what to do. I've uninstalled and re-installed the sdk, un-installed and re-installed eclipse but this error still comes up. Does anyone have any Idea what to do?
My development platform in windows.
I had the same problem.
disabling firewall didn't help.
then I've killed my antivirus with with firewall.
and then it began to work.

PhoneGap geolocation() not working in Blackberry simulator?

I installed PhoneGap 0.9.2 and followed the instructions from the PhoneGap wiki page "Getting Started with PhoneGap (BlackBerry Widgets)"
to run the Phone Gap sample in 9550 BlackBerry simulator.
I used the simulator menu to set a geolocation to a known value. However, when I click the "Get Location" button in the sample, it prompted the following error message.
code: 104 message: GPS location acquisition timed out.
Switch to the 9800 simulator and that should work. And I should get some stackoverflow points :)
Thanks to davdjohnson's comments. I also found the similar complaints on BB's forum. I switched to 9800 simulator and the geolocation works.

Resources