Note that there are some explanatory texts on larger screens.

plurals
  1. USGPI
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. COI do not really have a clue (the SSLSocketFactory underlying Apache HTTP Client ultimately is the same as what the JDK uses for HTTPSURLConnection), but first thing that comes to mind could be Proxy settings, you should enable the "wire" debug and check if one client or the other goes through one... Proxies are good at generating fake certificates when they do SSL Filtering.
      singulars
    2. CO@Shaggydog : this is a different question altogether. Generating and storing keys/IVs is a difficult problem (tm). You could look at http://stackoverflow.com/questions/2037021/aes-encryption-and-key-storage . But basically, you're right that in this sample, we generate keys out of thin air. Another way could be to prompt the user for a passphrase and use that as the input of a key generation algorithm... Look at "password based key derivation" a.k.a. PBKDF2 as a keyword. See the accepted solution at http://stackoverflow.com/questions/992019/java-256-bit-aes-password-based-encryption
      singulars
    3. COAs @Gray says, GC seems a reasonnable guess when a JVM stalls at 100% of one CPU... Short of profiling, have you tried plugging out Lucene to see if the slowdown is somehow related to that part of your code ? Have you made sure you are not piling operations up in some sort of Collection with put/remove/get operations that are not in constant time ? (e.g. searching a particular element of a LinkedList, popping random elements of an ArrayList, ...)
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload