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

Long deplay will cause error #46

Open
louiesun opened this issue Feb 18, 2024 · 0 comments
Open

Long deplay will cause error #46

louiesun opened this issue Feb 18, 2024 · 0 comments

Comments

@louiesun
Copy link

louiesun commented Feb 18, 2024

When I edit the py code, When i change the num_fragment to 0.1, it throws out the following runtime.
(when 0.01, everything is ok except GFW send RESET)

TypeError('str, bytes or bytearray expected, not NoneType')
TypeError('str, bytes or bytearray expected, not NoneType')
SSLError(MaxRetryError("HTTPSConnectionPool(host='dns.electrotm.org', port=443): Max retries exceeded with url: /dns-query?dns=qr4BAAABAAAAAAAABmJ1MjAyMQN4eXoAAAEAAQ&type=A&ct=application%2Fdns-message (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1131)')))"))
TypeError('str, bytes or bytearray expected, not NoneType')
Traceback (most recent call last):
  File "D:\APPS\unVPNedLadder\gfw_resist_HTTPS_proxy\pyprox_HTTPS_v1.0.py", line 464, in <module>
    ThreadedServer('',listen_PORT).listen()
  File "D:\APPS\unVPNedLadder\gfw_resist_HTTPS_proxy\pyprox_HTTPS_v1.0.py", line 220, in listen
    client_sock , client_addr = self.sock.accept()
  File "D:\APPS\Python3\lib\socket.py", line 292, in accept

When I change it back, it runs again but GFW in china send RESET.

@louiesun louiesun reopened this Feb 18, 2024
@louiesun louiesun reopened this Feb 18, 2024
@louiesun louiesun changed the title It seems like fragment doesn't work in China. Long deplay will cause error Feb 19, 2024
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