These are chat archives for IndySockets/Indy

28th
Feb 2017
Sam B
@SamBirnbaum
Feb 28 2017 23:33
@rlebeau Hi, regarding the 502 error that I am receiving, according to the IT person at the site that I am trying to access using Indy, they don't see and problems on their end. Is it possible for you to try to access 'HTTPS://api.iextrading.com/1.0/tops?symbols=AAPL%2b' using Indy and see if you receive the same gateway error 502. Would appreciate all the help I can receive. Thanks in advance. Sam
Remy Lebeau
@rlebeau
Feb 28 2017 23:35
@SamBirnbaum works fine for me, I get a JSON document that says '[null]'
Sam B
@SamBirnbaum
Feb 28 2017 23:46
What version of Indy are you using ? I am using the version with XE5. Any special settings in the handler or the the IdHTTP component ? I can access the site using the browser without a problem but get this error through the program.
Tried to use the REST client and I get the same error.
Sam B
@SamBirnbaum
Feb 28 2017 23:54
Is it possible for you to create a simple exe with one button it to execute on my PC. I would love to see if it some setting here that is causing this.
If your program works, then its something with my version of delphi xe5 that is causing this problem with this site.
Remy Lebeau
@rlebeau
Feb 28 2017 23:56
@SamBirnhaum I'm using the latest nightly snapshot, and using all defaults in TIdHTTP
Sam B
@SamBirnbaum
Feb 28 2017 23:57
@rlebeau snapshot of what ?
Remy Lebeau
@rlebeau
Feb 28 2017 23:57
@SamBirnhaum SVN snapshot of Indy
Sam B
@SamBirnbaum
Feb 28 2017 23:58
@rlebeau is it on github ?
Remy Lebeau
@rlebeau
Feb 28 2017 23:59
@SamBirnbaum no, on Indy's own SVN server. http://www.indyproject.org/Sockets/Docs/Indy10Installation.aspx
Sam B
@SamBirnbaum
Feb 28 2017 23:59
@rlebeau Do I first remove this component from Delphi and install this new version, or just install it over this version ?