Home > indy error > indy error 11004

Indy Error 11004

for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > socket error 11004 Want to Advertise Here? Solved socket error 11004 Posted on 2005-08-15 Delphi 1 Verified Solution 9 Comments 6,310 Views Last Modified: 2008-01-09 When I put my URL string in to the indy client component httpd.host it comes back with a socket error 11004, direct IP address works. I can't use the IP address as the the url swaps between IP addresses as they have 4+ servers. I see there is a similar question and the person answering it mentions using gethostbyname. I have searched the delphi help and can't find it. Is there a way I can look up the host url before connecting and use the IP address returned. or is there another solution really need a solution to this ASAP - help. 0 Question by:junebrown Facebook Twitter LinkedIn Google LVL 27 Active today Best Solution byBigRat You can simply create your own "DNS" by creating an "etc hosts" file. This has the IP address/name on each line, comments start with #'s, so :- 127.0.0.1 localhost myhost mypc 162.34.54.123 Go to Solution 8 Comments LVL 15 Overall: Level 15 Delphi 14 Message Expert Comment by:mikelittlewood2005-08-15 Are you making sure you put in the full URL string including the http part and not just www.xxx.com? 0 LVL 15 Overall: Level 15 Delphi 14 Message Expert Comment by:mikelittlewood2005-08-15 ooo probably not the best example of a link to put for demonstration >.< sorry folks 0 Message Author Comment by:junebrown2005-08-15 I am just putting in www.nlis-hub.co.uk do i need http:// in front of it? 0 LVL 15 Overall: Level 15 Delphi 14 Message Expert Comment by:mikelittlewood2005-08-15 I'm not 100% sure but have a go. Won't do any harm to try :o) 0 LVL 27 Overall: Level 27 Delphi 6 Message Active today Expert Comment by:BigRat2005-08-15 Socket error 11004 (or WSANO_DATA) means that the name lookup (ie: the translation from www.name.com to I/P address) had found an entry for the host but no data. This implies that your (or the one nearest to you) Domain Name Server (DNS) is incorrectly set up or has bad data. This is why using the

for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > IDFTP Socket Error # 11004 in windows XP Want to Advertise Here? Solved IDFTP Socket Error # 11004 in windows XP Posted on 2005-01-13 Delphi 1 Verified Solution 3 Comments 2,014 Views Last Modified: 2012-05-05 Hi, I https://www.experts-exchange.com/questions/21527076/socket-error-11004.html get Socket Error # 11004 when I try to connect with ALL the versions of indy (with delphi 7 intall,version 9 and 10 from the Project indy site). What is going on? Ive been through the whole EE and still cant find an explanation. 1.It worked a while back 2.then only a bit 3.and now I cant connect! 1. I wrote the client and it connected and upladed https://www.experts-exchange.com/questions/21273536/IDFTP-Socket-Error-11004-in-windows-XP.html perfectly(Iboasted everywhere) 2. Connected but didnt upload correctly. 3.Cant connect with "Socket Error # 11004" on all three versions of the indy source. Please help me. Many Thanks Vatamy 0 Question by:vatamy Facebook Twitter LinkedIn Google LVL 26 Active 1 day ago Best Solution byEddieShipman Socket error (#11004): Valid name, no data of requested type. Analyse & Solutions: The requested name is valid and was found in the database, but it does not have the correct associated data being Go to Solution 1 Comment LVL 26 Overall: Level 26 Delphi 20 Message Active 1 day ago Accepted Solution by:EddieShipman2005-01-13 Socket error (#11004): Valid name, no data of requested type. Analyse & Solutions: The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for. The usual example for this is a host name-to-address >translation attempt (using gethostbyname or WSAAsyncGetHostByName) which uses the DNS (Domain Name Server). => host-name resolution may have failed, you may try to enter your server's ip address instead. 0 Write Comment First Name Please enter a first name Last Name Please enter a last name Email We will never share this with anyone. Commen

the Date and time properties dialog I have been trying to 'update now'. I put in a ntp server address (that I verified first on a linux machine), and I get a rather helpful 'An Error occurred'. Ever resourceful, I http://www.delphigroups.info/2/8/204763.html decided to have a go with Indy idTime and idTimeUDP components in delphi to see http://www.sql.ru/forum/874834/indy-10-openssl-socket-error-11004 if I could get a better idea of what is happening. 'Active:=True' seems fine, but SyncTime gives me 'Socket Error # 11004' Am I getting to the source of the problem, or am I just using idTime wrongly ? I found : WSANO_DATA 11004 Valid name, no data record of requested type. This error indicates that the key (name, address, and so indy error on) was not found. But couldn't glean any more from that. Any pointers please ? H DonS Delphi Developer 2005-02-25 07:12:37 PM Re:Could Someone explain Socket Error 11004 please ? Quote I noticed something odd on my workstation. From the Date and time properties dialog I have been trying to 'update now'. I put in a ntp server address (that I verified first on a linux machine), and I get a rather helpful 'An Error indy error 11004 occurred'. Ever resourceful, I decided to have a go with Indy idTime and idTimeUDP components in delphi to see if I could get a better idea of what is happening. 'Active:=True' seems fine, but SyncTime gives me 'Socket Error # 11004' Am I getting to the source of the problem, or am I just using idTime wrongly ? The Time protocol is not the same as SNTP or NTP. In Indy, use TIdSNTP to access the NTP server. Quote I found : WSANO_DATA 11004 Valid name, no data record of requested type. This error indicates that the key (name, address, and so on) was not found. But couldn't glean any more from that. Any pointers please ? WSANO_DATA 11004 Valid name, no data record of requested type. The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for. The usual example for this is a host name-to-address translation attempt (using gethostbyname or WSAAsyncGetHostByName) which uses the DNS (Domain Name Server). An MX record is returned but no A record-indicating the host itself exists, but is not directly reachable. Are you using the host name or IP address to access the server? Hugh Jones Delphi Developer 2005-02-25 08:21:13 PM Re:Could Someone explain Socket Error 11004 please ? DonS writes: Quote The Time protocol is not the same as

^junior^ Member Откуда: Kiev Сообщений: 246 Добрый день!Есть задачка: выполнить GET(https://queue.amazonaws.com?SignatureVersion=1&Action=ListQueues...) и получить в ответ крохотный xml с ответом. Если вставить эту строку в браузер, всё отрабатывает корректно. А вот из Delphi никак не выходит.Для чистоты эксперимента взял код у Альта тут.procedure TForm1.Button1Click(Sender: TObject); var HTTP : TIdHTTP; SSLIO : TIdSSLIOHandlerSocketOpenSSL; Stream : TMemoryStream; begin HTTP := TIdHTTP.Create( nil ); try HTTP.HandleRedirects:=True; SSLIO := TIdSSLIOHandlerSocketOpenSSL.Create( HTTP ); SSLIO.SSLOptions.Method := sslvSSLv3; HTTP.IOHandler := SSLIO; HTTP.Request.BasicAuthentication := True; HTTP.Request.Username := 'myLogin'; HTTP.Request.Password := 'myPassword'; Stream := TMemoryStream.Create; try HTTP.Get('https://mysite.com/members/', Stream); Stream.SaveToFile( 'c:\date10.dat' ); finally FreeAndNil( Stream ); end; finally FreeAndNil( HTTP ); end; Когда указываешь Username и Password - всё замечательно работает. Но в моем случае нет ни логина, ни пароля. Вся секретная информация (AccessKey & SecretAccessKey) уже "зашита" в URL. Попробовал без логина/пароля...procedure TForm1.Button1Click(Sender: TObject); var HTTP : TIdHTTP; SSLIO : TIdSSLIOHandlerSocketOpenSSL; Stream : TMemoryStream; begin HTTP := TIdHTTP.Create( nil ); try HTTP.HandleRedirects:=True; SSLIO := TIdSSLIOHandlerSocketOpenSSL.Create( HTTP ); SSLIO.SSLOptions.Method := sslvSSLv3; HTTP.IOHandler := SSLIO; HTTP.Request.BasicAuthentication := False; Stream := TMemoryStream.Create; try HTTP.Get('https://queue.amazonaws.com?SignatureVersion=1&Action=ListQueues&Version=2009-02-01&Timestamp=2011-08-21T10%3A24%3A43.000Z&AWSAccessKeyId=...&Signature=...', Stream); Stream.SaveToFile( 'c:\date10.dat' ); finally FreeAndNil( Stream ); end; finally FreeAndNil( HTTP ); end; В таком виде я при попытке выполнения получаю ошибку "Socket error # 11004".Socket error (#11004): Valid name, no data of requested type.Analyse & Solutions: The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for. The usual example for this is a host name-to-address >translation attempt (using gethostbyname or WSAAsyncGetHostByName) which uses the DNS (Domain Name Server). An MX record is returned but no A record?Каких ему не хватает associated data? 21 авг 11, 16:13    [11153238] Ответить | Цитировать Сообщить модератору Все форумы / Delphi Виртуальные форумыТемы из всех форумов за 3 дняМои

 

Related content

indy error

Indy Error p p p here for a quick overview of the site Help Center Detailed answers to relatedl any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of million programmers just like you helping each other Join them a href http www indyproject org kb wherecanifindsocketerror htm http www indyproject org kb

indy error connecting with ssl

Indy Error Connecting With Ssl p here for a quick overview relatedl of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of million programmers just like you helping each other Join them it only takes a minute Sign up Delphi and Indy SSL connection not

indy error accepting connection with ssl

Indy Error Accepting Connection With Ssl p here for a quick overview of the site Help Center Detailed relatedl answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of million programmers just like you helping each other Join them it only takes a minute Sign up IdHttpServerexception Error accepting connection with