Project-Faster / qpep

A working version of qpep standalone go client/server, designed to accelerate high-latency connections, like those provided by geostationary satellites.
https://docs.projectfaster.org
Other
3 stars 1 forks source link

Connection indicator Icon client / server testing #5

Closed parvit closed 2 years ago

parvit commented 2 years ago

@bizzbyster @mfoxworthy Your reported by email that the icon indicator from #2 seems to not be working for you.

From the log you provided:

08:52:59.457375 ARGS: C:\Users\PLEPESKA_LOCAL\github\qpep\qpep.exe -client -threads 1 -gateway [REDACTED] -port 443 -apiport 0 -listenaddress 192.168.4.227 -listenport 9443 -acks 10 -ackDelay 25 -congestion 4 -decimate 4 -minBeforeDecimation 100 -multistream true -varAckDelay 0
08:52:59.457758 {
"AckElicitingPacketsBeforeAck": 10,
"AckDecimationDenominator": 4,
"InitialCongestionWindowPackets": 4,
"MultiStream": true,
"VarAckDelay": 0.25,
"MaxAckDelay": 25,
"MinReceivedBeforeAckDecimation": 100,
"ClientFlag": true,
"GatewayIP": "[REDACTED]",
"GatewayPort": 443,
"GatewayAPIPort": 0,
"ListenIP": "192.168.4.227",
"ListenPort": 9443,
"WinDivertThreads": 1,
"Verbose": false
}
08:52:59.457758 Running Client
08:52:59.457758 Diverter messages will be ignored
08:52:59.463818 Starting TCP-QPEP Tunnel Listener
08:52:59.463866 Binding to TCP 192.168.4.227:9443
08:52:59.508676 Accepting TCP connection from 192.168.4.227:55791 with destination of 192.168.4.227:9443
08:52:59.508676 Dialing QUIC Session: [REDACTED]:443
08:53:00.111479 Accepting TCP connection from 192.168.4.227:55794 with destination of 192.168.4.227:9443
08:53:00.111479 Dialing QUIC Session: [REDACTED]:443
08:53:00.467144 local: 192.168.4.227 - 192.168.4.227
08:53:00.468460 ERROR: Get "http://[REDACTED]:0/api/v1/echo": dial tcp 192.168.4.227:0->[REDACTED]:0: connectex: The requested address is not valid in its context.
08:53:00.468460 Gateway Echo FAILED
08:53:01.127592 Accepting TCP connection from 192.168.4.227:57482 with destination of 192.168.4.227:9443
08:53:01.128465 Dialing QUIC Session: [REDACTED]:443
08:53:01.434182 Accepting TCP connection from 192.168.4.227:55772 with destination of 192.168.4.227:9443
08:53:01.434595 Dialing QUIC Session: [REDACTED]:443
08:53:01.435307 Accepting TCP connection from 192.168.4.227:57485 with destination of 192.168.4.227:9443
08:53:01.435307 Dialing QUIC Session: [REDACTED]:443
08:53:01.474602 local: 192.168.4.227 - 192.168.4.227
08:53:01.475174 ERROR: Get "http://[REDACTED]:0/api/v1/echo": dial tcp 192.168.4.227:0->[REDACTED]:0: connectex: The requested address is not valid in its context.
08:53:01.475174 Gateway Echo FAILED
08:53:01.764372 Accepting TCP connection from 192.168.4.227:57486 with destination of 192.168.4.227:9443
08:53:01.764372 Dialing QUIC Session: [REDACTED]:443
08:53:02.475844 local: 192.168.4.227 - 192.168.4.227
08:53:02.476899 ERROR: Get "http://[REDACTED]:0/api/v1/echo": dial tcp 192.168.4.227:0->[REDACTED]:0: connectex: The requested address is not valid in its context.
08:53:02.476899 Gateway Echo FAILED
08:53:03.478895 local: 192.168.4.227 - 192.168.4.227
08:53:03.479513 ERROR: Get "http://[REDACTED]:0/api/v1/echo": dial tcp 192.168.4.227:0->[REDACTED]:0: connectex: The requested address is not valid in its context.
08:53:03.479513 Gateway Echo FAILED
08:53:04.423439 Accepting TCP connection from 192.168.4.227:57494 with destination of 192.168.4.227:9443
08:53:04.423439 Dialing QUIC Session: [REDACTED]:443
08:53:04.480907 local: 192.168.4.227 - 192.168.4.227
08:53:04.481565 ERROR: Get "http://[REDACTED]:0/api/v1/echo": dial tcp 192.168.4.227:0->[REDACTED]:0: connectex: The requested address is not valid in its context.
08:53:04.481565 Gateway Echo FAILED
08:53:04.514841 Failed to Open QUIC Session: Timeout: No recent network activity
    Retrying...
08:53:05.113338 Failed to Open QUIC Session: Timeout: No recent network activity
    Retrying...
08:53:05.237789 Accepting TCP connection from 192.168.4.227:57497 with destination of 192.168.4.227:9443
08:53:05.238786 Dialing QUIC Session: [REDACTED]:443
08:53:05.485106 local: 192.168.4.227 - 192.168.4.227
08:53:05.485700 ERROR: Get "http://[REDACTED]:0/api/v1/echo": dial tcp 192.168.4.227:0->[REDACTED]:0: connectex: The requested address is not valid in its context.
08:53:05.485700 Gateway Echo FAILED

It seems that the value passed to -apiport (coming from the tray configuration GatewayAPIPort) is 0 which is an invalid value, i'll make an improvement to terminate the client if the api server does not launch correctly.

Could you also provide the server log so i can see if there's any setting being passed incorrectly?

parvit commented 2 years ago

Please test and review the PR #6, if there's positive feedback i'll merge.

parvit commented 2 years ago

6 merged