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

Framed transport server problems

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.4
    • 0.5
    • Erlang - Library
    • None
    • Patch Available

    Description

      If I try to call the erlang thirift service associated with the attached files in framed mode from python, it dies with:

      $ gen-py/erlframedtest/FramedTest-remote -h localhost:9999 -f hi

      =ERROR REPORT==== 19-May-2010::15:09:20 ===

        • Generic server <0.41.0> terminating
        • Last message in was {read,4}
        • When Server state == {framed_transport,
          {transport,thrift_socket_transport,
          {data,#Port<0.847>,500}},
          <<>>,[]}
        • Reason for termination ==
        • badmatch,{error,closed,
          [ {thrift_framed_transport,handle_call,3},
          {gen_server,handle_msg,5},
          {proc_lib,init_p_do_apply,3}]}

          =ERROR REPORT==== 19-May-2010::15:09:20 ===
          {thrift_socket_server,245,
          {child_error,badmatch,{error,closed,
          [{thrift_framed_transport,handle_call,3}

          ,

          {gen_server,handle_msg,5}

          ,

          {proc_lib,init_p_do_apply,3}

          ]},
          []}}

      This is with erlang R13B04.

      Attachments

        1. erlframedtest.erl
          0.7 kB
          Manish Singh
        2. erlframedtest.thrift
          0.0 kB
          Manish Singh
        3. thrift-erl-framed.patch
          2 kB
          Anthony Molinaro

        Activity

          People

            djnym Anthony Molinaro
            yosh Manish Singh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: