Serial read SSID/PASS for wifi connection (fail)

What about just hard coding the SSID and password in your sketch as a first step in problem solving.
If even that fails, the problem lies elsewhere.