From dev-return-58987-archive-asf-public=cust-asf.ponee.io@thrift.apache.org Mon Aug 3 13:13:03 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mailroute1-lw-us.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id 59C40180675 for ; Mon, 3 Aug 2020 15:13:03 +0200 (CEST) Received: from mail.apache.org (localhost [127.0.0.1]) by mailroute1-lw-us.apache.org (ASF Mail Server at mailroute1-lw-us.apache.org) with SMTP id 8E3D81243D3 for ; Mon, 3 Aug 2020 13:13:02 +0000 (UTC) Received: (qmail 24554 invoked by uid 500); 3 Aug 2020 13:13:02 -0000 Mailing-List: contact dev-help@thrift.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@thrift.apache.org Delivered-To: mailing list dev@thrift.apache.org Received: (qmail 24434 invoked by uid 99); 3 Aug 2020 13:13:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2020 13:13:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id D5BF741070 for ; Mon, 3 Aug 2020 13:13:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 282597804B2 for ; Mon, 3 Aug 2020 13:13:00 +0000 (UTC) Date: Mon, 3 Aug 2020 13:13:00 +0000 (UTC) From: "zero (Jira)" To: dev@thrift.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (THRIFT-5259) Fix "Transport endpoint is not connected " error when running lua test server accepts a connection MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)