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

Client bootstrap infinite wait when connecting from server to another server, but connects fine when running client standalone #83

Open
Parsee1 opened this issue Oct 26, 2021 · 0 comments

Comments

@Parsee1
Copy link

Parsee1 commented Oct 26, 2021

I'm new to Netty, still learning it and trying to make a proxy supporting HTTP/2.

I'm using Http2Tiles as the target server (https://127.0.0.1:8443)
My client bootstrap (MyClient.clientBootStrap) wait infinitely when it's started from my proxy server (Programe.Main), https://192.168.1.98/
Debugging found it hungs at line 81. Console not printing "connected."
spannetty1

But if I change the startup object to MyClient in the project properties and run again, breakpoint hits at line 83 and console prints "connected."
spannetty2

Here's my repo https://github.com/Parsee1/SpanNettyTest1

Besides I rewrote it in java with Netty. -- https://github.com/Parsee1/NettyTest1
Client bootstrap connects fine even when connecting from server. Bam!
idea_java

Did I do something wrong or is it a CSharp thing? Need some help over here :'(

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