HttpsConnection.open method is slow for ssl

Hi all

I have a question related to the HttpsConnection. Our application wants to use the HttpsConnection class

to make queries to a server https. Everything is going well, but we have had a few problems with the

speed. After several readings, we discovered that the problem is with the method of Connector.open (url),

Sometimes, it takes 8-11 seconds to connect to the server.

Send/receive data is fast, but the open() method is really slow. Do you have any ideas why this method

is so slow? Maybe the problem is with the ssl communication protocol took over? This may cause the problem? 3g

network is fast, there is no problem with that.

Interestingly, if I do 4 Please each after the other, then reduces the execution time of the open() - from 5 seconds to 1.3 seconds method. If I now wait 40 seconds and make another request, then the open method runs again for 5 to 8 seconds.

For the URL, I added the EndToEndRequired parameter, and we are going through BIS.

I'd appreciate any help for this problem.

Thank you and best regards,

-Ferenc

I'm not an expert, but I can confirm that the treatment for a secure connection will be slow, because both ends must agree on a secure channel for the message.  According to the documentation I've read, this can swap between 5 and 8 messages.  If you expect a significant delay in treatment.  Not because of the amount of data, but only because of the latency involved to accommodate and respond to every message.

Regarding your comment about time for shorted out later, I can only assume that if you open a second connection shortly after the first, the implementation of subsequent session is short.

I hope this helps.

Tags: BlackBerry Developers

Similar Questions

  • Disable 'open new tabs' privileges for an add-on?

    Hello, I have 2 modules that continually open a new tab leading to their sites AFTER an update
    My computer is slow, but I need plugins too.
    Rather, I put them to update automatically, but how do I disable 'open new tabs' privileges for an add-on?

    Maybe it's a small nuisance for some users, but I don't think that mozilla would do something against it is not violation of the guidelines of addon developer...

    in fact, to open a new tab after some mozilla firefox updates itself, so that disable see: https://support.mozilla.org/en-US/kb/how-stop-firefox-making-automatic-connections#w_whats-new-page

    If you want to start a discussion about this neverteheless, then the best place to do it would be addons to https://discourse.mozilla-community.org/c/add-ons forum where staff and reviewers of addons.mozilla.org participate as well.

  • I opened the game client for life despite the installation of the game has stopped working properly and the game closes that I said?

    I opened the game client for life despite the installation of the game stopped correctly and the game closes that I said?

    Hello

    What operating system do you use?

    I suggest you to follow the links and check out them.

    Method 1:

    Problems installing and uninstalling programs on Windows computers

    http://support.Microsoft.com/kb/2438651

    Method 2:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note: After a repair, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

  • APEX slow when SSL is active.

    Hello. Recently, we turned on SSL to our instance of Production of the APEX. When go to departure at any APEX page, there's a 7-10 second delay. After the first load of the page, the pages load in a few seconds. If I do not click on a link for 1 min, I'll get that time of 10 seconds again when you go to another page. as long as I'm constantly navigate in an application, there is no problem. The problem occurs only after slowing for at least 45 to 60 seconds.

    A single server runnin Solaris with 10G database / Apex 3.1.2.00.02. The system administrator also set apache to pass http requests to https.

    Using SSL causes within 2 to 4 minutes? Then, something is definitely wrong with the SSL song.

    I can tell you that on RARE occasions, I've seen SSL handshakes take a long time. On these occasions, we tracked down the issue the client attempts to retrieve the list of CRL during the initial SSL handshake. The URL of the CRL (CRL) list is embedded in most of the certificates and some clients check really.

    We determined that the customer could not download the Revocation of its source list. The source of the LCR has been blocked by a firewall which ignored the packets rather than issue a TCP reset. If the client would send a TCP syn to the CRL server and a response time-out. Then he would again and again. The result was a multiple minute delay, which eventually resulted in the client to drop the LCR and make the SSL connection anyway.

    You are on the right track. You might consider putting a sniffer of packages on your client (wireshark for windows) and watch your customer traffic when it tries to connect to the server SSL/Apex. If you see a search out to DNS or a TCP connection to a strange server when SSL connection attempt, then it is probably the CRL check.

    I can tell you that I ran a many million hits per month from the web server that was 100% SSL on a box of 400 Mhz 2 channels with 512M RAM and running Solaris 8 (intel). NOT once, he had a problem with load due to SSL activity. The server lasted from 2000 to 2006 before we virtualized finally it.

  • Check Point virtual network adapter for SSL Network Extender

    I just downloaded an update recommended for Windows 10. After updating downlaoded, whenever I start my computer it say compatibility assistant this app is not working properly try to reinstall Check Point virtual network adapter for SSL Network Extender. Why do I get this notice? I have no problem getting on the internet. I have a modem and a router that work well with all my devices. I use an ethernet cable, nothing has changed in addition to the recommended update.

    I thought I would try devices and adapters Manager double click Network and looked for updates. Updated and now I don't get notification any longer.

  • Satellite A30 extremely slow for about 2 months now

    Hi I need help, my A30, I bought about 2.5 years ago was extremely slow for about 2 months now. I only use it at home, and as such, I don't have a lot of programs loaded on it.

    What could be making it so slow and what can I improve performance.

    Hello

    The first thing to do is start the Utility Manager tasks (right click on the task bar) and check what you have running, as well as the process what CPU they use. For a standard installation of Windows XP I would expect to see about process assets of 40-50 but only 1 or 2% of CPU. Stop every process that you don't want especially if they use a lot of CPU.

    Then, run a analysis suitable anit-virus and also a scan of Malware (Adaware and Spybot) and clean everything they find your system.

    Finally, run a cleaning disc, followed by a Disk Defragmenter (both in the Accessories/System Tools menu).

    Kind regards

  • Startup Repair:-using Skype, can I use the method of selection for me starts better what should I suggest? Thank you pp

    Startup Repair:-using Skype, can I use the method of selection for me starts better what should I suggest? Thank you pp

    Hello

    Welcome to Microsoft Vista Forum community!

    Please answer the following questions to help you better about it
    ·         What is the edition of Vista installed on the computer?
    ·         You try to make the Windows Vista startup repair?
    ·         How long have you used Skype for?
    ·         Are you facing problems starting with windows after downloading Skype?

    If you encounter problems with Windows startup after downloading Skype, then you can try to disable the startup of Skype at Windows startup. (For example, in MSN, go to tools > Options > General > do not start when Windows starts.)

    For more information, you can consult the help of Skype: https://support.skype.com/

    Hope this information is useful.
    Let me know if it worked.
    All the best!

    Concerning

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Sites Web has become slower over ssl when we activated the stack ipv6 on the XP machine.

    Slow browser in xp with ipv6 enabled via the SSL (on ipv4) while on win7 is not?

    Sites Web has become slower over ssl when we activated the stack ipv6 on the XP machine.

    The PC connects to internet IPv4 and ssl vpn is established on the ipv4 internet. When we uninstall ipv6 stack it becomes okay.

    The real solution is to fix the DNS server that is causing these problems. http://www.sixxs.NET/FAQ/DNS/?FAQ=ipv6slowconnect

  • Should what program I open the files .rmskin for Rainmeter

    What program I need to open the files .rmskin for Rainmeter - told me that Windows7 is expected to open but it does not! Any help will be appreciated.

    This link indicates the file is in the format of a compressed file and as such, the extension must be renamed

  • How's IOS for SSL VPN

    Dear all,

    I have ASA 5510 and Version 8. I want to know IOS for SSL VPN, but I don't know which...

    Please help me show...

    HQ-ASA5510 # HS, fla

    path-# - length - time -.

    177 14137344 January 1, 2003 00:06:12 asa804 - k8.bin

    75 4096 November 21, 2008 12:17:46 log

    79 4096 crypto_archive November 21, 2008 12:18

    178 7562988 November 21, 2008 12:19:30 Amps - 613.bin

    180 4863904 November 21, 2008 12:21:10 securedesktop_asa_3_3_0_129.pkg.zip

    181 4096 November 21, 2008 12:21:10 sdesktop

    188 1462 November 21, 2008 12:21:10 sdesktop/data.xml

    182 2153936 November 21, 2008 12:21:10 anyconnect-victory - 2.2.0133 - k9.pkg

    183 3446540 November 21, 2008 12:21:12 anyconnect-macosx-powerpc - 2.2.0133 - k9.pkg

    184 3412549 November 21, 2008 12:21:16 anyconnect-macosx-i386 - 2.2.0133 - k9.pkg

    185 3756345 November 21, 2008 12:21:16 anyconnect-linux - 2.2.0133 - k9.pkg

    For Version 7. he say the ssl VPN.

    Please help me which line as SSL VPN.

    Best regards

    Rechard

    Richard, you already have the code that supports SSL webvpn on your ASA.

    See page medium low SSL VPN VPN/Web for more detailed examples, which provides all the necessary information for any additional/optional

    plug-ins needed.

    http://www.Cisco.com/en/us/products/ps6120/prod_configuration_examples_list.html

    Details of the sample SSL VPN configuration and types... but all the SSL.

    http://www.Cisco.com/en/us/products/ps6120/products_configuration_example09186a00806ea271.shtml

    What you have in your directory ASA applies the Anyconnect client who is also driven SSL but is a bit different from plain SSL webvpn, I suggest you go to the configuration examples of link that can provide information on the implementation of SSL vpn varios.

    Concerning

  • How to set the method of color for the logo

    Hi all,

    I would ask which is the best way to define the method of color for a logo.

    I would make a logo for the device and any support and so I want to design a logo with colors that

    will always be the same in all supported and the device.

    To achieve this how can I do?
    Who are the best guidelines to achieve that?

    I am awating your kind response.

    Bye!

    gigi71 @ wrote:

    I would make a logo for the device and any support and so I want to design a logo with colors that

    will always be the same in all supported and the device.

    This is why color management was invented. Without color management, which is probably 99.8 percent of all software and peripherals out there, there is no way it will never look the same. You have no control over this, and you will never have.

    Create the logo in sRGB and use a screen properly calibrated and profiled (and good). That's how it will look on all properly color managed platforms, if at least you have a reference of how it should look like.

    EDIT: Yes, Norman, Lab is an independent reference device as such, but does nothing to actually how it will display on all no color management devices out there.

  • Table for the code for method of payment for the suppliers site

    Hi all, does anyone knows how to get the value for the code for method of payment for the suppliers site in R12.1.3? I don't speak from that in the following path: 1 Paybles responsibility 2. Suppliers 3. Request for a 4 suppliers. Click on details of payment 5. Scroll to supplier Sites and press the update button 6. Note that, for example among the payment methods is checked as default thanks in advance, A.Stoynaov

    Hello

    Please check this note that contains the query:

    Default values for method of payment for providers at the level of the Table (Doc ID 737128.1)

    You can use this query to view the lines for a given provider site:

    SELECT *.

    Of iby_ext_party_pmt_mthds IEPPM

    WHERE IEPPM.ext_pmt_party_id IN

    (SELECT IEP.ext_payee_id

    Of iby_external_payees_all IEP

    WHERE IEP.supplier_site_id IN

    (SELECT APSS.vendor_site_id

    Of ap_supplier_sites_all of the PSA, ap_suppliers APS

    WHERE APS.vendor_id = APSS.vendor_id

    AND APS.vendor_name = '. '

    AND APSS.vendor_site_code = ''));

    Concerning

    Joel Purswani

    Support of Oracle

  • In order to improve my skills and ease with Premiere Pro, I bought Adobe Premiere Pro CC Classroom in a Book and began to follow the tutorial. I opened the first project for lesson 1, as instructed, but looks like that when he opened it imported bot

    In order to improve my skills and ease with Premiere Pro, I bought Adobe Premiere Pro CC Classroom in a Book and began to follow the tutorial. I opened the first project for lesson 1, as instructed, but looks like that when he opened it imported two media accompanying the project of the lesson and media one of the practical projects that I've done before. Can someone tell me what I did wrong and why it has imported two sets of brackets instead of only in the media for the lesson. Media for two different projects are not storeed in the same place?

    I found the problem. Sorry if I've lost any time. Please do not take into account. Thank you.

  • How to open a different window for separate codes pl/sql?


    Hello

    In my form, I have many controls. When I open the pl/sql code for all trigger of any control, it opens in the same window that was previously containing pl/sql of some other trigger codes.
    I want to open a separate window for each trigger handled in my form.
    How is that possible?

    Database: 10g
    OS: Windows XP Virtual machine 32 bits
    Forms version: 10g

    Thank you.

    You can open as many windows as you want.

    Hold down the SHIFT key, and then click twice on the unit to trigger or program you want to open, reapeat for several triggers/program units that you want to open.

    Make sure that you do not have the Publisher pl/sql window/s maximized if yes, you will see 1 pl/sql editor open at the same time.

  • I would like to change my method of payment for a U.S. debit card. s. I recently moved to the s. u. and I don't have access to my account Bank Czech more. What should I do? I'm on a renewed EU program of students and teachers (1 year).

    I would like to change my method of payment for a U.S. debit card. s. I recently moved to the s. u. and I don't have access to my account Bank Czech more. What should I do? I'm on a renewed EU program of students and teachers (1 year).

    Since you have moved, you should discuss this situation with support staff.

    The country of your payment address, the country on your Adobe account and the store you purchase of should all match.

    Please see this link for more information:

    FAQ: How can I change the country associated with my Adobe ID?

Maybe you are looking for