The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: Re: Intranet OCX



--------------060807020404090108070103
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Rick,

TBH this has be a little stumped. I've tried a few things, well actually
quite alot of things, and the only time i see similar behaviour is when
the router and the xserver share the same physical network. When running
like that, which is obviously a pointless setup!, i get this sequence.
App A sends a message UID FF123400, hop1
The xServer picks it up and forwards to the router
The router receives it and transmits it as UID FE123400, hop2
The router then re-hears this message, the UID FE123400,hop2 , but
refuses to forward it as the hop would be 3 so it's dropped
The inital message is also picked up by the Router which forwards it to
the xServer which sends it on as a UID FE123400,hop2 message.

The long and short of it is for every message sent on the xAP network,
two copies are received with UID's of FExxxxx which in this odd setup
is perfectly correct.  This is a network with about 12 Intranet ocx
applications running.  From this i'm presuming, perhaps wrongly, that
the issue isn't with the ocx or the xserver but something on the network
itself.  I'll make a version of the router that saves a log of every
message received/processed/sent, hopefully that will point to exactly
what is going where. I'll send it over offlist.

James


harley0922 wrote:
> James,
>
> Any progress on this issue?
>
> Thanks
> Rick
>
>
> --- In xAP_developer@xxxxxxx, "harley0922"
<rfoxjr@...> wrote:
>
>> James,
>>
>> I have done some more testing and have completely removed my
>> application from the mix.  I am now testing with xAPPing and
xAPNews3
>> and the problem is still present.  I have a screenshot of the xAP
>> Message Viewer that shows what is present on my PC and the xAP
>> network, but not sure how to get it to you.
>>
>> I will be happy to assist in anyway to help resolve this problem.
>>
>> Thanks
>> Rick
>>
>> --- In xAP_developer@xxxxxxx, James Traynor <james@> wrote:
>>
>>> Rick,
>>> Everything you have described about the setup and especially
these
>>> messages below look absolutely correct. I've been trying a few
setups
>>> here to try and replete this and find out where these
duplications
>>>
> are
>
>>> coming from , unfortunately so far havn't observed any. I was
>>>
> wondering
>
>>> if you could send me a copy of your display application,
source if
>>>
>> possible.
>>
>>> I would really like to figure this out! It shouldn't happen
>>>
>>> Thanks
>>>
>>> James
>>>
>>>
>>> harley0922 wrote:
>>>
>>>> Remote message in routing mode
>>>> xap-header
>>>> {
>>>>     v=12
>>>>     hop=2
>>>>     uid=FE671200
>>>>     class=PC.status
>>>>     source=Almico.SpeedFan.NCC-1701E
>>>> }
>>>>
>>>> Remote message in bridge mode
>>>> xap-header
>>>> {
>>>>     v=12
>>>>     hop=2
>>>>     uid=FF671200
>>>>     class=PC.status
>>>>     source=Almico.SpeedFan.NCC-1701E
>>>> }
>>>>
>>>> Local message
>>>> xap-header
>>>> {
>>>>     v=12
>>>>     hop=1
>>>>     uid=FF671300
>>>>     class=PC.status
>>>>     source=Almico.SpeedFan.LUKE2
>>>> }
>>>>
>>>>
>>>> --- In xAP_developer@xxxxxxx, James Traynor <james@>
wrote:
>>>>
>>>>
>>>>> hi,
>>>>>
>>>>> a few things to try.
>>>>> Switch the router from router to bridge.
>>>>> Run a copy of Viewer at each end of the link and open
up some
>>>>>
> of the
>
>>>>> messages. There is a line in the header called 'Hop='.
When in
>>>>>
>> router
>>
>>>>> mode that should be 1 for a local message and 2+ for a
relayed
>>>>>
>> message.
>>
>>>>> In theory hops>2 get dropped so you shouldn't see
any.
>>>>> I presume there are no other connections between these
networks?
>>>>> vpn/ssh.. etc.
>>>>>
>>>>> I will do some testing here and see what i can
replicate
>>>>>
>>>>>
>>>>> James
>>>>> harley0922 wrote:
>>>>>
>>>>>
>>>>>> I have the router on a seperate PC, the UID's of
the 2 apps are
>>>>>> different.  As I mentioned the duplicates are
coming from the
>>>>>>
>> network
>>
>>>>>> here at the house.  If the router is disabled then
no duplicates.
>>>>>> Single NIC card in the PC the apps are running on.
>>>>>>
>>>>>> The 2 apps are running on the router side of the
network when the
>>>>>> duplicates appear, if I move the apps to the
server side they
>>>>>>
>> both run
>>
>>>>>> without duplicates.
>>>>>>
>>>>>> Weird.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Yahoo! Groups Links
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>>>
>>>> Yahoo! Groups Links
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>


--------------060807020404090108070103
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">


Rick,<br>
<br>
TBH this has be a little stumped. I've tried a few things, well
actually quite alot of things, and the only time i see similar
behaviour is when the router and the xserver share the same physical
network. When running like that, which is obviously a pointless setup!,
i get this sequence.<br>
App A sends a message UID FF123400, hop1<br>
The xServer picks it up and forwards to the router<br>
The router receives it and transmits it as UID FE123400, hop2<br>
The router then re-hears this message, the UID FE123400,hop2 , but
refuses to forward it as the hop would be 3 so it's dropped<br>
The inital message is also picked up by the Router which forwards it to
the xServer which sends it on as a UID FE123400,hop2 message.<br>
<br>
The long and short of it is for every message sent on the xAP network,
two copies are received with UID's of FExxxxx which in this odd
setup&nbsp;
is perfectly correct.&nbsp; This is a network with about 12 Intranet
ocx
applications running.&nbsp; From this i'm presuming, perhaps wrongly,
that
the issue isn't with the ocx or the xserver but something on the
network itself.&nbsp; I'll make a version of the router that saves a
log of
every message received/processed/sent, hopefully that will point to
exactly what is going where. I'll send it over offlist.<br>
<br>
James<br>
<br>
<br>
harley0922 wrote:
<blockquote cite="mid:f8lk8i+efiq@xxxxxxx"
type="cite">
<pre wrap="">James,

Any progress on this issue?

Thanks
Rick


--- In <a class="moz-txt-link-abbreviated" href="mailto:xAP_developer@xxxxxxx";>xAP_developer@xxxxxxx</a>,
"harley0922" <a class="moz-txt-link-rfc2396E"
href="mailto:rfoxjr@...";>&lt;rfoxjr@...&gt;</a>
wrote:
</pre>
<blockquote type="cite">
<pre wrap="">James,

I have done some more testing and have completely removed my
application from the mix.  I am now testing with xAPPing and xAPNews3
and the problem is still present.  I have a screenshot of the xAP
Message Viewer that shows what is present on my PC and the xAP
network, but not sure how to get it to you.

I will be happy to assist in anyway to help resolve this problem.

Thanks
Rick

--- In <a class="moz-txt-link-abbreviated" href="mailto:xAP_developer@xxxxxxx";>xAP_developer@xxxxxxx</a>,
James Traynor &lt;james@&gt; wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Rick,
Everything you have described about the setup and especially these
messages below look absolutely correct. I've been trying a few setups
here to try and replete this and find out where these duplications
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->are
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">coming from , unfortunately so far havn't
observed any. I was
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->wondering
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">if you could send me a copy of your display
application, source if
</pre>
</blockquote>
<pre wrap="">possible.
</pre>
<blockquote type="cite">
<pre wrap="">I would really like to figure this out! It
shouldn't happen

Thanks

James


harley0922 wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Remote message in routing mode
xap-header
{
v=12
hop=2
uid=FE671200
class=PC.status
source=Almico.SpeedFan.NCC-1701E
}

Remote message in bridge mode
xap-header
{
v=12
hop=2
uid=FF671200
class=PC.status
source=Almico.SpeedFan.NCC-1701E
}

Local message
xap-header
{
v=12
hop=1
uid=FF671300
class=PC.status
source=Almico.SpeedFan.LUKE2
}


--- In <a class="moz-txt-link-abbreviated" href="mailto:xAP_developer@xxxxxxx";>xAP_developer@xxxxxxx</a>,
James Traynor &lt;james@&gt; wrote:

</pre>
<blockquote type="cite">
<pre wrap="">hi,

a few things to try.
Switch the router from router to bridge.
Run a copy of Viewer at each end of the link and open up some
</pre>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<pre wrap=""><!---->of the
</pre>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">messages. There is a line in the header called
'Hop='. When in
</pre>
</blockquote>
</blockquote>
</blockquote>
<pre wrap="">router
</pre>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">mode that should be 1 for a local message and
2+ for a relayed
</pre>
</blockquote>
</blockquote>
</blockquote>
<pre wrap="">message.
</pre>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">In theory hops&gt;2 get dropped so you
shouldn't see any.
I presume there are no other connections between these networks?
vpn/ssh.. etc.

I will do some testing here and see what i can replicate


James
harley0922 wrote:

</pre>
<blockquote type="cite">
<pre wrap="">I have the router on a seperate PC, the UID's
of the 2 apps are
different.  As I mentioned the duplicates are coming from the
</pre>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<pre wrap="">network
</pre>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">here at the house.  If the router is disabled
then no duplicates.
Single NIC card in the PC the apps are running on.

The 2 apps are running on the router side of the network when the
duplicates appear, if I move the apps to the server side they
</pre>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<pre wrap="">both run
</pre>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">without duplicates.

Weird.





xAP_Development Main Index | xAP_Development Thread Index | xAP_Development Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.