<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="381533" data-post-id="381533">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="DaAnalyst" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  DaAnalyst
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Thanks for this.</p>
<p>Just installed it and trying to make it “print” the page the way I have it on the screen (Phoenix LiveView app btw).</p>
<p>In the meantime, I ran into the following <code>Experimental</code> warning in the docs:<br>
“Please note that support for remote connections is considered experimental. Be aware that between restarts ChromicPDF may leave tabs behind and your external Chrome process may leak memory.”</p>
<p>Now, on one hand it’s recommended to have Chromium containerized separately in prod (as it should be) and on the other there’s this warning that kinda defeats the purpose.</p>
<p>Has there been any progress in this regard?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="381533" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/chromicpdf-pdf-generator/29473/62">Post #61</a>
	                </div>
	            </div>
              <div id="likers-container-381533" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="381533"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #61"></div>
  </section>
</div>
    <div class="postbit" id="381534" data-post-id="381534">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="maltoe" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/maltoe/120/18436_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  maltoe
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p><a class="mention" href="/u/daanalyst" rel="nofollow">@DaAnalyst</a> Not sure we recommend anywhere in the docs to have only Chrome containerized separately. In our own projects we never had it setup this way, instead we always had it bundled alongside an Elixir app in a single container. I’m aware the docs says something about running your PDF printing service separate from your “main app”, but that’s a different thing. Furthermore, unfortunately in newer Chrome versions the <code>--remote-debugging-address</code> option doesn’t allow binding to <code>0.0.0.0</code> anymore so you’d need to proxy traffic <em>into</em> the container before passing it to chrome, as suggested in <a href="https://github.com/bitcrowd/chromic_pdf/issues/327" rel="noopener nofollow ugc">this issue</a>. So, to your “has there been progress” question: There has not and won’t be because we don’t really want to support it, and overall the “remote chrome” story won’t get any better.</p>
<p>To be completely honest, it also isn’t clear to me how this additional isolation of Chrome is helping security, in comparison to simply isolating the PDF printing service of your app. The attack vector would be that some user input in your templates compromises Chrome (= allows to escape its sandbox) and gives the attacker access to the container environment, but what additional impact does this have if you run a minimal Elixir app alongside Chrome there? Personally leaning strongly towards the simplicity of a “local chrome” setup over this vague security benefit.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="381534" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/chromicpdf-pdf-generator/29473/63">Post #62</a>
	                </div>
	            </div>
              <div id="likers-container-381534" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="381534"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #62"></div>
  </section>
</div>
    <div class="postbit" id="381535" data-post-id="381535">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="DaAnalyst" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  DaAnalyst
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Thanks. I’ll explore the “printing service” (min app) option.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="381535" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/chromicpdf-pdf-generator/29473/64">Post #63</a>
	                </div>
	            </div>
              <div id="likers-container-381535" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="381535"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-last-post cat-last-post" title="Last post!"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <span class="all-loaded">— All posts loaded —</span>
</div></template></turbo-stream>