ICEfaces
  1. ICEfaces
  2. ICE-10589

mobile-showcase file uploads fail when using SSL server config.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: EE-4.0.0.GA, 4.1
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      Tomcat 7 with SSL configuration. IOS 7.x, android 4.4.2, IE 11, FF 34, Chrome 41 desktop browsers. showcase-mobile native demos
    • Assignee Priority:
      P1
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration

      Description

      showcase-mobile demos that use file upload such as camera, camcorder, microphone fail when server is in SSL mode.
      Intially native demos would fail immediately with a modal block of page and the following console error.
      SCRIPT5: Access is denied.
      File: bridge-support.js.jsf, Line: 1061, Column: 1.
      Added this context-param in web.xml in order to get the pages to load
      <context-param>
              <param-name>org.icefaces.mobi.bridgeit.javaScriptURI</param-name>
              <param-value>https://api.bridgeit.mobi/bridgeit/v1.x-latest/bridgeit.js&lt;/param-value>
      </context-param>
      Pages would indeed load but on a desktop browser the camera demo fails when trying to upload image
      Blocked loading mixed active content "http://10.18.39.120:8443/showcase/javax.faces.resource/auxupload.txt.jsf"
      https://10.18.39.120:8443/showcase/javax.faces.resource/bridge.js.jsf?ln=ice.core&v=4_0_0_150324 line 2 > eval
      Line 334.
      On a mobile device, the camera, camcorder and microphone all fail in the same manner. Thumbnails where applicable are rendered but the full size image file can not be viewed.
      1. log1.txt
        15 kB
        Liana Munroe
      2. log2.txt
        11 kB
        Liana Munroe

        Issue Links

          Activity

            People

            • Assignee:
              Ken Fyten
              Reporter:
              Liana Munroe
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: