I was playing in my survival world like I normally do then when it started raining I went to a nearby bed to clear the weather but the rain continued. I went out of that world and went to my test world to test some builds and redstone and there it started raining as well but since I had commands I just tried to clear the weather but it also didnt work so I was really confused. I logged out of that world and went back to my survival world and the rain was gone and I was very certain I left that world while it was raining. Same thing happened to the test world that I had left raining aswell. I tried testing it with commands and made it start raining again but I was able to clear it that time so I waited for it to naturally rain on its own. Once it finally started raining naturally on its own, I tried to clear it using a bed and commands and both didnt work but logging out and back in the game stopped the rain. So I have noticed that using commands to make it rain will make it possible to clear the rain using commands aswell but if the game itself starts the rain, using beds or commands wont stop it but only if you log out and back in the world
Related issues
Comments

Thank you for your report!
We're tracking this issue in MCPE-131325, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.