Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-10252

[FIS]no_proxy in jvm argument not honoured in FIS Image

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: FIS 2.0
    • Fix Version/s: FIS 2.0-patches, fuse-7.4
    • Component/s: FIS
    • Labels:
      None
    • Sprint:
      Fuse 7.4 Sprint 45 - Dev #1
    • Steps to Reproduce:
      Hide

      just define the env variable.

      export HTTP_PROXY=http://dummy.com
      export HTTPS_PROXY=http://dummy.com
      export NO_PROXY=.google.com\|.redhat.com
      export no_proxy=.google.com\|.redhat.com
      export JAVA_MAIN_CLASS=TestPing
      

      and run the script.

      sh-4.2$ /opt/run-java/run-java.sh
      exec java -Dhttps.proxyHost=dummy.com -Dhttp.proxyHost=dummy.com -Dhttp.nonProxyHosts="*.google.com|*.redhat.com" -XX:ParallelGCThreads=1 -XX:ConcGCThreads=1 -Djava.util.concurrent.ForkJoinPool.common.parallelism=1 -XX:CICompilerCount=2 -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -XX:+ExitOnOutOfMemoryError -cp .:/deployments/* TestPing
      https://access.redhat.com               Status:-> Red <-        Wrong domain - Exception: Unexpected end of file from server
      
      Show
      just define the env variable. export HTTP_PROXY=http: //dummy.com export HTTPS_PROXY=http: //dummy.com export NO_PROXY=.google.com\|.redhat.com export no_proxy=.google.com\|.redhat.com export JAVA_MAIN_CLASS=TestPing and run the script. sh-4.2$ /opt/run-java/run-java.sh exec java -Dhttps.proxyHost=dummy.com -Dhttp.proxyHost=dummy.com -Dhttp.nonProxyHosts= "*.google.com|*.redhat.com" -XX:ParallelGCThreads=1 -XX:ConcGCThreads=1 -Djava.util.concurrent.ForkJoinPool.common.parallelism=1 -XX:CICompilerCount=2 -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -XX:+ExitOnOutOfMemoryError -cp .:/deployments/* TestPing https: //access.redhat.com Status:-> Red <- Wrong domain - Exception: Unexpected end of file from server

      Description

      One customer found that no_proxy was not honored in FIS image, he is using the latest one 2.0-47, I can reproduce the issue on 2.0.38 too.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                valdar Andrea Tarocchi
                Reporter:
                xiaohui.wu Vicky Wu
                Tester:
                Lukáš Löwinger
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: