Default Huawei Premia problem obtaining ip address

Hello everyone, this is my first post here and would like to thank everyone in advance. I have a huawei premia from metro pcs and when I try connecting it to my wifi it gets stuck on obtaining ip address. I tried resetting the phone completely but that did not help (wiped the date and cache). Can anyone please give me advice to fix this problem? Thanks again in advance everyone