Autor Beitrag
t3Qn0lo-G
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 68

Win 7
Delphi 7 Enterprise
BeitragVerfasst: Sa 22.10.05 19:26 
Ich habe folgendes Problem, und auch über die Suchfunktion keinen Erfolg gehabt:

Ich habe hier eine Seite: store.cokefridge.de ... wie ihr seht, ist das eine https:// also 128-Bit verschlüsselte Seite. Wenn ich nun versuche den Quelltext über IdHTTP.Get(bla) zu holen, geht das nicht. Muss ich da vorher irgendwas mit dem Header machen oder so? Hab keinen Plan, wie ich den auslese, bzw. was ich machen muss. Gibts noch eine andere Alternative? Ich hab da ja schon überlegt mit nem WebBrowser die Seite laden, und dann daraus Quelltext laden. Diese Sache ist aber aus Performancegründen (Bilder müssen ja auch geladen werden und so..) eher schlecht!

Wäre toll, wenn Ihr eine Lösung für mich haben tut :)

MfG
t3Q
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Sa 22.10.05 20:53 
such doch mal hier im forum. da wirst du die lösung finden !

_________________
In the beginning was the word.
And the word was content-type: text/plain.
t3Qn0lo-G Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 68

Win 7
Delphi 7 Enterprise
BeitragVerfasst: Sa 22.10.05 21:19 
Ja danke für die Antwort, allerdings tu ich das seit ca. 1:30 Stunden und es ist doch recht müssig...

Kann mir net jemand die konkrete Antwort geben, anstatt mich zur Suchfunktion zu verweisen? ICH FINDE NICHTS!

MfG
t3Q
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: So 23.10.05 11:22 
also du kannst mir nicht erzählen, dass du, wenn du nach Suche in: Delphi-Forum INDY SSL suchst kein Lösung findest.

_________________
In the beginning was the word.
And the word was content-type: text/plain.
Timelesk
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 82


Delphi 2006 Prof
BeitragVerfasst: Mi 01.03.06 21:42 
Hi,

auch wenn das Thema schon etwas älter ist, habe ich genau das selbe Problem.

Ich suche jetzt auch seit gut 1 1/2 Stunden nach einem funktionierendem Beispiel für Indy 10 und SSL!
Ohne Erfolg!
Die meisten Themen sind nichtmal beantwortet...

- Delphi-Praxis hat kein funktionierendes Beispiel
- DSDT hat kein funktionierendes Beispiel
- SwissDelphiCenter hat kein...
- Der Entwickler hat kein...
- Google hat kein...
- Google Groups hat kein...
- Delphi-Forum hat kein...

oder aber ich bin einfach zu dumm zum suchen :(
Habe auch alle erdenklichen Einstellungen durchgenommen (anscheinend nur nicht die funktionierende)

Meine Einstellungen (Indy 10):

IdHTTP
~~~~~~~~
Handle Redirects: True
IOHandler: ssl (TIdSSLIOHandlerSocketOpenSSL

ssl : TIdSSLIOHandlerSocketOpenSSL
~~~~~~~~
Port: 443
SSLOptions/Method: sslvSSLv3
SSLOptions/Mode: sslmClient

Damit erhalte ich immer einen Read Timeout!

Würde mich über eine hilfreiche Antwort sehr freuen


gruß
Timelesk
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Mi 01.03.06 22:39 
Poste doch mal deinen kompletten Code oder wenigstens den Abschnitt der Probleme bereitet. Sonst können wir hier nur raten !

_________________
In the beginning was the word.
And the word was content-type: text/plain.
Timelesk
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 82


Delphi 2006 Prof
BeitragVerfasst: Do 02.03.06 15:17 
Hallo Matze,

ausblenden Delphi-Quelltext
1:
2:
3:
4:
procedure Tmain.utton1Click(Sender: TObject);
begin
  memo1.text := http.Get('https://www.verisign.com/');
end;


Das ist mein derzeit verwendeter Code.

Ansonsten halt die Einstellungen im OI wie oben beschrieben ODER hier nochmals als Bild angehängt.

Mehr ist das nicht und es kommt ein "Read Timeout"!


vielen Dank

gruß
Timelesk
Einloggen, um Attachments anzusehen!
Horst_H
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1654
Erhaltene Danke: 244

WIN10,PuppyLinux
FreePascal,Lazarus
BeitragVerfasst: Do 02.03.06 15:45 
Hallo,

ich habe mich nicht mit Indy rumgeschlagen, aber nutze dieses
www.badfan.com/delphi/tie_http_https.html
was bei mir sehr gut funktioniert.
Auch libcurl funktioniert einwandfrei (nur mit Freepascal getestet fuer abendliche Batchaufgaben)

Gruss Horst