This is the another way to solve the App Store error see my older post regarding Apple Apps Store Fix
Below are the steps on how I managed to resolve it
Two methods
Using Terminal and without using Terminal
USING TERMINAL METHOD
By terminal we need to reset the Ethernet
Type this Terminal commands or use another method
sudo ifconfig en0 stop
sudo ifconfig en0 start
You can do it by this way also
Open System Preferences=>Network and delete all network connections
Once you delete old one then
Create a new connection called Ethernet and its Service name also Ethernet And configure you IP and DNS manually and Restart you Hackintosh
Now Getting back into App Store and logging in, everything Should works now!