HTTPProxy and Https://
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
HTTPProxy and Https://
Hello,
I am having some trouble with setting the HTTPProxy then making a put url "https://...". It results in a "Invalid Host" error.
Wireshark shows it as using DNS protocol but when I drop it to put url "http://..." I see it as TCP protocol, so no problem with set HTTPProxy portion of it.
Anybody have any ideas about this?
Thanks,
Simon
I am having some trouble with setting the HTTPProxy then making a put url "https://...". It results in a "Invalid Host" error.
Wireshark shows it as using DNS protocol but when I drop it to put url "http://..." I see it as TCP protocol, so no problem with set HTTPProxy portion of it.
Anybody have any ideas about this?
Thanks,
Simon
-
- VIP Livecode Opensource Backer
- Posts: 1005
- Joined: Sat Apr 08, 2006 3:06 pm
- Contact:
I'm not sure that the httpproxy is used with https. If you edit the script of the revliburl button on the revlibrary stack search or the line:
## for now don't allow https connections through proxies
It appears that proxy servers are bypassed for https urls. I've never fully investigated however.
## for now don't allow https connections through proxies
It appears that proxy servers are bypassed for https urls. I've never fully investigated however.
Trevor DeVore
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
I don't see how https could work through a proxy as the encryption/decryption works directly between one browser and one server. I guess that it would be possible to create a secure tunnel through a proxy but that sounds a bit technical.
Are you sure that your firewall is blocking https port 443 traffic? In other words have you tried your script without httpproxy?
Cheers
Phil
Are you sure that your firewall is blocking https port 443 traffic? In other words have you tried your script without httpproxy?
Cheers
Phil
-
- VIP Livecode Opensource Backer
- Posts: 1005
- Joined: Sat Apr 08, 2006 3:06 pm
- Contact:
Hi Trevor,
I tried what you suggested but I get this back from Wireshark:
\\NoSync\\Notes\\Data\\glxapplicationexternals.rev
followed by:
ERROR: STATUS_OBJECT_NAME
Which are the only 2 lines that have anything to do with the application, the original URL never shows up in the log.
Which makes me suspect I've screwed up rev. I'll try again.
Simon
I tried what you suggested but I get this back from Wireshark:
\\NoSync\\Notes\\Data\\glxapplicationexternals.rev
followed by:
ERROR: STATUS_OBJECT_NAME
Which are the only 2 lines that have anything to do with the application, the original URL never shows up in the log.
Which makes me suspect I've screwed up rev. I'll try again.
Simon
-
- VIP Livecode Opensource Backer
- Posts: 1005
- Joined: Sat Apr 08, 2006 3:06 pm
- Contact:
-
- VIP Livecode Opensource Backer
- Posts: 1005
- Joined: Sat Apr 08, 2006 3:06 pm
- Contact:
Have you tried your tests with a barebones standalone with no other proxy modifications? Just add a button and try to access the https url?
Trevor DeVore
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder