× Components and Libraries for Networking Development, discussions, problems and suggestions

Question vsVisualSynapse - TvsVisualHTTP Client POST/GET not working

  • Kieron
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 4 months ago - 2 years 4 months ago #14348 by Kieron
Hi all,

I had an application that was working fine in a previous build of CodeTyphon, but since upgrading to the latest release the TvsVisualHTTP component is not sending requests correctly, and as such, I'm getting no data through. I have checked the packet data using Wireshark, and it isn't showing as a valid HTTP request, but instead, it is showing as fragmented TCP packets.

The methods in question are vsVisualHTTP.Post(URI,Data) & vsVisualHTTP.Get(URI), both of which seem to be sending malformed packets and never firing the OnData event.

I'm using Typhon64 (7.0, 2020-02-04, Rev62514) with FPC 3.3.1/Rev43891) - platform x86_64-win64-win32/win64.

Any advice/help greatly appreciated.

Regards,

t3h_n3rd.
Last edit: 2 years 4 months ago by Kieron.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
2 years 4 months ago - 2 years 4 months ago #14349 by Sternas Stefanos
Please,
Update to LAB CT 7.10
we solve this problem

PilotLogic Architect and Core Programmer
Last edit: 2 years 4 months ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

  • Kieron
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 4 months ago - 2 years 4 months ago #14350 by Kieron

Sternas Stefanos wrote: Please,
Update to LAB CT 7.10
we solve this problem


Hi Sternas,

I just upgraded to 7.1 LAB and spent 30 minutes compiling the 64-bit BigIDE, the problem still persists.

As a test, I am attempting to GET google.com and receiving no response or data in the OnData event, and Wireshark doesn't recognise the request as HTTP traffic.

See attached pictures.
Last edit: 2 years 4 months ago by Kieron.

Please Log in or Create an account to join the conversation.

  • Kieron
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 4 months ago #14351 by Kieron
I have also attached an example project that simply does not work for me, but would have worked on the older release of CodeTyphon.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
2 years 4 months ago - 2 years 4 months ago #14352 by Sternas Stefanos
Sir
your FPC is from CT ver 7.0 ????
The problem was in FPC 7.0

LAB CT 7.1 has FreePascal 3.3.1 Rev :2002041958 (=> 20-02-04 19:58 yy-mm-dd hh:mm )
Please Remove and Build ALL (FPC and Typhon)

Please look at this post

PilotLogic Architect and Core Programmer
Last edit: 2 years 4 months ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

  • Kieron
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 4 months ago #14353 by Kieron
Ahh, I see, my apologies, rebuilding again now.

Please Log in or Create an account to join the conversation.