Other sites and apps are working just fine, no network issue.
But yesterday I faced exactly the same problems as you, although I was not shown Error 504: Gateway time-out but was having problems accessing the Bitcoin Talk forum. But other websites are not running smoothly.
However, if you face such a problem, you can use VPN to access the bitcointalk forum.
Anyway the problem is fixed now. So, I'm locking this thread.