---
title: Bug in X DMs (X Chat) showing "Unable to communicate with server" Causes
  of the error and how to fix it when an error occurs even after entering the
  passcode
url: https://roboin.io/article/en/2026/04/15/x-chat-cannot-connect-to-server-error-causes-and-fixes/
description: When attempting to open XChat (formerly DMs), some users have
  suddenly been prompted to enter a passcode, and even after entering the
  correct passcode, they see [Unable to communicate with server. Please check
  your network connection and try again.] and are unable to proceed. This issue
  has been occurring since around April 14. It is occurring in both the mobile
  app and the web client, and appears to be a temporary issue.
publishedDate: 2026-04-15T01:12:24.689Z
modifiedDate: 2026-04-15T01:12:24.689Z
thumbnail: https://roboin.io/api/media/file/x-twitter-mobile-blue-message.png
thumbnailAlt: 机の上に置かれたスマートフォンにメールのアイコンが表示されている写真
thumbnailCaption: N/A
---

# Bug in X DMs \(X Chat\) showing "Unable to communicate with server" Causes of the error and how to fix it when an error occurs even after entering the passcode

When attempting to open XChat (formerly DMs), some users have suddenly been prompted to enter a passcode, and even after entering the correct passcode, they see [Unable to communicate with server. Please check your network connection and try again.] and are unable to proceed. This issue has been occurring since around April 14.

It is occurring in both the mobile app and the web client, and appears to be a temporary issue.

## Details of the issue

With this issue, when trying to open XChat, users are prompted to enter or newly set a passcode (PIN), and even after entering the correct passcode, the error message [Unable to communicate with server. Please check your network connection and try again.] appears, preventing them from proceeding.

This issue has been occurring in both the mobile app and the web client since around April 14.

XChat is X's new chat service, and traditional DMs have been integrated into XChat.

XChat includes features such as encryption, disappearing messages, and file transfer, and overall offers stronger security and privacy than DMs.

In XChat, messages are encrypted so that not even X itself can view them, and only the user can read them.

However, because encryption has been implemented in XChat, users are now required to set a 4-digit passcode.

With this issue, even if users enter the passcode they should have already set, an error occurs and they are unable to open XChat.

Messages in XChat are not encrypted directly with the 4-digit passcode that was set. Instead, the system uses the 4-digit passcode to protect a dedicated secret key (a key used to restore encrypted messages) stored on the server.

Given that it is occurring in both the app and the web client, this issue is likely a problem on X's server side.

XChat also experienced a different issue in early April.

[Users report X Chat\/DM not loading and showing "Oops! An unexpected error occurred."](https://roboin.io/article/en/2026/04/05/x-chat-error-prevents-users-from-reading-messages/)

## It is better not to reset the passcode casually

The 4-digit passcode for XChat is used to store and restore the secret key required to decrypt conversation history.

If you have already set an XChat passcode and have a device on which the passcode has already been entered, you can reset the passcode from the chat settings.

However, if you have already set a passcode but do not have any device that has already entered the passcode and can access XChat, resetting the passcode will result in the loss of encrypted conversation history.

Even in that case, older unencrypted messages will still remain visible, but encrypted messages will no longer be accessible.

Even if you do have a device on which the passcode has already been entered, it is better to avoid resetting it while this issue is currently occurring.

If you forget the passcode, in the worst case you may be unable to restore your conversation history, so casually resetting the passcode is not recommended.

[What is the X \(Twitter\) Chat passcode? What happens if you forget it?](https://roboin.io/article/en/2025/12/16/what-is-the-x-twitter-chat-passcode-and-what-happens-if-you-forget-it/)

## How to fix it

It is recommended that you wait a few days and then try entering the correct passcode again.

As mentioned above, casually resetting the passcode is not recommended, and if you enter the wrong passcode too many times, you may also lose access to encrypted messages.

It is unclear whether a case in which you entered the correct passcode but still received an error is counted as a failed passcode attempt, but if it is counted, repeatedly trying could make it impossible to restore encrypted messages permanently.

If you have not yet set up an XChat passcode, wait a few days and then try setting the passcode using the method introduced in the article below.

Please note that you cannot use DMs (XChat) unless a passcode has been set.

[Xチャットのパスコードの設定方法をわかりやすく解説](https://roboin.io/article/2026/01/05/how-to-set-a-passcode-for-x-chat/)

## Conclusion

Since around April 14, there has been an issue in which even if users enter the correct passcode in XChat, [Unable to communicate with server. Please check your network connection and try again.] is displayed and they are unable to proceed.

It is occurring in both the mobile app and the web client, and appears to be a temporary issue.

It is recommended that you do not reset the passcode or keep forcing attempts, and instead wait a few days before trying again.