refuse the socket connection in the first leg of an application

Hello

I have an application that connects with the server (SSL, but the same thing happens when you're a normal socket).

When I load my application for bb and run it for the first time, I have an alert asking if I want to trust connection socket/ssl (this alert is only for the first execution of an application). When I deny it, there is no possibility to run this application! each connection test is successful again! everything is on 'allow' in-> modules-> apply-> permissions.

Why is it like that? and how can I solve this problem?

As well as all the permits various, the BB has a 'Firewall' which will block or allow access to different URLS.  To get the application will, all you need to do is to reset the Firewall setting.  However, I'm not aware of being able to do this either from within a program, or to be able to do that for a specific URL.  Unlike most PC firewall, if you get an incorrect setting, you must reset the firewall that clears all entries, then you will be asked again.

You will find the firewall on the Options--> Security Options > Firewall - then use this menu to 'Reset settings' (note that getting to the firewall mode between levels of BONE, it is OS 4.6)

Tags: BlackBerry Developers

Similar Questions

  • Police shows only correctly on the first run after installation

    I have a really weird problem where my custom font is displayed correctly on the first run of my application after installation in the Simulator or device. Subsequent executions of the application, display the fields with the default system font.

    The service I use is this:

    public static Font GetCustomFont(boolean bold, int size)
    {
        Font myFont = null;
    
        if (FontManager.getInstance().load("customfont.ttf", "custom", FontManager.APPLICATION_FONT) ==FontManager.SUCCESS)
        {
            try
            {
                FontFamily typeface = FontFamily.forName("custom");
                if (bold) myFont = typeface.getFont(Font.BOLD, size);
                else myFont = typeface.getFont(Font.ITALIC, size);
            }
            catch (Exception e)
            { e.printStackTrace(); }
        }
        return myFont;
    }
    

    and the font is used as follows:

    LabelField myLabel = new LabelField("TESTING CUSTOM FONT");
    myLabel.setFont(GetCustomFont(false, 24));
    add(myLabel);
    

    The police show up nicely the first time I run the application. Even though I call System.exit (0), then restart the application, it is up to the top with the system font. My policy is a TTF 46KO file, which is added to the res folder of my project and I develop for BB 7.0.0.

    Can someone please help?

    You should check the return code of

    FontManager.getInstance () .load (...)

    You agree that SUCCESS, I think that you will find in the following executions that return code is something like 'Already loaded' and so you can use it in this circumstance too.

  • How to get the early developers of my application graphically

    Hi guys,.

    I would like to create a dashboard in my request for ADMIN display the first developers of our application. It is almost similar to "Monitor-> Top users activity" in the Administration tab of APEX 4.0.

    I want to show the same data but on my page in a custom application. Can anyone provide me with the same application which developers APEX 4.0 to display these data on the ADMIN page?

    Thanks in advance
    Sunil Bhatia

    Works for me even on apex.oracle.com, although it is slow. You may need to limit the query to your workspace.

    SELECT * FROM APEX_WORKSPACE_LOG_SUMMARY_USR WHERE WORKSPACE = "YOUR_WORKSPACE_NAME."

  • Problems with the socket connection

    Hello

    I am trying to connect to socket between blackberry and pc Simulator, so that blackberry and pc can talk back.

    However, I found that only the first data sent from blackberry can be received by server successfully.

    When the server tries to turn the blackberry, he failed.  (Survey net.rim.device.cldc.io.ippp.SocketBaseIOException: Connection Timed Out)

    And the blackberry cannot send data to the server successfully.

    I am using BlackBerry MDS Services and write the customer after the demonstration ConnectThread.

    String url = "socket: / /" + socketServer + ":" + socketPort + "; deviceside = false;
    connection = (StreamConnection) Connector.open (url);

    Can help any one on this? Thank you!

    I tested the SocketDemo with completely the example code, server and client.

    In fact, it should be the same problem with this thread,

    http://supportforums.BlackBerry.com/T5/Java-development/another-socket-problem-socket-is-not-receivi...

    My own app can work very well after replacing InputStreamReader InputStream...

  • ISE 1.1.3 problem commissioning of the first connection to DOT1x

    Hi all

    I wonder how a wired client dot1x can get downloaded NAC its first connection to the ISE agent?

    The Agent must be installed before the first connection?

    I'have configure ISE 1.1.3 for the supply (files have been downloaded from the website of cisco) (mandatory update)

    I have an AuthZ rule for an evaluation of the correct posture

    and

    another rule AuthZ for assessment of unknown posture that triggers a rehabilitation of posture (download file)

    (in that order)

    NAC agent is properly configured (FQDN...), gets users and nothing happen!

    No upgrades NAC

    no assessment of the NAC.

    Any idea?

    It takes a while for the new agent to download?

    Best regards.

    C.

    To address the problem of the NAC agent, we need to check things.like couples

    1.) sure that the host address discovery on Mac OS X or Cisco NAC agent pointing the domain FULL of Cisco ISE name. (Right-click on the icon of the NAC agent,

    Click Properties and check the host of discovery).

    (2.) to ensure that the access switch allows communication between Cisco ISE Switzerland and the client machine end. limited access ACL applied for the session should allow the Swiss ports:

    permit tcp any host 80.0.80.2 eq 8905--> is for posture

    communication between the NAC and ISE (ports of Swiss) officer

    allow udp any host 80.0.80.2 eq 8905--> is for posture

    communication between the NAC and ISE (ports of Swiss) officer

    refuse an entire ip

    (3.) if the connection agent dialog box still does not appear, it could be a certificate problem. Make sure that the certificate that is used for communication Switzerland on the final customer is in the ISE Cisco certificate trust list.

    4.) make sure that the default gateway is accessible from the client machine.

    According to the guidelines of your confirmation, I close the case for this specific survey. We strive to provide you with excellent service. Please do not hesitate to reach out the hand to me or any member of the team of BAG if we can be of further assistance or if you have other questions related to the future. We appreciate your comments and look forward to serve you to make progress.

  • Cannot connect to Youtube. The first page load, try to register and gets stuck in a loop.

    Pretty much what the title says. I try to load Youtube, and during the initial page load, it automatically attempts to connect. I don't know why, but it can not open my session and gets stuck in a loop. I don't have the patience to see if that solves finally itself, especially when I can sign very well in other browsers. The same thing happens whenever I try to connect to my Google account, as Youtube is related to Google.

    Many issues of the site can be caused by corrupted cookies or cache. To try to solve these problems, the first step is to clear cookies and cache.

    Note: This will be temporarily you disconnect from all the sites that you are connected. To clear the cache and cookies to do the following:

    • Go to Firefox > history > clear recent history or (if no Firefox button is displayed) go to tools > clear recent history.
    • Under "Time range to clear", select "all".
    • Now, click the arrow next to details to toggle the active details list.
    • In the list of details, see the Cache and Cookies and uncheck everything.
    • Now click the clear now button.

    More information can be found in article to clear your cache, history, and other personal information in Firefox .

  • My 2008 imac has twice in the last month abandoned auto connect and restore needed. After the first restoation, it was Ok but used the manual connection. On conversion automatic return, he went for a week and has not yet. I'm OK, leaving on the manual

    My 2008 iMac interrupted twice by automatic logon. After the restoration of the first time, a month before, it wasOK on a manual connection until I converted to automatic, I restored again and it's OK, apparently, when the manual connection. Can there be an underlying cause that should I worry about the?

    Download and run Etrecheck.  Copy and paste the results in your response. Etrecheck is a diagnostic tool that has been developed by one of the most respected users here (and recommended by Apple Support personnel) of the CSA to provide a snapshot of the system and to help identify the most obvious culprits of software that can adversely affect the performance of Mac.

  • Since the installation of the latest version of 4.0b12, I am unable to connect to any https through a proxy site. Connection works if no proxy is involved, with the proxy, I get a message like "proxy refuses the connection". Thank you for your answer

    I am connected to the network of the client and I should use a proxy.
    I successfully authenticate to the proxy and I try to access https://mail.google.com.
    I get a message that the proxy refuses the connection.
    I noticed that this happens with all https sites.
    If I connect with my mobile internet stick without proxy, I am able to connect: the combination of proxy and https is a failure.
    Other computers on the same network with different browsers can connect to https via the proxy.

    I work with the development of Firefox on this team. As far as I know, they seem to think that there are 2 or 3 different with the same symptoms or very similar problems, all involving proxies. They think that they have set their all for RC1.

    Right now, it seems that we just want to test an early version.

    You can get that here:

    http://ftp.mozilla.org/pub/mozilla.or.../Firefox-4.0b13pre.en-US.Win32.installer.exe

    Install this somewhere (not in your current installation directory), quit all instances of Firefox and try it. I would like to know if it works.

  • comes to connect in iCloud for the first time and to synchronize my calendars etc I noticed it all disappeared.  How can I restore them?

    comes to connect in iCloud for the first time and to synchronize my calendars etc I noticed it all disappeared.  How can I restore them?

    They run iCloud.com? You have them on a computer?

  • In Windows XP, unable to connect on another user account, until I log out of the first

    Hello

    I have three users account on my computer. whenever I try to switch to another user, it is not connect up to that I disconnect the first, although I have hepatitis has checked the fast user switching option, but every time I enter another account passwrd and press enter nothing happens. Please, need help.

    Thank you

    Saami

    Is 'Fast User Switching Compatibility' already 'started' and ' automatic? Also check the 'Terminal Services' and 'Remote Procedure Call (RPC) if they have a "Started" and "Autopmatic". You receive error messages?

  • Sansa View does not synchronize with the computer after the first connection

    Hey guys,.

    I just bought a refurbished Sansa View which has the latest firmware on it. I logged on to the computer and selected "view in the folder. I downloaded some stuff and disconnected.

    Now, whenever I try to connect it again, the computer or the Sansa Connect. The Sansa start loading, but the 'Sync' screen does not appear on it. The computer shows nothing and the device does not appear in Device Manager or my computer as it did the first time. If I look through the USB devices in Device Manager I see a device using the power, but that's all.

    I tried the "MSC Mode" setting in the Sansa View settings, but it is not always connect. Don't hold.<" while="">

    I use Windows XP, SP3.

    Any help would be really appreciated,

    Thank you

    Nevermind, apparently, you need to do to reset once changed the settings in MSC mode on the player. It works fine now!

  • When not in Windows service will change screen what ever I've sat and that he go the first screen where it asks who is connect and it crashes my computer

    original title: security

    Here's the question-problem: when not in use Windows will change screen what ever I've sat and go the first screen where it asks who is connect and it crashes my computer. All I have to do is click on the little box that says locked and I go back to what I was doing. I don't want to do this. I have magic jack phone service and when she did this, I do not get calls? Is it possible that turns off. I have only one user of this computer.

    Go to Start\Control Panel\Hardware and Sound\Power Options\Edit the parameters of the Plan

    Change the option put the computer to sleep time forever!

  • Customer global VPN will not connect on the first attempt

    Global VPN Client version 4.9.4.0306.

    I connect to a variety of virtual private networks for clients whom I manage IT systems. When I connect to their virtual private networks via devices Sonicwall TZ in my home office, the first always uptight attempt connection, implementation service or Authenticating or IP acquisition. So I click on turn off, then immediately, click Activate, and it ends. This happens every time that I log in unless I log in no time (maybe a few minutes) after I close an open connection.

    I thought that it would be fair to my laptop; However, it has persisted through two or three versions of the GVPN customer and, more important still, this does not happen when I have my laptop in the office of a client with me - that from my desktop at home.

    So I already know that there must be something on my frontier DSL modem or a service. But it's not as if the customer VPN tells me "your modem has decided to abandon the Sonicwall response during authentication" or something like that.

    Are there measures of troubleshooting/diagnosis/tests of base I can try, or any configuration of particular gateway that could be suspicious. In my case, the gateway is my modem Frontier.

    Yes, it's a little different.

    Thank you for your participation!

    Chris

  • DRAC5 "Error when reading the SSL socket connection"?

    Hello

    I have a BIOS of PowerEdge 1950 2.7.0 with DRAC 5 Firmware Version 1.65 (12.08.16).

    When you try to connect to 'Console' I get the error "Error when reading the SSL socket connection".

    I spoke the line "# jdk.tls.disabledAlgorithms = SSLv3, RC4, MD5withRSA, DH keySize.< 768"="" at java.security="" file="" but="" still="" the="">

    I use WIndows 10 with the latest FireFox.

    Thanks in advance,

    Asaf

    I found that these changes were necessary to connect to the DRAC 5 using Chrome and Java 8, rev card. 91:

    In Control Panel > Java > Security:

    1. check "Enable content of java in the browser.

    2. set the security level to "High".

    3. Add each DRAC IP to the list of exceptions

    In C:\Program Files (x86)\Java\jre1.8.0_91\lib\security\java.security):

    Remove MD5:

    jdk.certpath.disabledAlgorithms=MD2, RSA keySize < 1024
    

    Remove SSLv3, RC4 and MD5withRSA:

    jdk.tls.disabledAlgorithms=DH keySize < 768
    
  • BlackBerry BB Q10 - Q10 refuses the connection with some email Exchange ActiveSync accounts

    Hello @ all,

    I'm quite new in the universe BB and have a serious problem with a Q10:

    We miss MS - Exchange Server 2010 and a "new" BB - Q10.

    It is not possible to configure ActiveSync with our Chief Executive Officer Exchange account. Other accounts)<700MB email)="" can="" be="" configured="" in="" no="" time="" and="" work="">

    The BB refuses the connection to account our CEO Exchange with the error message:

    "There was an unexpected problem. Maybe some functions do not work properly.

    (translated from the German original "Es ist ein unerwartetes problem aufgetreten.) Einen function some Funktionen nicht duly".)

    Well, this is sort of an understatement, actually ActiveSync does not work a little.

    Does anyone have an idea how to solve this problem without Exchange-box backup mailbox of the Chief Executive Officer, empty it, plug in the BB and restoring the mailbox again?

    Any hint is appreciated.

    Thanks in advance!

    Concerning

    Gnampf

    Unfortunately the suggestion of KnottyRope has not helped.

    Something with the AD-account seems to be wrong.

    I solved the problem of

    • adding a new account similar to what does not work in ExchangeServer via the ManagementConsole
    • adding this new account in Outlook, the Chief Executive Officer
    • copy all contacts, emails a calendar to this new account entries
    • removal of the old Exchange mailbox (and ONLY the mailbox) of the ExchangeServer without touching the user AD
    • the configuration of the correct e-mail address for "send to" and "answer to" in the ExchangeManagementConsole, so that an e-mail, sent by "answer to", to find the right box the letters

    As a result, our CEO can use his well known-name of user and password for Windows, but sees a slightly different name account in Outlook.

    But it's something that it can withstand, until the synchronization with the BB works. And, so far at the moment, it seems to work.

    This workaround is perhaps useful to others.

    Concerning

    Gnampf

Maybe you are looking for