• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Opening PDF on IFS when Valance is running in HTTPS

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Opening PDF on IFS when Valance is running in HTTPS

    We have an app that creates a PDF via an RPG pgm, and then opens the PDF via a URL print widget (as a popup). When running in HTTP, it creates and displays the pdf fine. When running in HTTPS, it creates but does not display the PDF. We use a link that we give to the users rather than just loading it directly in a Valance instance.





    When I take the link, I get a a status 404

    image.png?
    that password messages just started showing up this morning...last week it was not there.

    Again, this only happens in HTTPS, not HTTP. Can you tell me if I have a configuration issue where HTTP and access to the IFS is concerned?

  • #2
    If you click on the link on the right of the console for the 404 (Not Found) (starting with "ManuelIbarra2025"), does the path look correct to you?

    Comment


    • #3
      Is this what you are looking for?

      image.png?

      it matches the path when viewed in the green screen

      image.png

      I am running ? 6.3.20250923.0 in this environment...it 'might' be related to the version rather than HTTPS.

      and we are running 6.3.20250910.0 in the HTTP environments where this issue does not occur.

      Comment


      • #4
        No, I am talking about in chrome developer console base on your original image.

        Screenshot 2025-12-02 at 5.56.37?PM.png

        Comment


        • #5
          This is what I see when I click on that link.

          image.png

          Maybe this will help. When the PRINT button is pressed, an RPG call to create the PDF is made, and then the app displays a POPUP print widget to display the PDF (passing the PDFname in an app variable). Also this only occurs for the 'user' type call...when I run it interactively, it works fine (however, I am a QPGMR). I am fairly certain that it is a permissions issue but don't know what to change in the Valence6 configuration to allow permissions to the IFS when running in HTTPS.

          image.png?

          image.png

          Yesterday we upgraded the test environment to the latest Valence install (6.3.20251117.0), and that did not change anything.

          ??
          ?
          Attached Files

          Comment


          • #6
            the access to the IFS directory has *Public ALL

            image.png?

            Comment


            • #7
              Well...thanks for your patience. I found an error in my HTTPS configuration and once I fixed it, that PDF now opens. You can close this ticket

              Comment

              Working...
              X