synapse THTTPSend socks5 problem? lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- awaked2 · 2021-06-14 03:57 hello i'm newbie! i have a question. Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i     response := TStringStream.Create('');  http := THTTPSend.Create;  http.UserAgent := 'Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/7.0';  http.MimeType := 'application/x-www-form- urlencoded; charset=UTF-8';  http.Sock.SocksIP := 'IP'; //  http.Sock.SocksPort := '1080';  http.Sock.SocksType := ST_Socks5;  http.Sock.SocksUsername := 'UserName'; //  http.Sock.SocksPassword := 'Password'; //  http.Sock.ConnectionTimeout := 6000;  jsontext := EncodeURL('Some JSON Data');   WriteStrToStream(HTTP.Document, jsontext);  http.HTTPMethod('POST', 'http://.....'); // HTTP site  reulstcode := http.resultcode;                                 windows10 => resultcode 200 (work) raspberry pi4 raspbian 32bit => resultcode 500 (not work) Same code, but only works on Windows. If I remove the socks5 proxy option it works on Raspbian too. But why doesn't socks5 work on Raspbian? ---------------------------------------------------------------------- BeniBela · 2021-06-14 14:23 Probably this bug: https://sourceforge.net/p/synalist/bugs/48/ It is been fixed in SVN trunk ---------------------------------------------------------------------- awaked2 · 2021-06-14 15:38 //Port := IntToStr(ResolvePort(Port)); Thank you for answer. I removed that line, but it doesn't work...... ---------------------------------------------------------------------- sstvmaster · 2021-06-14 18:28 synapse svn trunk -> https://sourceforge.net/p/synalist/code/HEAD/tree/trunk/ ---------------------------------------------------------------------- awaked2 · 2021-06-14 20:19 I tried installing with the r222 version and it still doesn't work. ---------------------------------------------------------------------- awaked2 · 2021-06-14 21:13 Socks5 does not work even with Indy. I don't know why. Maybe this is the problem? SocksIP := 'proxy-nl.service.com' // domain not work?