-
Notifications
You must be signed in to change notification settings - Fork 16
Couldn't connect / timeout results in EOF or empty response on SPN #61
Comments
Chrome/curl reports it as empty response. Firefox/httpie reports it as EOF. |
I think, there are multiple cases when this error occurs. It happened right now when I opened link on a website, I thought it was blocked but F5 loaded it. I think this can be caused by |
Hey @northys, thanks for reporting this! This behavior is a result of how the SPN works. The TCP connection is "terminated" locally and then only the data goes through the SPN. This means that a TCP connection through the SPN will always succeed (within a couple ms) from the view of the application itself. You can see that this happens in the "Unexpected Logs" section of the provided debug data. We can't spoof another response, as most of the time, the connection will be encrypted. We can probably solve the most of these errors by checking if any data was returned and retrying the connection. This is something I will be looking into in the coming weeks. |
I would say that it is happening more likely on websites I (or maybe other) never visited. E.g. for websites opened from google search results... And it's always INSTANT. https://support.safing.io/privatebin/?94e5263409f87d59#G4HA1z3ZezCuS6qTT6FPUKCJLAF71BhcWWAYY5yt3KNa |
Closing this issue because we are migrating the repo. |
What happened:
Czech hosting service active24.cz is down. When I try to curl the website it timeouts from my server in Czechia (VSHosting) and Germany (Hetzner).
When I try to access that website from my laptop which is connected to SPN I get EOF error.
What did you expect to happen?:
I receive timeout or couldn't connect or something. Same as I do from servers.
How did you reproduce it?:
I've prepared a test domain.
Debug Information:
Version 0.8.5
Platform: fedora 35
Status: Trusted
Resolvers: 6/6
No Module Error
Unexpected Logs
Goroutine Stack
The text was updated successfully, but these errors were encountered: