Invalid TCP frame received.

Event Store version 3.7.0

Client 3.7.0

Had a look through the group for similar issues, and I think I have checked most things.

I am trying to run a Transient query using CreateTransientAsync and get the following error:

[PID:13360:015 2016.07.07 13:44:05.050 ERROR LengthPrefixMessageF] FRAMING ERROR! Data:

000000: 50 4F 53 54 20 2F 70 72 6F 6A 65 63 74 69 6F 6E | POST /projection

000016: 73 2F 74 72 61 6E 73 69 65 6E 74 3F 6E 61 6D 65 | s/transient?name

000032: 3D 32 39 63 66 39 33 32 34 2D 37 37 61 66 2D 34 | =29cf9324-77af-4

000048: 36 61 66 2D 62 66 65 31 2D 61 32 63 38 64 39 62 | 6af-bfe1-a2c8d9b

000064: 66 37 64 39 30 26 74 79 70 65 3D 4A 53 20 48 54 | f7d90&type=JS HT

000080: 54 50 2F 31 2E 31 0D 0A 43 6F 6E 74 65 6E 74 2D | TP/1.1…Content-

000096: 54 79 70 65 3A 20 61 70 70 6C 69 63 61 74 69 6F | Type: applicatio

000112: 6E 2F 6A 73 6F 6E 0D 0A 48 6F 73 74 3A 20 31 39 | n/json…Host: 19

000128: 32 2E 31 36 38 2E 32 2E 31 31 33 3A 31 31 31 33 | 2.168.2.113:1113

000144: 0D 0A 43 6F 6E 74 65 6E 74 2D 4C 65 6E 67 74 68 | …Content-Length

000160: 3A 20 32 35 39 0D 0A 45 78 70 65 63 74 3A 20 31 | : 259…Expect: 1

000176: 30 30 2D 63 6F 6E 74 69 6E 75 65 0D 0A 43 6F 6E | 00-continue…Con

000192: 6E 65 63 74 69 6F 6E 3A 20 4B 65 65 70 2D 41 6C | nection: Keep-Al

000208: 69 76 65 0D 0A 0D 0A | ive…

[PID:13360:015 2016.07.07 13:44:05.077 ERROR TcpConnectionManager] Closing connection ‘external-normal’ [192.168.2.113:4307, L192.168.2.113:1113, {10b9891c-645b-4083-a0c0-65b31a9795d9}] due to error. Reason: Invalid TCP frame received. Error: Package size is out of bounds: 1414745936 (max: 67108864)…

The query I am sending is fairly small, and I am connecting to port 1113.

Should we be seeing a POST Command passed over TCP?

Here is my code for newing up a ProjectionManager:

ProjectionsManager projectionsManager = new ProjectionsManager(new ConsoleLogger(),

new IPEndPoint(IPAddress.Parse(“192.168.2.113”), 1113),

TimeSpan.FromSeconds(30));

And then:

await projectionsManager.CreateTransientAsync(queryName, projection);

I have probably just missed something obvious, but any help would be appreciated.

Steven

You are sending http packets to the TCP server. You should be using port 2113.

Ah sorry, I had tired changing the port and got an Exception (and didn’t look at the actual error).

Thanks for the quick response.