Rain gets stuck on despite sleeping on my single player world until I close the game and reopen. I believe its a visual bug, as hostile mobs usually spawn under some trees during rain, but none have. Four strait days of rain. Along with this, right before the most recent hotfix (1.17.40) the sky got stuck on gray skies (not in or near a desert) when I came out of a nether portal for several game days until I closed and reopened- it was not raining.
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 – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki