View unanswered posts | View active topics It is currently Mon May 20, 2013 12:38 am



Reply to topic  [ 12 posts ] 
 is the reflector down? 
Author Message

Joined: Apr 12, 2008
Posts: 105
Post is the reflector down?
Indigo hasn't connect to the reflector for about two days (yesterday). Is anybody else having problems connecting?

Thank You

Ed :(


Fri Jul 03, 2009 6:27 pm
Profile
Site Admin
User avatar

Joined: Jan 27, 2003
Posts: 11683
Location: Texas
Post Re: is the reflector down?
Hi Ed,

No problems reported on our hosted servers and my personal reflector is working. Have you tried rebooting your Mac? If that doesn't help, then copy/paste into a forum post what you see in the Event Log as Indigo tries to create the reflector.

_________________
Image


Fri Jul 03, 2009 6:30 pm
Profile WWW

Joined: Apr 12, 2008
Posts: 105
Post 
This was happening before I upgraded to the new beta. Yes I restarted the computer.
Code: Select all
Jul 3, 2009 5:39:39 PM
  Starting Indigo Server version 4.1.0 b1
  Loading attachments
  "device target attachment.scpt" script loaded
  "group target attachment.scpt" script loaded
  "growl attachment.scpt" script loaded
  "iTunes attachment.scpt" script loaded
  "PhoneValet Attachments.scpt" script loaded
  "scenes attachment.scpt" script loaded
  "time stamp attachment.scpt" script loaded
  Bonjour registered "Indigo - My House 4b7"
  Indigo Cocoa client authenticated
  WebServer client authenticated
  WebServer          started on port 8176 -- digest authentication enabled
  WebServer client authenticated
  WebServer          started on port 8176 -- digest authentication enabled

Jul 3, 2009 5:39:43 PM
  Trigger Action     Timers
  Trigger Action     Sprinkler Runtime
  Trigger Action     PhoneValet Startup
  info               Timer script heartbeat
  Connected to SmartHome PowerLinc USB E
  PowerLinc address 09.48.09, firmware version 2.13
  Reflector          starting reflector connection to https://dnomode.goprism.com
  PowerLinc standalone operation disabled
  Indigo directly controlling automation logic

Jul 3, 2009 5:40:05 PM
  Error              reflector connection not open
  Killing 1338 using SIGTERM
  returned ESRCH
  Reflector          restarting reflector connection to https://dnomode.goprism.com

Jul 3, 2009 5:40:25 PM
  Error              reflector connection not open
  Killing 1341 using SIGTERM
  returned ESRCH
  Reflector          restarting reflector connection to https://dnomode.goprism.com

Jul 3, 2009 5:40:45 PM
  Error              reflector connection not open
  Killing 1343 using SIGTERM
  returned ESRCH
  Reflector          restarting reflector connection to https://dnomode.goprism.com

Jul 3, 2009 5:41:06 PM
  Error              reflector connection not open
  Killing 1350 using SIGTERM
  returned ESRCH
  Reflector          restarting reflector connection to https://dnomode.goprism.com

Jul 3, 2009 5:41:26 PM
  Error              reflector connection not open
  Killing 1352 using SIGTERM
  returned ESRCH
  Reflector          restarting reflector connection to https://dnomode.goprism.com

Jul 3, 2009 5:41:47 PM
  Error              reflector connection not open
  Killing 1354 using SIGTERM
  returned ESRCH
  Reflector          restarting reflector connection to https://dnomode.goprism.com

Jul 3, 2009 5:42:07 PM
  Error              reflector connection not open
  Killing 1356 using SIGTERM
  returned ESRCH
  Reflector          restarting reflector connection to https://dnomode.goprism.com


As always thanks for your help.

Ed


Fri Jul 03, 2009 6:43 pm
Profile
Site Admin
User avatar

Joined: Jan 27, 2003
Posts: 11683
Location: Texas
Post 
Have you changed any of your router or firewall settings? The default settings normally are fine, but if you set it to not allow outgoing connection requests, then Indigo Server isn't able to create the secure tunnel to our hosted server.

Try these steps to troubleshoot:

1) Launch the Terminal application (inside /Applications/Utilities/)

2) Copy/paste each line below *individually* and hit the return key after each one:
Code: Select all
cd /Library/Application\ Support/Perceptive\ Automation/
cd Indigo\ 4/Preferences/PrismReflector
ls -al
chmod ugo-x *
chmod o-rwx *
chmod g-rw id_rsa
ls -al


3) Select all and Copy/Paste the entire contents of the Terminal window into an email (indigo-support at perceptiveautomation.com) for me.

4) Open a new Terminal Window for the next 2 steps.

5) Copy/paste each line below *individually* and hit the return key after each one:
Code: Select all
cd /Library/Application\ Support/Perceptive\ Automation
cd Indigo\ 4/IndigoServer.app/Contents/PlugIns
ps -axww | grep "Indigo"
./prism_reflect.py -m geturl -d
./prism_reflect.py -m tunnel -d


6) Wait 3 minutes. It can take a while for the network errors we are trying to catch to be reported.

7) Copy/paste each line below *individually* and hit the return key after each one:
Code: Select all
ps -axww | grep "Indigo"
./prism_reflect.py -m checktunnel -d


8) Select all and Copy/Paste the entire contents of the Terminal window into an email (indigo-support at perceptiveautomation.com) for me.

_________________
Image


Fri Jul 03, 2009 6:48 pm
Profile WWW

Joined: Apr 12, 2008
Posts: 105
Post 
I've been using a VPN connection to the office for about one week or so. However I only connect when I need it. I emailed you the info.

Thank You

Ed


Fri Jul 03, 2009 7:00 pm
Profile
Site Admin
User avatar

Joined: Jan 27, 2003
Posts: 11683
Location: Texas
Post 
Try rebooting your Mac one more time. I think it will work now. Based on the email you sent me it looks like the permissions on the private key file were incorrect, but the troubleshooting steps above reset it back to the correct value.

_________________
Image


Fri Jul 03, 2009 7:06 pm
Profile WWW

Joined: Apr 12, 2008
Posts: 105
Post 
thank you :D

do you know why i had the problem?

Ed


Fri Jul 03, 2009 7:38 pm
Profile
Site Admin
User avatar

Joined: Jan 27, 2003
Posts: 11683
Location: Texas
Post 
The permissions on the id_rsa file have to be just right, or the reflector tunnel (ssh) will fail. Unfortunately, that is coming from the OS X ssh command itself and not Indigo. I think copying the settings files to another Mac may break the permissions. Also rogue installers that are not built correctly can mess up the file permissions for everything inside the /Library/Application Support/ folder. I've seen that happen a couple of times.

_________________
Image


Fri Jul 03, 2009 11:24 pm
Profile WWW

Joined: Oct 17, 2004
Posts: 1107
Location: Rochester, Ny
Post 
support wrote:The permissions on the id_rsa file have to be just right, or the reflector tunnel (ssh) will fail. Unfortunately, that is coming from the OS X ssh command itself and not Indigo. I think copying the settings files to another Mac may break the permissions. Also rogue installers that are not built correctly can mess up the file permissions for everything inside the /Library/Application Support/ folder. I've seen that happen a couple of times.


I'd just point out that if copying it to another computer breaks the permissions on the id_RSA file, then it has to be a little bit more complex then that. I migrated my copy of Indigo 4 (beta) to the Mac Mini without breaking reflector connections.... But of course, I migrated it to the "same" user....

In otherwords, my user is number 501 on both systems.... With the same shortname, and password...

- Ben


Sat Jul 04, 2009 7:00 am
Profile WWW

Joined: Dec 29, 2004
Posts: 239
Post 
I seem to be having similar difficulties, and tried the first part of your remedy, Matt. Here's what resulted after the chmod commands, which does not seem to be correct, and I'm not sure why?

PowerMac-DualG5 ...$ pwd
/Library/Application Support/Perceptive Automation/Indigo 4/Preferences/PrismReflector
PowerMac-DualG5 ...$ ls -al
total 24
drwxrwx---@ 5 auto admin 170 Feb 3 2007 .
drwxrwxr-x@ 14 root admin 476 Jul 18 08:27 ..
-rw-------@ 1 auto admin 883 Feb 3 2007 id_rsa
-rw-rw----@ 1 auto admin 233 Feb 3 2007 id_rsa.pub
-rw-rw----@ 1 auto admin 966 Feb 3 2007 ssh_config
PowerMac-DualG5 ...$

Are these the permissions that were supposed to result?

Jim


Sat Jul 18, 2009 6:31 am
Profile

Joined: Dec 29, 2004
Posts: 239
Post 
... Now I'm getting this:

Jul 18, 2009 9:07:11 AM
Error reflector connection test failed: [Errno socket error] (60, 'Operation timed out')
Killing 610 using SIGTERM

Jul 18, 2009 9:08:26 AM
Error failed to create reflector connection: [Errno socket error] (60, 'Operation timed out')
Error reflector connection restart scheduled in 15 minutes

Jul 18, 2009 9:24:41 AM
Error failed to create reflector connection: [Errno socket error] (60, 'Operation timed out')
Error reflector connection restart scheduled in 15 minutes

Jul 18, 2009 9:40:56 AM
Error failed to create reflector connection: [Errno socket error] (60, 'Operation timed out')
Error reflector connection restart scheduled in 15 minutes


Wassup?


Sat Jul 18, 2009 7:56 am
Profile
Site Admin
User avatar

Joined: Jan 27, 2003
Posts: 11683
Location: Texas
Post 
We are having some GoPrism.com server or network connectivity problems currently. I'll look into these ASAP...

_________________
Image


Sat Jul 18, 2009 8:54 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 12 posts ] 

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.   Template designed by STSoftware.