Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4958

TSocket: timed out reading 4 bytes from server:port

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Not A Problem
    • 0.12.0
    • None
    • PHP - Library
    • Thrift 0.12: PHP 7.3 with Apache 2.4 on Ubuntu 18.04 , Oracle JDK 8

    Description

      I have come this error across on my development server while working on a PHP 7.3 client and Java 8 Server.

      TSocket: timed out reading 4 bytes from server:port

      The PHP client is using TFramedTransport with Binary Protocol and the Java server is using TThreadSelectorServer. The error appeared all of a sudden and doesn't go away unless I restart the server, and it comes back after a while.

      This issue seems to have been raised at: https://issues.apache.org/jira/browse/THRIFT-347 and fixed for version 0.6, but it seems to occur for me on version 0.12 - for reasons I don't know.

      Attachments

        1. e.bmp
          103 kB
          Jose Andres Gomez Tovar

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            dedipyaman Dedipyaman Das
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment