My phone is a Xiaomi Poco X3 pro, running Android 12 (QKQ1), and it says it has MIUI Global 13.0.4 stable. Firefox is version 118.1.1. With Firefox, I am able to access the internet through Wi-Fi, but not using mobile data. With Chrome, both work.
I have checked the permissions (Wi-Fi and mobile data are allowed), and even deleted and re-installed Firefox, and also reset the AP settings associated with my SIM card. Nothing helped.
I should say that in the past no such problems had occurred, but I do not know when exactly this problem started to occur.
Another observation is (and I am not sure whether that could be related) that some apps seem to sometimes lose network connectivity until I restart them. For example, I have a public transport app to search for connections and buy tickets, which sometimes hangs until I remove it from memory and restart it. This problem seems not to occur with other people using the same app at the same time and place (but on another phone).
What else can I check to solve this problem?