Here are a variety of resources helping with connectivity issues:
If you can't connect to the App Store, iTunes Store, or other Apple services, read this support article --> If you can't connect to the App Store, iTunes Store, or other Apple services - Apple Support
- If none of the suggestions work, try the last one: "If you’ve tried all of the above steps and you still can’t connect, contact Apple Support."
Here's a related article about what to do if you can't connect or sign in to iCloud --> If you can't connect or sign in to iCloud - Apple Support
Here's a case where using a VPN prevented sign-in --> Update - Apple Community
If you can connect everywhere else then it sounds like your wi-fi service may be sporadic at that location.
If none of the resources provide a solution, contact Apple for assistance:
For support, click here --> Choose your country or region - Official Apple Support Select your country, then a product. If you don't see one that handles your issue then keep experimenting with selections until you reach one that gets you a chat session or a telephone call and get the representative to redirect you.
or:
Contact Apple for support and service --> "See a list of Apple phone numbers around the world."
Click here --> Contact Apple for support and service - Apple Support