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

Http2 example failed #590

Closed
songqing opened this issue Feb 23, 2024 · 4 comments
Closed

Http2 example failed #590

songqing opened this issue Feb 23, 2024 · 4 comments
Assignees
Labels
type/question Type: question about the product

Comments

@songqing
Copy link

Describe the bug (required)
When I test the example GraphSessionPoolWithHttp2Example.java, where "useHttp2" is true, the example failed with "ERROR [main] - pool init failed.".
And I saw on the server side, there is the error message,

I20240223 11:48:08.052662 43893 Cpp2Worker.cpp:143] Cpp2Worker: Creating connection for socket 507
E20240223 11:48:08.052697 43892 HeaderServerChannel.cpp:100] Received invalid request from client: apache::thrift::transport::TTransportException: Header transport frame is too large: 1347569952 (hex 0x50524920, ascii 'PRI ') (transport apache::thrift::PreReceivedDataAsyncTransportWrapper, address ::ffff:10.xx.xx.xx, port 43500)
E20240223 11:48:08.052731 43893 HeaderServerChannel.cpp:100] Received invalid request from client: apache::thrift::transport::TTransportException: Header transport frame is too large: 1347569952 (hex 0x50524920, ascii 'PRI ') (transport apache::thrift::PreReceivedDataAsyncTransportWrapper, address ::ffff:10.xx.xx.xx, port 43502)
I20240223 11:48:08.052762 43892 HeaderServerChannel.cpp:452] Receive error: apache::thrift::transport::TTransportException: Header transport frame is too large: 1347569952 (hex 0x50524920, ascii 'PRI ')
I20240223 11:48:08.052784 43893 HeaderServerChannel.cpp:452] Receive error: apache::thrift::transport::TTransportException: Header transport frame is too large: 1347569952 (hex 0x50524920, ascii 'PRI ')
I20240223 11:48:08.052785 43892 Cpp2Connection.cpp:638] Channel [::ffff:10.xx.xx.xx]:43500 closed: apache::thrift::transport::TTransportException: Header transport frame is too large: 1347569952 (hex 0x50524920, ascii 'PRI ')
I20240223 11:48:08.052793 43893 Cpp2Connection.cpp:638] Channel [::ffff:10.xx.xx.xx]:43502 closed: apache::thrift::transport::TTransportException: Header transport frame is too large: 1347569952 (hex 0x50524920, ascii 'PRI ')
I20240223 11:48:08.052814 43893 Acceptor.cpp:476] Acceptor=0x7fd35ac3d328 onEmpty()
I20240223 11:48:08.052804 43892 Acceptor.cpp:476] Acceptor=0x7fd35ac3ce28 onEmpty()
E20240223 11:48:08.052893 43893 PeekingManager.h:262] peekSuccess failed, dropping connection: apache::thrift::transport::TTransportException: Channel is !good()
E20240223 11:48:08.052898 43892 PeekingManager.h:262] peekSuccess failed, dropping connection: apache::thrift::transport::TTransportException: Channel is !good()

So, how can I solve this problem? thanks for any advice.

Your Environments (required)

  • OS: uname -a ubuntu20.04
  • Commit id (e.g. a3ffc7d8) master
@songqing
Copy link
Author

@Nicole00 @codesigner Could you help to look at this problem? thanks a lot

@QingZ11 QingZ11 added the type/question Type: question about the product label Feb 23, 2024
@Nicole00
Copy link
Contributor

do you enable the http2 for nebulagraph server?

@Nicole00
Copy link
Contributor

the http2 function is only available for enterprise.

@songqing
Copy link
Author

do you enable the http2 for nebulagraph server?

I used the community edition for nebula server, thanks for your reply

@songqing songqing closed this as completed Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/question Type: question about the product
Projects
None yet
Development

No branches or pull requests

3 participants