Hello!
I'm having same problem

directoy _lib is seted with 777
Production environment -> Pdf server Ip is seted with www....