HTC owners of this device have noted connectivity issues with Wi-Fi on this device and strangely, something that they claim, can be temporarily solved if you squeeze the handset in the right place.
Thankfully, though, HTC has taken the blame onto itself this time instead of pretending there is nothing wrong with the phone. In a statement to Android Central, they were quoted saying:
"After investigating isolated reports of WiFi connectivity issues in the HTC One X, we have identified a fix that strengthens the area of the phone around the WiFi antennae connection points. While many customers have not experienced any problems with signal strength, we have taken immediate steps to implement a solution in our production process to prevent this issue from happening in the future. HTC is committed to making sure every customer has a great experience and we apologize for any inconvenience this issue may have caused while we conducted a thorough investigation."
Although the statement says that the future version of the handsets will be free from this defect, there is no information on what the current owners will have to do. Luckily, it's not been long since the handset was out, so you could get it replaced under warranty. Hopefully, HTC provides more information on this particular issue soon.