thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zero (Jira)" <j...@apache.org>
Subject [jira] [Updated] (THRIFT-5259) Fix "Transport endpoint is not connected " error when running lua test server accepts a connection
Date Mon, 03 Aug 2020 13:13:00 GMT

     [ https://issues.apache.org/jira/browse/THRIFT-5259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

zero updated THRIFT-5259:
-------------------------
    Description: 
I ran the lua tests as follows and all failed:

	1. Edit tests.json, add the lua server configuration
	2. test.py --server lua --client lua

After checking the log, it was found that the problem occurred when the server accepted the
connection:

===============================================================================
lua: ../../lib/lua/Thrift.lua:40: Transport endpoint is not connected
stack traceback:
        [C]: in function 'error'
        ../../lib/lua/Thrift.lua:40: in function 'terror'
        ../../lib/lua/TSocket.lua:129: in method 'accept'
        ../../lib/lua/TServer.lua:132: in method 'serve'
        test_basic_server.lua:141: in function 'testBasicServer'
        test_basic_server.lua:145: in main chunk
        [C]: in ?
===============================================================================

  was:
I ran the lua tests as follows and the results all failed:

	1. Edit tests.json, add the lua server configuration
	2. test.py --server lua --client lua

After checking the log, it was found that the problem occurred when the server accepted the
connection:

===============================================================================
lua: ../../lib/lua/Thrift.lua:40: Transport endpoint is not connected
stack traceback:
        [C]: in function 'error'
        ../../lib/lua/Thrift.lua:40: in function 'terror'
        ../../lib/lua/TSocket.lua:129: in method 'accept'
        ../../lib/lua/TServer.lua:132: in method 'serve'
        test_basic_server.lua:141: in function 'testBasicServer'
        test_basic_server.lua:145: in main chunk
        [C]: in ?
===============================================================================


> Fix "Transport endpoint is not connected " error when running lua test server accepts
a connection  
> ----------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-5259
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5259
>             Project: Thrift
>          Issue Type: Bug
>          Components: Lua - Library
>    Affects Versions: 0.13.0
>            Reporter: zero
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> I ran the lua tests as follows and all failed:
> 	1. Edit tests.json, add the lua server configuration
> 	2. test.py --server lua --client lua
> After checking the log, it was found that the problem occurred when the server accepted
the connection:
> ===============================================================================
> lua: ../../lib/lua/Thrift.lua:40: Transport endpoint is not connected
> stack traceback:
>         [C]: in function 'error'
>         ../../lib/lua/Thrift.lua:40: in function 'terror'
>         ../../lib/lua/TSocket.lua:129: in method 'accept'
>         ../../lib/lua/TServer.lua:132: in method 'serve'
>         test_basic_server.lua:141: in function 'testBasicServer'
>         test_basic_server.lua:145: in main chunk
>         [C]: in ?
> ===============================================================================



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message