[OT] Invalid host address

J. Landman Gay jacque at hyperactivesw.com
Mon Mar 2 23:45:34 EST 2015


Aha. Okay, it's a lead then. Maybe the same issue is happening on OS X, 
where it is also possible to disable a proxy on a system-wide basis. 
It's something to ask the user about anyway.

If anyone else has suggestions I'm all ears.


On 3/2/2015 10:38 PM, Mike Bonner wrote:
> The thread in question is this one:
> http://runtime-revolution.278305.n4.nabble.com/resetting-preferences-in-7-0-1-rc4-Windows-7-td4687125.html#a4687164
>
> In that thread he actually had to go into the windows settings (not in lc)
> and actually remove the greyed out non active proxy settings so they were
> blank.  At which point LC decided there was no system proxy. My guess is
> that the engine in a standalone does the same check, and on windows would
> think there was a proxy even if it was inactive, if the information for the
> proxy is still in the registry.
>
> I still don't know if it would apply to a mac of course.
>
> On Mon, Mar 2, 2015 at 9:26 PM, J. Landman Gay <jacque at hyperactivesw.com>
> wrote:
>
>> The "invalid" host URL is the same one all other users are contacting and
>> is the domain of my client. Only an occasional user is getting this error
>> when contacting the same URL(s), it works okay for almost everyone.
>>
>> I'm pretty sure it's a machine-based issue, and my puny knowledge base
>> points to some kind of system setup. I'd guess it's a wonky hosts file from
>> what little I know about it, but it seems like his browser ought to fail
>> too in that case. Or maybe it just doesn't like Amazon.
>>
>>
>>
>> On 3/2/2015 9:15 PM, Peter W A Wood wrote:
>>
>>> Jacque
>>>
>>> Unfortunately, I’m probably almost as much out of my depth as you :-(
>>>
>>> No, localhost shouldn’t matter if the app is trying to connect to a
>>> remote server. I don’t think that LiveCode needs to know about ipv6 either
>>> (or only at a very low level). My suggestion was based on ipv6 resolving
>>> localhost differently from ipv4.
>>>
>>> Does the error message give the hostname that was considered to be an
>>> “invalid host address”?
>>>
>>> Regards
>>>
>>> Peter
>>>
>>>
>>>   On 3 Mar 2015, at 10:56, J. Landman Gay <jacque at hyperactivesw.com>
>>>> wrote:
>>>>
>>>> Thanks Peter, but I'm afraid you're speaking Greek to me. Would
>>>> localhost matter if the app is trying to connect to a remote server?
>>>>
>>>> Does LC need to know about ipv6 or is that handled at the OS level?
>>>> Sorry to be so uninformed, I'm out of my depth here.
>>>>
>>>> On 3/2/2015 8:42 PM, Peter W A Wood wrote:
>>>>
>>>>> Jacque
>>>>>
>>>>> I don’t know if this will help but I believe host can get converted to
>>>>> ::1 under ipv6. I know that I used to have an issue on my OS X a few
>>>>> versions ago and had to use 127.0.0.1 instead of localhost in URLs.
>>>>>
>>>>> Regards
>>>>>
>>>>> Peter
>>>>>
>>>>>   On 3 Mar 2015, at 10:21, J. Landman Gay <jacque at hyperactivesw.com>
>>>>>> wrote:
>>>>>>
>>>>>> I'm not sure about the other users but the latest one is on OS X.
>>>>>> Could this affect Macs too?
>>>>>>
>>>>>> On 3/2/2015 8:04 PM, Mike Bonner wrote:
>>>>>>
>>>>>>> OH, thought just occurred to me, based on something that happened in
>>>>>>> another thread.  If they're on windows, and had a proxy set up at some
>>>>>>> point, then the proxy was disabled.. The information about the proxy
>>>>>>> still
>>>>>>> shows up greyed in the settings.  And it seems that LC decides the
>>>>>>> proxy is
>>>>>>> still active even though it isn't.  The browser would work, because it
>>>>>>> knows the proxy has been disabled.   The solution, is to clear the
>>>>>>> proxy
>>>>>>> information from the settings, even though the proxy settings are
>>>>>>> technically already disabled.
>>>>>>>
>>>>>>> On Mon, Mar 2, 2015 at 6:58 PM, Mike Bonner <bonnmike at gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>   The hosts file can be set up to provide specific name to ip address
>>>>>>>> mappings.  99.9% of the time its not used, and if it is, its often a
>>>>>>>> hijack. Along with the hijack thing, its also possible that a proxy
>>>>>>>> has
>>>>>>>> been set up unbeknownst to the user, and its munging something as it
>>>>>>>> decides where they want to direct the user, rather than where the
>>>>>>>> user
>>>>>>>> actually wants to go.
>>>>>>>>
>>>>>>>> Can you post some of the gibberish?
>>>>>>>>
>>>>>>>> On Mon, Mar 2, 2015 at 6:53 PM, J. Landman Gay <
>>>>>>>> jacque at hyperactivesw.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>   Out of thousands of users, occasionally one can't connect and
>>>>>>>>> repeatedly
>>>>>>>>> gets an invalid host address error. What causes those? All users are
>>>>>>>>> sending to the same server at the same domain. Naturally they all
>>>>>>>>> say it's
>>>>>>>>> only our app and never happens in a browser.
>>>>>>>>>
>>>>>>>>> Everything I've found about it is mostly gibberish to me. Is this
>>>>>>>>> something to do with the hosts file on the computer? The latest
>>>>>>>>> report says
>>>>>>>>> it happens on different networks (home and school) so I assume it's
>>>>>>>>> specific to his machine.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com





More information about the Use-livecode mailing list