Problem with client

42 views
Skip to first unread message

pasqualevg

unread,
Apr 26, 2011, 7:55:51 AM4/26/11
to Reef Angel Controller
Hi, i installed the wifi and the client in a pc on the network...
For the first 14gg all ok but now the client say me "unable to connect
to listener..." but in the same time the client save params
normally...
So the real problem is:
1) the client don't refresh params, i have to close & restart the
software to see params in chart and grid view
2) the client don't show me the status of relay...

Can you help me??

Pasquale

Dave Molton

unread,
Apr 27, 2011, 12:50:05 AM4/27/11
to reef...@googlegroups.com
Do you see any data coming from the controller at all? Temperatures or pH?

Do you have wifi enabled from RAGen in the ReefAngel_Features.h file?
#define wifi
and running on the controller?

Are you connecting over USB or WiFi?

If you go to Settings -> General Tab -> Launch Service Dash are both services started?
Try stopping the Listener service and then starting it again.  Fully exit the Client through File->Exit and then start it again.

It kind of sounds like the Logger portion is working and saving to the database, just that the Client isn't getting the same up-to-date parameters, just displaying what's been logged in the database file.

Report back with what happens after restarting the Listener service and the Client.

pasqualevg

unread,
Apr 27, 2011, 7:09:33 AM4/27/11
to Reef Angel Controller
i'm connecting with the wifi and it's all ok because the client save
params...
i try many times to restart logger, listener and client but the
problem it's the same:
for few seconds the client is connected and update 1 time params (not
the status of relay) but after 30-40 secs it say me unable to connect
to listener...
i think that is a problem with the software... do you know where it
save params?

The strange is that it don't refresh the relay's status...
what do i have to do?
Can i unistall and re-install the client (i don't want to lose the
history of params that are very intresting)?
Make me know

On 27 Apr, 06:50, Dave Molton <fossil5...@gmail.com> wrote:
> Do you see any data coming from the controller at all? Temperatures or pH?
>
> Do you have wifi enabled from RAGen in the ReefAngel_Features.h file?
> *#define wifi*
> and running on the controller?
>
> Are you connecting over USB or WiFi?
>
> If you go to Settings -> General Tab -> Launch Service Dash are both
> services started?
> Try stopping the Listener service and then starting it again.  Fully exit
> the Client through File->Exit and then start it again.
>
> It kind of sounds like the Logger portion is working and saving to the
> database, just that the Client isn't getting the same up-to-date parameters,
> just displaying what's been logged in the database file.
>
> Report back with what happens after restarting the Listener service and the
> Client.
>

Dave Molton

unread,
Apr 27, 2011, 9:24:31 AM4/27/11
to reef...@googlegroups.com
Sorry for the troubles, I've never heard of this issue before.

Could you send me the error log to have a look at?

Windows XP: 
C:\Documents and Settings\YourUserName\Application 
Data\ReefAngel\RAExceptionLog.log 

Windows 7: 
C:\Users\YourUserName\AppData\Roaming\ReefAngel\RAExceptionLog.log 

Most of the time that's a hidden folder so you will have to enable viewing hidden folders to get there.

-Dave

pasqualevg

unread,
Apr 27, 2011, 2:39:35 PM4/27/11
to Reef Angel Controller
*****2011/04/27 20:34:11*****
Message:
Impossibile utilizzare l'oggetto di comunicazione,
System.ServiceModel.InstanceContext, per la comunicazione perché è
stato interrotto.
StackTrace:

Server stack trace:
in System.ServiceModel.Channels.CommunicationObject.ThrowIfClosed()
in System.ServiceModel.InstanceContext.get_OutgoingChannels()
in
System.ServiceModel.Channels.ServiceChannel.System.ServiceModel.IDuplexContextChannel.set_CallbackInstance(InstanceContext
value)

Exception rethrown at [0]:
in
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)
in
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
in
System.ServiceModel.IDuplexContextChannel.set_CallbackInstance(InstanceContext
value)
in
System.ServiceModel.DuplexChannelFactory`1.CreateChannel(InstanceContext
callbackInstance, EndpointAddress address, Uri via)
in
System.ServiceModel.DuplexChannelFactory`1.CreateChannel(EndpointAddress
address, Uri via)
in System.ServiceModel.ChannelFactory`1.CreateChannel()
in System.ServiceModel.DuplexClientBase`1.CreateChannel()
in System.ServiceModel.ClientBase`1.CreateChannelInternal()
in System.ServiceModel.ClientBase`1.get_Channel()
in ReefAngelClient.Form1.bwConnect_DoWork(Object sender,
DoWorkEventArgs e)


This is the last error... the file is very very big... all the same
error

On 27 Apr, 15:24, Dave Molton <fossil5...@gmail.com> wrote:
> Sorry for the troubles, I've never heard of this issue before.
>
> Could you send me the error log to have a look at?
>
> Windows XP:
> C:\Documents and Settings\YourUserName\Application
> Data\ReefAngel\RAExceptionLog.log
>
> Windows 7:
> C:\Users\YourUserName\AppData\Roaming\ReefAngel\RAExceptionLog.log
>
> Most of the time that's a hidden folder so you will have to enable viewing
> hidden folders to get there.
>
> -Dave
>

pasqualevg

unread,
May 1, 2011, 5:20:41 PM5/1/11
to Reef Angel Controller
Can you help me pleaseeeee!!!

Dave Molton

unread,
May 3, 2011, 8:14:17 AM5/3/11
to reef...@googlegroups.com
Hi, sorry for the late reply.

I'm not 100% sure what's happening in this case.  I don't think we've run into your situation before.  That is, where the Listener and Logger part work okay but the Client refuses to keep a connection with the Listener.  The method that the Logger connects to the Listener is the same as the Client connecting to the Listener.  So it's pretty strange that one would work okay but the other would not.  It really seems to me that the Listener portion isn't running correctly based off the error you provided below, but that contradicts some of your symptoms.  Would you mind sending me the whole error log I mentioned before?  I might be able to see something in there that was missed.  It would be helpful if before you send it, stop both the Listener and Logger services, and exit the Client.  Start just the services from the service dash: Start -> ReefAngel Client Suite -> Service Dash.  Stop then Start both.  Then start the Client.  Let it stand for a few minutes and give it a chance to do its thing before you start seeing the errors.  After that just make a copy of the log and send it to me.  

-Dave

pasqualevg

unread,
May 3, 2011, 2:34:45 PM5/3/11
to Reef Angel Controller
Don't ask me why but if i enable ssl on my gmail it works...
the errors i read on the log are:


*****2011/05/03 20:25:50*****
*****2011/05/03 20:27:06*****
Message:
Il server SMTP richiede una connessione protetta oppure il client non
è stato autenticato. Risposta del server: 5.7.0 Must issue a STARTTLS
command first. t5sm191291wes.9
StackTrace:
in System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode
statusCode, String response)
in System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[]
command, String from)
in System.Net.Mail.SmtpTransport.SendMail(MailAddress sender,
MailAddressCollection recipients, String deliveryNotify,
SmtpFailedRecipientException& exception)
in System.Net.Mail.SmtpClient.Send(MailMessage message)
in ReefAngelClient.Classes.Notify.SendMessage(MailMessage msg,
Boolean enableSSL, RAUser user)

*****2011/05/03 20:28:22*****
Message:
Il server SMTP richiede una connessione protetta oppure il client non
è stato autenticato. Risposta del server: 5.7.0 Must issue a STARTTLS
command first. ed10sm218483wbb.49
StackTrace:
in System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode
statusCode, String response)
in System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[]
command, String from)
in System.Net.Mail.SmtpTransport.SendMail(MailAddress sender,
MailAddressCollection recipients, String deliveryNotify,
SmtpFailedRecipientException& exception)
in System.Net.Mail.SmtpClient.Send(MailMessage message)
in ReefAngelClient.Classes.Notify.SendMessage(MailMessage msg,
Boolean enableSSL, RAUser user)

On 3 Mag, 14:14, Dave Molton <fossil5...@gmail.com> wrote:
> Hi, sorry for the late reply.
>
> I'm not 100% sure what's happening in this case.  I don't think we've run
> into your situation before.  That is, where the Listener and Logger part
> work okay but the Client refuses to keep a connection with the Listener.
>  The method that the Logger connects to the Listener is the same as the
> Client connecting to the Listener.  So it's pretty strange that one would
> work okay but the other would not.  It really seems to me that the Listener
> portion isn't running correctly based off the error you provided below, but
> that contradicts some of your symptoms.  Would you mind sending me the whole
> error log I mentioned before?  I might be able to see something in there
> that was missed.  It would be helpful if before you send it, stop both the
> Listener and Logger services, and exit the Client.  Start just the services
> from the service dash: Start -> ReefAngel Client Suite -> Service Dash.
>  Stop then Start both.  Then start the Client.  Let it stand for a few
> minutes and give it a chance to do its thing before you start seeing the
> errors.  After that just make a copy of the log and send it to me.
>
> -Dave
>
Reply all
Reply to author
Forward
0 new messages