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: xAP hub 2 errors



------=_NextPart_000_0002_01C7AC7F.0D6EAE90
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hmmm, I don't think this solution is related to this problem. Which means
there are two separate problems alive and well here.

The event log below suggests that the hub is taking a dislike to some
particular message. The error comes from a bit of code I've not touched
since I took on xFx so I'm a bit stumped. Best way forward is to use the
GUI
version because this is easier to observe. The hub code is exactly the same
across all versions but the GUI version surfaces more information. Next up
the level of logging; edit the HubGUI.exe.config file changing the logging
level to 4, verbose:

<system.diagnostics>
<switches>
<!-- General xFx tracing level 0=None, 1=Errors, 2=Warnings,
3=Info, 4=Verbose  -->
<add name="General" value="4" />
</switches>
<trace autoflush="true" indentsize="4">
<listeners>
<add name="HubTraceListener"
type="System.Diagnostics.TextWriterTraceListener"
initializeData="Hub.log"
/>
</listeners>
</trace>
</system.diagnostics>

Hopefully the log file will show enough info to let me track down the
problem.

That's assuming you can get the hub running at all of course. In the
situation that port 3639 is taken by another app the hub will state this
clearly in a dialog box on statup. One new feature that has caused issues
on
startup is the performance counters. So to simplify things edit the line in
xFx.dll.config

<setting name="PerformanceCountersEnabled"
serializeAs="String">
<value>False</value>
</setting>


This may be what is causing the "run GUI first then service will
work"
behaviour - the GUI version creates the performance counters whereas the
service version fails because of the account it runs under. The counters
only need to be created once on a machine so this sounds like the issue
that
Paul is observing.




_____

From: xap_automation@xxxxxxx [mailto:xap_automation@xxxxxxx]
On Behalf Of max barker
Sent: 10 June 2007 17:32
To: xap_automation@xxxxxxx
Subject: Re: [xap_automation] xAP hub 2 errors



I had an issue with the xFx v2 service hub, but my post to the group
disappeared and I managed to fix it on my own. I didn't get any errors
during instalation, but like you, the service would stop running. What
seemed to fix it was runnning the GUI v2 hub, then restarting the service
hub. Since then the hub has started of its own accord and run with no
problems.
I've since installed the service hub on three other XP machines with the
same problem and solution.

Max



On 10/06/07, Paul Gale <  <mailto:groups2@xxxxxxx>
groups2@xxxxxxx> wrote:



I installed the latest fXf v2 hub on my main HA server (XP) the other day.
I
noticed today that it had failed and I had a shed load of errors in event
viewer:



Event Type:     Information

Event Source:   xAPHubService

Event Category: None

Event ID:       0

Date:           09/06/2007

Time:           13:23:42

User:           N/A

Computer:       HASERVER

Description:

2007-06-09 13:23:42.69 [E] xAPListener xAPMessageReaderException:    at
KCS.xAP.Framework.Message.xAPInfo.GetPairValueEncodingFormat(String line,
Int32 line_number)

at KCS.xAP.Framework.Message.xAPMessageReader.ReadMessagePair(xAPMessage
message, String line)

at KCS.xAP.Framework.Message.xAPMessageReader.ReadMessage()

at
KCS.xAP.Framework.Transport.xAPListener.ProcessQueuedMessage(xAPRawData
data)

For more information, see Help and Support Center at
<http://go.microsoft.com/fwlink/events.asp>
http://go.microsoft.com/fwlink/events.asp.

The hub is running as a service and had stopped.

Any ideas?



Paul.







__._







------=_NextPart_000_0002_01C7AC7F.0D6EAE90
Content-Type: text/html; charset=US-ASCII
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd";>
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html;
charset=us-ascii"><!-- Network content -->
<META content="MSHTML 6.00.6000.16441"
name=GENERATOR></HEAD>
<BODY style="BACKGROUND-COLOR: #ffffff">


<DIV dir=ltr align=left><SPAN class=890473621-11062007><FONT
face=Arial
color=#0000ff size=2>Hmmm, I don't think this solution is related to
this
problem. Which means there are two separate problems alive and well
here.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=890473621-11062007><FONT
face=Arial
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=890473621-11062007><FONT
face=Arial
color=#0000ff size=2>The event log below suggests that the hub is taking
a
dislike to some particular message. The error comes from a bit of code I've
not
touched since I took on xFx so I'm a bit stumped. Best way forward is to
use the
GUI version because this is easier to observe. The hub code is exactly the
same
across all versions&nbsp;but the GUI version surfaces more information.
Next up
the level of logging; edit the HubGUI.exe.config file changing the logging
level
to 4, verbose:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=890473621-11062007><FONT
face=Arial
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff
size=2>&nbsp;&nbsp;&nbsp;
&lt;system.diagnostics&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;switches&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;!-- General xFx tracing level 0=None, 1=Errors, 2=Warnings, 3=Info,
4=Verbose&nbsp;
--&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;add name="General" value="<SPAN
class=890473621-11062007>4</SPAN>"
/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/switches&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;trace
autoflush="true"
indentsize="4"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;listeners&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;add name="HubTraceListener"
type="System.Diagnostics.TextWriterTraceListener"
initializeData="Hub.log"
/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/listeners&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/trace&gt;<BR>&nbsp;&nbsp;&nbsp;
&lt;/system.diagnostics&gt;</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff
size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=890473621-11062007><FONT face=Arial
color=#0000ff
size=2>Hopefully the log file will show enough info to let me track down
the
problem. </FONT></SPAN></DIV>
<DIV><SPAN class=890473621-11062007><FONT face=Arial
color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=890473621-11062007><FONT face=Arial
color=#0000ff size=2>That's
assuming you can get the hub running at all of course. In the situation
that
port 3639 is taken by another app the hub will state this clearly in a
dialog
box on statup. One new feature that has caused issues on startup is the
performance counters. So to simplify things edit the line in
xFx.dll.config</FONT></SPAN></DIV>
<DIV><SPAN class=890473621-11062007><FONT face=Arial
color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=890473621-11062007><FONT face=Arial
color=#0000ff
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;setting name="PerformanceCountersEnabled"
serializeAs="String"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;value&gt;False&lt;/value&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/setting&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=890473621-11062007><FONT face=Arial
color=#0000ff
size=2><BR>&nbsp;</DIV></FONT></SPAN>
<DIV><SPAN class=890473621-11062007></SPAN><FONT
face=Arial><FONT
color=#0000ff><FONT size=2>T<SPAN
class=890473621-11062007>his may be what is
causing the "run GUI first then service will work" behaviour -
the GUI version
creates the performance counters whereas the service version fails because
of
the account it runs under. The counters only need to be created once on a
machine so this sounds like the issue that Paul is
observing.</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT
size=2><SPAN
class=890473621-11062007></SPAN></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT
size=2><SPAN
class=890473621-11062007></SPAN></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><BR></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px
solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B>
xap_automation@xxxxxxx
[mailto:xap_automation@xxxxxxx]
<B>On Behalf Of </B>max
barker<BR><B>Sent:</B> 10 June 2007
17:32<BR><B>To:</B>
xap_automation@xxxxxxx<BR><B>Subject:</B> Re:
[xap_automation] xAP hub
2 errors<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV id=ygrp-text>
<P>I had an issue with the xFx v2 service hub, but my post to the
group
disappeared and I managed to fix it on my own. I didn't get any errors
during
instalation, but like you, the service would stop running. What seemed to
fix
it was runnning the GUI v2 hub, then restarting the service hub. Since then
the hub has started of its own accord and run with no problems.
<BR>I've since
installed the service hub on three other XP machines with the same problem
and
solution.<BR><BR>Max<BR><BR>
<DIV><SPAN class=gmail_quote>On 10/06/07, <B
class=gmail_sendername>Paul
Gale</B> &lt;<A href="mailto:groups2@xxxxxxx";>
groups2@siliconpixe<WBR>l.com</A>&gt; wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="BORDER-LEFT: rgb(204,204,204) 1px solid"><DIV
style="BACKGROUND-COLOR: rgb(255,255,255)">
<DIV>
<DIV>
<DIV>
<P></P>
<P dir=ltr><SPAN lang=en-gb><FONT face=Calibri>I
installed the latest
fXf</FONT></SPAN><SPAN lang=en-gb><FONT
face=Calibri> v2 hub on my main HA
server (XP) the other day. I noticed today that it had failed and I had a
shed load of errors in event viewer: </FONT></SPAN></P>
<P dir=ltr><SPAN lang=en-gb></SPAN></P>
<P dir=ltr><SPAN lang=en-gb><FONT face=Calibri>Event
Type:&nbsp;&nbsp;&nbsp;&nbsp;
Information</FONT></SPAN></P>
<P dir=ltr><SPAN lang=en-gb><FONT face=Calibri>Event
Source:&nbsp;&nbsp;
xAPHubService</FONT></SPAN></P>
<P dir=ltr><SPAN lang=en-gb><FONT face=Calibri>Event
Category:
None</FONT></SPAN></P>
<P dir=ltr><SPAN lang=en-gb><FONT face=Calibri>Event
ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
0</FONT></SPAN></P>
<P dir=ltr><SPAN lang=en-gb><FONT
face=Calibri>Date:&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
09/06/2007</FONT></SPAN></P>
<P dir=ltr><SPAN lang=en-gb><FONT
face=Calibri>Time:&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
13:23:42</FONT></SPAN></P>
<P dir=ltr><SPAN lang=en-gb><FONT
face=Calibri>User:&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
N/A</FONT></SPAN></P>
<P dir=ltr><SPAN lang=en-gb><FONT
face=Calibri>Computer:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
HASERVER</FONT></SPAN></P>
<P dir=ltr><SPAN lang=en-gb><FONT
face=Calibri>Description:</FONT></SPAN></P>
<P dir=ltr><SPAN lang=en-gb><FONT face=Calibri>2007-06-09
13:23:42.69 [E]
xAPListener
xAPMessageReaderExc<WBR>eption:&nbsp;&nbsp;&nbsp; at
KCS.xAP.Framework.<WBR>Message.xAPInfo.<WBR>GetPairValueEnco<WBR>dingFormat(<WBR>String
line, Int32 line_number)</FONT> </SPAN></P>
<P dir=ltr><SPAN lang=en-gb><FONT
face=Calibri>&nbsp;&nbsp; at
KCS.xAP.Framework.<WBR>Message.xAPMessa<WBR>geReader.<WBR>ReadMessagePair(<WBR>xAPMessage
message, String line)</FONT></SPAN></P>
<P dir=ltr><SPAN lang=en-gb><FONT
face=Calibri>&nbsp;&nbsp; at
KCS.xAP.Framework.<WBR>Message.xAPMessa<WBR>geReader.<WBR>ReadMessage(<WBR>)</FONT></SPAN></P>
<P dir=ltr><SPAN lang=en-gb><FONT
face=Calibri>&nbsp;&nbsp; at
KCS.xAP.Framework.<WBR>Transport.<WBR>xAPListener.<WBR>ProcessQueuedMes<WBR>sage(xAPRawData
data)</FONT></SPAN></P>
<P dir=ltr><SPAN lang=en-gb><FONT face=Calibri>For more
information, see
Help and Support Center at</FONT></SPAN><SPAN lang=en-gb>
</SPAN><A
href="http://go.microsoft.com/fwlink/events.asp";
target=_blank><SPAN
lang=en-gb><U><FONT face=Calibri
color=#0000ff>http://go.microsoft<WBR>.com/fwlink/<WBR>events.asp</FONT></U></SPAN><SPAN
lang=en-gb></SPAN></A><SPAN lang=en-gb><FONT
face=Calibri>.</FONT></SPAN><SPAN lang=en-gb>
</SPAN></P>
<P dir=ltr><SPAN lang=en-gb><FONT face=Calibri>The hub is
running as a
service and had stopped.</FONT></SPAN></P>
<P dir=ltr><SPAN lang=en-gb><FONT face=Calibri>Any
ideas?</FONT></SPAN><SPAN
lang=en-gb></SPAN></P>
<P dir=ltr><SPAN lang=en-gb></SPAN></P>
<P dir=ltr><SPAN lang=en-gb></SPAN><SPAN
lang=en-gb></SPAN><SPAN
lang=en-gb></SPAN><SPAN lang=en-gb><FONT face=Arial
size=2>Paul.</FONT></SPAN></P>
<P dir=ltr><SPAN lang=en-gb></SPAN><SPAN
lang=en-gb></SPAN><SPAN
lang=en-gb></SPAN></P>
<P dir=ltr><SPAN lang=en-gb></SPAN></P>
<P></P></DIV><SPAN style="COLOR: white"
width="1">__._</SPAN></DIV></DIV></DIV></BLOCKQUOTE></DIV><BR>
<P></P></DIV><!--End group email
--></BLOCKQUOTE>
<span width="1" style="color:
white;"/>__._,_.___</span>


<!-- **begin egp html banner** -->

<img src="http://geo.yahoo.com/serv?s=97476590/grpId=9674343/grpspId=1705007709/msgId=3676/stime=1181600939";
width="1" height="1"> <br>

<!-- **end egp html banner** -->


<!-- **begin egp html banner** -->

<br><br>
<div style="width:500px; text-align:right; margin-bottom:1px;
color:#909090;">
<tt>SPONSORED LINKS</tt>
</div>
<table bgcolor=#e0ecee cellspacing="13"
cellpadding="0" width=500px>
<tr valign=top>
<td style="width:25%;">
<tt><a href="http://groups.yahoo.com/gads;_ylc=X3oDMTJjZW8wcThnBF9TAzk3NDc2NTkwBF9wAzEEZ3JwSWQDOTY3NDM0MwRncnBzcElkAzE3MDUwMDc3MDkEc2VjA3NsbW9kBHN0aW1lAzExODE2MDA5Mzk-?t=ms&k=X10+home+automation&w1=X10+home+automation&w2=Home+automation&w3=Home+automation+product&w4=Home+automation+system&w5=Home+automation+security&c=5&s=133&g=0&.sig=tN49yZ8gLW44qGV8ngn-6Q";>X10
home automation</a></tt>
</td>
<td style="width:25%;">
<tt><a href="http://groups.yahoo.com/gads;_ylc=X3oDMTJja20xNHJlBF9TAzk3NDc2NTkwBF9wAzIEZ3JwSWQDOTY3NDM0MwRncnBzcElkAzE3MDUwMDc3MDkEc2VjA3NsbW9kBHN0aW1lAzExODE2MDA5Mzk-?t=ms&k=Home+automation&w1=X10+home+automation&w2=Home+automation&w3=Home+automation+product&w4=Home+automation+system&w5=Home+automation+security&c=5&s=133&g=0&.sig=uxodCh5B-C-LfzJs4AF_uw";>Home
automation</a></tt>
</td>
<td style="width:25%;">
<tt><a href="http://groups.yahoo.com/gads;_ylc=X3oDMTJjbzRlbXNiBF9TAzk3NDc2NTkwBF9wAzMEZ3JwSWQDOTY3NDM0MwRncnBzcElkAzE3MDUwMDc3MDkEc2VjA3NsbW9kBHN0aW1lAzExODE2MDA5Mzk-?t=ms&k=Home+automation+product&w1=X10+home+automation&w2=Home+automation&w3=Home+automation+product&w4=Home+automation+system&w5=Home+automation+security&c=5&s=133&g=0&.sig=-7-yoKCdmzYOn0eQU41W8Q";>Home
automation product</a></tt>
</td>
</tr>
<tr valign=top>
<td style="width:25%;">
<tt><a href="http://groups.yahoo.com/gads;_ylc=X3oDMTJjZDAyaDJpBF9TAzk3NDc2NTkwBF9wAzQEZ3JwSWQDOTY3NDM0MwRncnBzcElkAzE3MDUwMDc3MDkEc2VjA3NsbW9kBHN0aW1lAzExODE2MDA5Mzk-?t=ms&k=Home+automation+system&w1=X10+home+automation&w2=Home+automation&w3=Home+automation+product&w4=Home+automation+system&w5=Home+automation+security&c=5&s=133&g=0&.sig=YiCpy6REMq-ZQ9BflM6GVg";>Home
automation system</a></tt>
</td>
<td style="width:25%;">
<tt><a href="http://groups.yahoo.com/gads;_ylc=X3oDMTJjcGNjaG4yBF9TAzk3NDc2NTkwBF9wAzUEZ3JwSWQDOTY3NDM0MwRncnBzcElkAzE3MDUwMDc3MDkEc2VjA3NsbW9kBHN0aW1lAzExODE2MDA5Mzk-?t=ms&k=Home+automation+security&w1=X10+home+automation&w2=Home+automation&w3=Home+automation+product&w4=Home+automation+system&w5=Home+automation+security&c=5&s=133&g=0&.sig=MqsbZg2eMmjgfWfWU0yLgQ";>Home
automation security</a></tt>
</td>
</tr>
</table>

<!-- **end egp html banner** -->


<!-- **begin egp html banner** -->

<br>
<div style="font-family: verdana; font-size: 77%; border-top: 1px
solid #666; padding: 5px 0;" >
Your email settings: Individual EmailTraditional <br>
<a href="http://groups.yahoo.com/group/xap_automation/join;_ylc=X3oDMTJmMWhkaW9sBF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzExODE2MDA5Mzk-";>Change
settings via the Web</a> (Yahoo! ID required) <br>
Change settings via email: <a href="mailto:xap_automation-digest@xxxxxxx?subject=Email
Delivery: Digest">Switch delivery to Daily Digest</a>  <a
href = "mailto:xap_automation-fullfeatured@xxxxxxx?subject=Change
Delivery Format: Fully Featured">Switch to Fully Featured</a>
<br>
<a href="http://groups.yahoo.com/group/xap_automation;_ylc=X3oDMTJkaHVzMjRzBF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA2hwZgRzdGltZQMxMTgxNjAwOTM5";>
Visit Your Group
</a>
<a href="http://docs.yahoo.com/info/terms/";>
Yahoo! Groups Terms of Use
</a>
<a href="mailto:xap_automation-unsubscribe@xxxxxxx?subject=Unsubscribe";>
Unsubscribe
</a>
<br>
</div>
<br>

<!-- **end egp html banner** -->


<span  style="color: white;"/>__,_._,___</span>
</BODY></HTML>

------=_NextPart_000_0002_01C7AC7F.0D6EAE90--

xAP_Automation Main Index | xAP_Automation Thread Index | xAP_Automation 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.