Skip to main content
Known Participant
September 17, 2022
Question

PDF Service Manager not enabling on Azure Container Instance Linux Server

  • September 17, 2022
  • 1 reply
  • 1088 views

I have Azure Container Instance running Coldfusion 2021 on Linux Server.

I am getting Connection verification failed for PDF Service Manager: localhost.
Connect to 127.0.0.1:8993 [/127.0.0.1] failed: Connection refused (Connection refused) http://127.0.0.1:8993/PDFgServlet/verify

 

How to resolve this issue?

 

 

    This topic has been closed for replies.

    1 reply

    Charlie Arehart
    Community Expert
    Community Expert
    September 17, 2022

    When you installed cf, did you check the option to enable the pdfg service? That was on the page for enabling solr, pdfg, .Net, etc. If you did not, you can get an installer for that from the Adobe cf downloads page.

     

    If you HAVE implemented it, is it running? It's a separate process/service from cf.

     

    If it's running, is it listening on that port 8993 that you show?

     

    Let us know if you need details on any of the above. 

    /Charlie (troubleshooter, carehart. org)
    Known Participant
    September 17, 2022

    Charlie,

    I installed this image adobecoldfusion/coldfusion:latest.

    When I tried to verify, I got this error.

    Do I need to do anything else?

     

    Thanks,Souvik
    Charlie Arehart
    Community Expert
    Community Expert
    September 18, 2022

    Sorry. It wasn't readily clear you were using the Adobe CF container image. So have you followed the details and examples offered by Adobe for how to run the pdf service within the cf container? See https://helpx.adobe.com/coldfusion/using/docker-images-coldfusion.html.

     

    Note how it's necessary to run NOT ONLY the CF container, but also you need to run the separate CF "addons" container, and point the CF container at that. (This is just a twist on what I was saying above: how with traditional CF installation, that too has both CF itself and a separate "add on" service.)

     

    The doc page I point to above discusses how to setup a docker compose file that has both running, and also shows setting the environment variables in the CF container that point to the addons running in the other container.

     

    If you would like a different presentation of a working example, I offer one myself, as part of my "Awesome CF Compose" project on github. You will see there that I offer many different examples of the CF Docker images, including one specifically with the heading, "ColdFusion with Solr and and PDFg (CFHTML2PDF) features enabled".

     

    You'll see it's the docker-compose.yml (which may be all you really need), which shows the setup of the two containers, as well as the env vars needed for each, including naming the cf2021 module called htmltopdf which is needed to use the PDF feature. (You may already know about that, as you show using the PDF Service page working in the admin.)

     

    Finally, I also show there an example with a cfhtmltopdf call that works, using those containers, in a subfolder called demo-pdfg, within the container's /app, which you may already know is where the CF images look for code to run within the container.

     

    Let us know if that gets you going.

    /Charlie (troubleshooter, carehart. org)