Error 504 sometimes from pagseguro

I just contact Pagseguro to see if they have more info. Its weird cause If my server was delivering some 504 this for sure would pop up in the log.

Just saw that one range was not set up in the htaccess, but dont think thats the problem.

I already check these answers of Fixing Error 502 / 504, still the same.