Skip to content

The server failed to issue an HTTP response, retrying #292

@luckymlog

Description

@luckymlog

Versions

eg: 0.7.1

Describe the bug

命令./bin/quicksql-server.sh start -p 5888 -r flink
server启动正常
客户端报一直报The server failed to issue an HTTP response, retrying

To Reproduce

public static void main(String[] args) throws SQLException, ClassNotFoundException {
Class.forName("com.qihoo.qsql.client.Driver"); //注入Drvier

    Properties properties = new Properties();
    properties.setProperty("runner","jdbc");
    String url = "jdbc:quicksql:url=http://10.10.99.9:5888";
    Connection connection = DriverManager.getConnection(url,properties);
    Statement pS = connection.createStatement();
    String sql = "select * from (values ('a', 1), ('b', 2))";
    ResultSet rs =  pS.executeQuery(sql);
    while (rs.next()) {
        System.out.println(rs.getString(1));
        System.out.println(rs.getString(2));
    }
    rs.close();
    pS.close();
}

Full Output Logs

The server failed to issue an HTTP response, retrying

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions