Rev Internet Lib reads wrong registry keys for proxy settings
Dave Cragg
dave.cragg at lacscentre.co.uk
Thu Jun 25 04:00:21 EDT 2009
Hi Tiemo
Richard Gaskin drew my attention to your mail.
I don't have a definitive answer. Your conclusion seems logically
correct, but I wonder why this issue hasn't come up before. I think
the HKCU keys are set when a user makes changes from the Internet
Settings control panel, so perhaps both keys should be checked.
Just a small correction to your post. The httpProxy setting is made by
the Rev engine at startup, not the internet library (libUrl). As the
library has no way of knowing whether any httpProxy setting was made
by the engine automatically or by a user's script, it always honors
the setting.
One other problem with the automatic setting by the engine on Windows
is that no account is taken of the "bypass proxy for local addresses"
option on Windows. I've been hit by this before where a proxy was set,
but the application was connecting to a server on the local network.
As a result, I usually set the httpProxy to empty at startup and use
an external configuration file to reset it if necessary. This means
proxies have to be set manually for each installation, but it helps
avoid issues like the one you encountered.
Anyway, I suggest you file a bug report for this. There may not be a
perfect solution, but if there is, I'm sure the Rev engineers will
find it.
Cheers
Dave
On 19 Jun 2009, at 16:38, Tiemo Hollmann TB wrote:
> Hello,
>
> some time ago I opened a thread, where my http requests didn't got an
> internet connection with different proxy errors and timeouts at some
> Win
> customers of mine, especially a school.
>
> After weeks of research the admin of the school found the problem.
> The rev
> internet library reads the proxy informations out of the HKCU user
> keys and
> not as most other programs from the HKLM machine keys. Because a
> school
> keeps all of these datas of their group policy in the HKLM keys, my
> rev
> program doesn't finds the internet. And I had to agree, that it
> doesn't
> makes sense to define proxy informations per user and not per machine.
>
> I have searched the QCC but didn't found anything comparable. Either
> used
> the wrong search keys or there isn't a case yet.
>
> Has anybody ever encountered a similar problem? Would you say this
> is a
> logical bug in rev or am I wrong in my research conclusion?
>
> Thanks for your thoughts
>
> Tiemo
>
>
>
>
>
>
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list