Core unvailable

Hello sparkers,
My core is unavailable always because in the app spark core,the status is always grey.
Yet,I can communicate with my core but when I do’‘D7 -->digitalWrite’’ for try communitate whit it whit Wi-fi, there is write’’ …Check your core is online…’'
This isn’t normal… How do ?

Thanks and sorry if you dont know because I’m french