Which firmware do you use?

Would it be caused by the weak signal strength of your modem?

In this case, could you ping other sites or 8.8.8.8 to check if the internet is connected or not?