Uploaded image for project: 'Syndication'
  1. Syndication
  2. SYN-50

Unable to display a https RSS, an error occured

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Critical Critical
    • 1.12.0
    • 1.10.0
    • None

      Date:			Fri Mar 09 17:05:50 CET 2018 (1520611550152)
      Thread:		http-apr-8080-exec-13
      Message #:	4038
      Level:		ERROR
      NDC:			
      Category:	org.ametys.plugins.syndication.FeedCache
      Message:		Unable to read the RSS feed to the url : https://archemedia.hypotheses.org/feed
      Location:	org.ametys.runtime.util.SLF4JLogger.error(SLF4JLogger.java:58)
      Thrown:
      

      And in the browser (Back-office)

      Received fatal alert: protocol_version
      

          [SYN-50] Unable to display a https RSS, an error occured

          For others others who need to solve this issue

          I added

          -Dhttps.protocols=TLSv1.1,TLSv1.2

          in JAVA_HOME

          https://www.bouncycastle.org/fr/latest_releases.html + http://tomee.apache.org/bouncy-castle.html :
          in

          jre/lib/ext

          I added

          bcprov-ext-jdk15on-157.jar
          bcprov-jdk15on-157.jar

          And modifying java.security in second position

          Then :
          http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html + https://docs.datastax.com/en/cassandra/latest/cassandra/configuration/installJCE.html

          Frederic Ravetier (Inactive) added a comment - For others others who need to solve this issue I added -Dhttps.protocols=TLSv1.1,TLSv1.2 in JAVA_HOME https://www.bouncycastle.org/fr/latest_releases.html + http://tomee.apache.org/bouncy-castle.html : in jre/lib/ext I added bcprov-ext-jdk15on-157.jar bcprov-jdk15on-157.jar And modifying java.security in second position Then : http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html + https://docs.datastax.com/en/cassandra/latest/cassandra/configuration/installJCE.html

          For information, I am using :

          [cms@:/usr/lib/jvm] $jre1.7.0/bin/java -version
          java version "1.7.0"
          Java(TM) SE Runtime Environment (build 1.7.0-b147)
          Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
          [cms@:/usr/lib/jvm] $jre1.7.0/bin/java -fullversion
          java full version "1.7.0-b147"
          [cms@] $
          

          Frederic Ravetier (Inactive) added a comment - - edited For information, I am using : [cms@:/usr/lib/jvm] $jre1.7.0/bin/java -version java version "1.7.0" Java(TM) SE Runtime Environment (build 1.7.0-b147) Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode) [cms@:/usr/lib/jvm] $jre1.7.0/bin/java -fullversion java full version "1.7.0-b147" [cms@] $

          Now I get : Received fatal alert: handshake_failure

          Frederic Ravetier (Inactive) added a comment - Now I get : Received fatal alert: handshake_failure

          Your site use TLS1.1 and 1.2 protocol
          But, by default, java 6 & 7 only.
          Plz add

          -Dhttps.protocols=TLSv1.1,TLSv1.2

          to your command line to be able to read such streams

          Raphaël Franchet added a comment - Your site use TLS1.1 and 1.2 protocol But, by default, java 6 & 7 only. Plz add -Dhttps.protocols=TLSv1.1,TLSv1.2 to your command line to be able to read such streams

            Unassigned Unassigned
            fravetier Frederic Ravetier (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: