HomeGenie Forum
General Category => Troubleshooting and Support => Topic started by: jghermsen on February 23, 2014, 07:06:19 PM
-
I installed homegenie on linaro/Ubuntu and all went without errors.
Also starting homegenie manualy or as service is going without errors.
But going to localhost or ip on port 80 doesn't work it can't find host also tried port 81 which also doesn't work.
Is there some option to enable debug logging?
Any other suggestions are welcome.
-
try
ps ax | grep mono
see if HomeGenie process is running and kill it.
Change the systemconfig.xml
cd /usr/local/bin/homegenie
sudo nano systemconfig.xml
change the line
<EnableLogFile>false</EnableLogFile>
to
<EnableLogFile>true</EnableLogFile>
start HG manually from terminal
sudo mono HomeGenie.exe
and see what happen.
Cheers,
g.
-
Thanks,
tried it and it doesn't give any output on port 80 or 81.
Then I tried 8080 and got:
WEBGATEWAY ERROR: Argument is out of range.
at System.Globalization.DateTimeFormatInfo.GetAbbreviatedDayName (DayOfWeek dayofweek) [0x00000] in <filename unknown>:0
at System.DateTimeUtils.ToString (DateTime dt, Nullable`1 utc_offset, System.String format, System.Globalization.DateTimeFormatInfo dfi) [0x00000] in <filename unknown>:0
at System.DateTimeUtils.ToString (DateTime dt, System.String format, System.Globalization.DateTimeFormatInfo dfi) [0x00000] in <filename unknown>:0
at System.DateTime.ToString (System.String format, IFormatProvider provider) [0x00000] in <filename unknown>:0
at System.Net.HttpListenerResponse.SendHeaders (Boolean closing, System.IO.MemoryStream ms) [0x00000] in <filename unknown>:0
at System.Net.ResponseStream.GetHeaders (Boolean closing) [0x00000] in <filename unknown>:0
at System.Net.ResponseStream.Close () [0x00000] in <filename unknown>:0
at System.Net.HttpConnection.Close (Boolean force_close) [0x00000] in <filename unknown>:0
at System.Net.HttpListenerResponse.Close (Boolean force) [0x00000] in <filename unknown>:0
at System.Net.HttpListenerResponse.Close () [0x00000] in <filename unknown>:0
at MIG.Gateways.WebServiceGateway.Worker (System.Object o) [0x00000] in <filename unknown>:0
Any idea what the issue might be?
-
It could be a locale setting issue.
What do you get if you enter the "locale" command from terminal?
Try setting locale to en_US if not already so and start hg to see if this work-around the problem.
Then we'll think of a better solution.
Cheers,
g.
-
What mono version is installed on the system?
pi@raspberrypi ~ $ mono --version
Mono JIT compiler version 3.2.3 (Debian 3.2.3+dfsg-7+rpi1)
Copyright (C) 2002-2012 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: normal
Notifications: epoll
Architecture: armel,vfp+hard
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
this is the recommended mono runtime to use.
-
I tried it changing locale as it was some strange value.
But that didn't work.
I checked the mono version and it is an older one so I'm gonna try to upgrade it and post the findings when done.
-
Did you try rebooting after changing the locale? Sometimes mono is a bit "stubborn" =)