Bug with HTTPGet node in 35.8 x64


#1

The HTTPGet (both normal and string) node is returning:

The server committed a protocol violation. Section=ResponseHeader Detail=Header name is invalid

It works when I connect to a website online, but I am connecting to Go Pro via WiFi.

If I use 34.2 (pre VL), the HTTPGet node works as expected.


#2

hei gareth,

can you try what they suggest in this thread: https://social.msdn.microsoft.com/Forums/en-US/92c63c19-c4cb-497c-bba5-13fb092b4145/webexception?forum=ncl

ie. place a file called app.config next to vvvv.exe with the content proposed there.


#3

No luck I’m afraid!


#4

ok, then can you post a link to the documentation describing how the thing you’re trying to do is supposed to work?


#5

Using GoProWifiHack to get the media list of videos on the Go Pro:


#6

which gopro model? which exact request are you using? if you try the same request in a browser it works?


#7

which gopro model? which exact request are you using?

GoPro Hero6. None of the requests work.

if you try the same request in a browser it works?

Yes it works in the browser and also in beta 34.2 x64 (I used this version as it is pre-VL).


#8

ok try this please:

  • next to vvvv.exe there is a vvvv.exe.config

  • opening it you’ll see it is xml with a main “configuration” section and two subsections “startup” and “runtime”. add this third section:

      <system.net>
          <settings>
                <httpWebRequest useUnsafeHeaderParsing="true"/>
          </settings>
      </system.net>
    

save the file and start vvvv.


#9

I don’t have access to the GoPro at the moment, next time I do I’ll test it.

Thank you @joreg for your help!


#10

It works with the updated vvvv 36 and a Go Pro Hero 4.


#11

good to hear. did you have to apply the change to vvvv.exe.config or not?