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

Sometimes not responding on HTTPS #33

Closed
EpicEric opened this issue Jan 5, 2025 · 3 comments
Closed

Sometimes not responding on HTTPS #33

EpicEric opened this issue Jan 5, 2025 · 3 comments

Comments

@EpicEric
Copy link
Owner

EpicEric commented Jan 5, 2025

Occasionally, my Sandhole instance will stop properly handling HTTP connections. Socket binding still works but no response is returned. On the other hand, SSH connections still work properly.

My guess is on some deadlock related to the ConnectionMap, but as of writing this issue I don't know the root cause.

@EpicEric
Copy link
Owner Author

EpicEric commented Jan 12, 2025

Managed to replicate the issue and the following happens:

  • Regular connections don't work and don't timeout normally
  • Connections to unknown domains pointing to Sandhole quickly return 404 on HTTP
  • Connections to the main domain fail for HTTPS but redirect still for HTTP

This looks like an issue with HTTPS specifically

@EpicEric EpicEric changed the title Sometimes not responding on HTTP Sometimes not responding on HTTPS Jan 12, 2025
@EpicEric
Copy link
Owner Author

EpicEric commented Jan 20, 2025

Although much less frequently, there are still HTTPS errors, while HTTP seems to work fine

@EpicEric EpicEric reopened this Jan 20, 2025
EpicEric added a commit that referenced this issue Jan 26, 2025
@EpicEric
Copy link
Owner Author

EpicEric commented Feb 6, 2025

After the changes in cc61e83 I haven't seen any more locks, so I'm optimistically closing this.

@EpicEric EpicEric closed this as completed Feb 6, 2025
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