Forum Discussion

SP_266134's avatar
SP_266134
Icon for Nimbostratus rankNimbostratus
Mar 27, 2018

F5 vip unable to open PDFs

Hi guys, In the web application when I click on link for pdf some pdf fail to open , either they are corrupted or failed to load pdf message occurs. I was able to download the pdf. Some time is am getting 304 error form chorme. From Fiddler i get HTTP/1.1 502 Fiddler - Connection Failed Cache-Control: no-cache, must-revalidate. Any anyone suugest me a solutions to fix the problem.

 

3 Replies

  • This happens only on few files, and when i browse the files form local web server they are there. Users can download the file from the vip. But when they click the link for some pdf files it throws errors.

     

  • Hi you need to enable Content-Disposition on your VS. You need to create an iRule with this parameters.

     

    when HTTP_RESPONSE { if { [HTTP::header exists "Content-Disposition"] } { HTTP::disable } }}

     

    • SP_266134's avatar
      SP_266134
      Icon for Nimbostratus rankNimbostratus

      I still have this issues after adding this I rules , not sure what is happening . I have enabled stream profile. I am still trouble shooting this.