Start a conversation

ERROR: Received message too long 1416128883

Overview/Context

SFTP, which stands for Secure File Transfer Protocol, is a secure version of File Transfer Protocol (FTP), which facilitates data access and data transfer over a Secure Shell (SSH) data stream. The advantage of using SFTP is having the ability to leverage a secure connection to transfer files and traverse the file system on both the local and remote system.

When the remote system attempts to transfer data via SFTP to the NMM server, the following error is received:

[cgi@L28IMEP01 ~]$ sftp mediation@10.96.132.20
Connecting to 10.96.132.20...
mediation@10.96.132.20's password:
Received message too long 1416128883
[cgi@L28IMEP01 ~] $

The article provides the recommendation and the resolution for this error message.

Environment/Affected Version

All version of the NewNet Mobile Messaging RTR (Router) Component

Requirements

Access to the NewNet Mobile Messaging Server

Root Cause

This error means that an output message is being sent to the server while attempting to SFTP.

Resolution/Information

  1. Check what message is being thrown.
  2. Connect to the server via ssh and check if the below message appears:
    [textpass@tklsht-mgr01 ~]$ ssh mediation@10.96.132.20
    mediation@10.96.132.20's password:
    Last login: Wed Nov 29 16:54:01 2017 from tklsht-mgr01
    This account is currently not available.
    Connection to 10.96.132.20 closed.
  3. The above error indicates that the mediation shell login is /sbin/nologin instead of /bin/bash.
  4. Run the following command to change the mediation shell to /bin/bash: 
    [root@tklkpg-rtr01 ~]# chsh -s /bin/bash mediation
    Changing shell for mediation.
    Shell changed.

 Validation

The customer's remote system is able to establish an SFTP connection to the NewNet server successfully without any errors.

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments