Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
luckymlog opened this issue Feb 13, 2023 · 0 comments
Open

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

luckymlog opened this issue Feb 13, 2023 · 0 comments

Comments

@luckymlog
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant