Comments (4)
Chrome/curl reports it as empty response. Firefox/httpie reports it as EOF.
from spn.
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
a) connection in SPN network between SPN nodes failed / timeouts / whatever
b) the page being loaded through SPN network timeouts / cant connect to edge (last in SPN connection chain) node
from spn.
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.
Should the connection through SPN or from the SPN exit to the destination fail, the connection will be closed without having sent any data, resulting in an EOF or "empty response" error.
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.
from spn.
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
from spn.
Related Issues (20)
- FAQ: How can I exclude the Local Network (LAN) from the SPN? HOT 1
- FAQ: Why does the SPN not connect? HOT 1
- FAQ: Can community nodes see my traffic? HOT 1
- FAQ: How can I host a community node? HOT 1
- SPN impossible to go through an entire download. HOT 4
- Reaching kobo.com through spn only HOT 4
- Feature: SPN for PFsense HOT 1
- Add toggles to easily disable the "eyes" countries HOT 3
- Can you please add a node in Czechia? HOT 1
- Can't login and my account details show only the close button HOT 4
- Speed Issue Resolved - Enjoy all* of your MBit/s!
- Community Exits Enabled Again [Updated]
- SPN Update: Stability > Latency
- Add desktop icon for SPN health HOT 1
- While SPN on, after PC is woken from sleep mode, Firefox [maybe others, haven't tested] more below HOT 4
- Unattended install does still require input HOT 4
- Intermediate node connectivity issue for JP node. HOT 8
- Why hasn't the source code been updated for two months? HOT 5
- Cant set UK/GB as home node HOT 2
- [Feature Request] Per-host exit node rules and per-connection circuit refresh HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spn.