Giter VIP home page Giter VIP logo

Comments (9)

berstend avatar berstend commented on September 3, 2024

An older version of node-spdyproxy (from April) does not have these issues.

Here is the shrinkwrap output from the current version:

cat npm-shrinkwrap.json 
{
  "name": "spdyproxy",
  "version": "0.2.4",
  "dependencies": {
    "spdy": {
      "version": "1.5.0",
      "from": "spdy@~ 1.5"
    },
    "radius": {
      "version": "0.1.5",
      "from": "radius@~ 0.1"
    },
    "optimist": {
      "version": "0.3.7",
      "from": "optimist@~ 0.3.5",
      "dependencies": {
        "wordwrap": {
          "version": "0.0.2",
          "from": "wordwrap@~0.0.2"
        }
      }
    },
    "colors": {
      "version": "0.6.0-1",
      "from": "colors@*"
    },
    "memory-cache": {
      "version": "0.0.5",
      "from": "memory-cache@*"
    }
  }
}

from node-spdyproxy.

igrigorik avatar igrigorik commented on September 3, 2024

Interesting. I believe I just fixed the opposite bug (HTTPS not working - #29).. and I can't reproduce this case - both HTTP and HTTPS sites load fine for me, with latest node (0.10.8) and patched node-spdy.

from node-spdyproxy.

chemhack avatar chemhack commented on September 3, 2024

I also get this problem frequently, not never succeeded to reproduce it on localhost.

from node-spdyproxy.

berstend avatar berstend commented on September 3, 2024

I tried using the latest node-spdy 1.8.9 (in hope spdy-http2/node-spdy#95 might somehow magically fix the problem), but unfortunately I still get the aforementioned error (on localhost as well on 3 remote hosts)

HTTPS works perfectly though. :)

Is there anymore useful debug output that I can provide?
I'll try to play a bit more with different code / dependency versions in order to boil down the problem.

from node-spdyproxy.

chemhack avatar chemhack commented on September 3, 2024

FYI,

in chromium source code, the definition is very weird,

/net/spdy/spdy_session.cc

1519 if (stream->response_received()) {
1520 stream->LogStreamError(ERR_SYN_REPLY_NOT_RECEIVED,
1521 "Received duplicate SYN_REPLY for stream.");
1522 RecordProtocolErrorHistogram(PROTOCOL_ERROR_SYN_REPLY_NOT_RECEIVED);
1523 CloseStream(stream->stream_id(), ERR_SPDY_PROTOCOL_ERROR);
1524 return;
1525 }

The explanation is actually duplicated SYN_REPLY instead of missing SYN_REPLY.

@berstend Are you using any particular authHandler?

from node-spdyproxy.

igrigorik avatar igrigorik commented on September 3, 2024

Which version of Chrome are you on?

On Tue, May 28, 2013 at 12:57 PM, Duan Lian [email protected]:

FYI,

in chromium source code, the definition is very weird,

/net/spdy/spdy_session.cc

1519 if (stream->response_received()) {
1520 stream->LogStreamError(ERR_SYN_REPLY_NOT_RECEIVED,
1521 "Received duplicate SYN_REPLY for stream.");
1522 RecordProtocolErrorHistogram(PROTOCOL_ERROR_SYN_REPLY_NOT_RECEIVED);
1523 CloseStream(stream->stream_id(), ERR_SPDY_PROTOCOL_ERROR);
1524 return;
1525 }

The explanation is actually duplicated SYN_REPLY instead of missing
SYN_REPLY.

@berstend https://github.com/berstend Are you using any particular
authHandler?


Reply to this email directly or view it on GitHubhttps://github.com//issues/29#issuecomment-18575742
.

from node-spdyproxy.

berstend avatar berstend commented on September 3, 2024

@chemhack
In my chrome extension that updated the proxy settings I had a listener active that took care of entering user/pass credentials using this: chrome.webRequest.onAuthRequired.addListener.

At first, I thought that was the source of my issues: I removed the listener and the Proxy Authorization dialog appeared, I entered the credentials and was able to use HTTP sites (using local and remote node-spdyproxy instances).
Unfortunately that didn't last very long, the crude 332 error reappeared for good after a while and no more auth dialogs (even when restarting chrome).

I still have the feeling the error might be related to the auth part: While the Proxy Authorization dialog was open I got the 332 on all other tabs until I submitted the credentials.

@igrigorik
I'm using Chrome 26.0.1410.63 on x64 Ubuntu.
edit, the same issues also happen on a second machine (OSX; Chrome 27.0.1453.93).

from node-spdyproxy.

berstend avatar berstend commented on September 3, 2024

When using node-spdyproxy without authentication I have no issues at all.
All issues are related to using the proxy with Basic-Auth proxy authentication. :)

from node-spdyproxy.

chemhack avatar chemhack commented on September 3, 2024

@igrigorik It was introduced here mirror/chromium@fce44a0

long time ago really. The original error message was "Received duplicate SYN_REPLY for stream". But no idea why it was labeled as "ERR_SYN_REPLY_NOT_RECEIVED". So misleading.

from node-spdyproxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.