You need to configure the capture agent to use the *system* account to connect 
to the server.  This is the one you configured via 
"org.opencastproject.security.digest.user" in config.properties.

The mailing list archives will give more details on why you need to use the 
system account to communicate via digest auth rather than the admin account.

Hope that helps,
Josh

On Sep 28, 2011, at 3:52 PM, Jonathan Felder wrote:

> I installed the server and got it running, and then I installed the capture 
> agent on another machine.  The agent appears to start ok, but It doesn't seem 
> to be able to connect to the server.
> 
> I modified the config file to point to my matterhorn server and used the 
> admin username and password (the only user I have configured).
> 
> Also when I attempt to connect to the agent via a web browser all I get is a 
> blank screen.
> 
> Below are my agent logs:
> 
> 2011-09-28 15:48:48  WARN (ConfigurationManager:126) - Malformed URL for 
> capture.config.remote.endpoint.url, disabling polling.
> 2011-09-28 15:48:48  INFO (ConfigurationManager:131) - No remote 
> configuration endpoint was found, relying on local config.
> 2011-09-28 15:49:05  INFO (StaticResourceServlet:79) - serving static files 
> from '/opt/matterhorn/downloads'
> 2011-09-28 15:49:06  INFO (RestPublisher:215) - Registered REST endpoint at 
> /org
> 2011-09-28 15:49:06  INFO (RestPublisher:215) - Registered REST endpoint at 
> /info
> 2011-09-28 15:49:06  INFO (RestPublisher:215) - Registered REST endpoint at 
> /roles
> 2011-09-28 15:49:06  INFO (SpringSecurityConfigurationArtifactInstaller:115) 
> - registered OsgiBundleXmlApplicationContext(bundle=matterhorn-kernel, 
> config=file:/opt/matterhorn/felix/conf/security/mh_default_org.xml): startup 
> date [Wed Dec 31 16:00:00 PST 1969]; root of context hierarchy for 
> mh_default_org
> 2011-09-28 15:49:06  WARN (ConfigurationManager:126) - Malformed URL for 
> capture.config.remote.endpoint.url, disabling polling.
> 2011-09-28 15:49:06  INFO (ConfigurationManager:131) - No remote 
> configuration endpoint was found, relying on local config.
> 2011-09-28 15:49:06  INFO (CaptureAgentImpl:1227) - Starting CaptureAgentImpl.
> 2011-09-28 15:49:06  INFO (CaptureAgentImpl:1232) - Confidence monitoring 
> disabled.
> 2011-09-28 15:49:06  INFO (CaptureAgentImpl:1240) - Registering capture agent 
> osgi shell commands
> 2011-09-28 15:49:07  INFO (RestPublisher:215) - Registered REST endpoint at 
> /confidence
> 2011-09-28 15:49:07  INFO (RestPublisher:215) - Registered REST endpoint at 
> /state
> 2011-09-28 15:49:07  INFO (RestPublisher:215) - Registered REST endpoint at 
> /captureagent
> 2011-09-28 15:49:07  INFO (CaptureAgentImpl:1197) - CaptureAgentImpl has 
> successfully updated its properties from ConfigurationManager
> 2011-09-28 15:49:07  INFO (AgentStateJob:63) - Starting first state push 
> count.
> 2011-09-28 15:49:07  INFO (AgentConfigurationJob:56) - Starting first 
> capability push count.
> 2011-09-28 15:49:08  INFO (AgentStateJob:190) - #0 - State push to 
> org.opencastproject.capture.impl.jobs.AgentStateJob@2ac510e3 to 
> http://address.of.my.server:8080/capture-admin/agents/test1 failed with code 
> 401.
> 2011-09-28 15:49:08  INFO (AgentConfigurationJob:121) - #0 - Capabilities 
> push to 
> http://address.of.my.server:8080/capture-admin/agents/test1/configuration 
> failed with code 401.
> 2011-09-28 15:49:17  INFO (AgentStateJob:190) - #1 - State push to 
> org.opencastproject.capture.impl.jobs.AgentStateJob@380fe8c4 to 
> http://address.of.my.server:8080/capture-admin/agents/test1 failed with code 
> 401.
> 2011-09-28 15:49:17  INFO (AgentConfigurationJob:121) - #1 - Capabilities 
> push to 
> http://address.of.my.server:8080/capture-admin/agents/test1/configuration 
> failed with code 401.
> 2011-09-28 15:49:27  INFO (AgentStateJob:190) - #2 - State push to 
> org.opencastproject.capture.impl.jobs.AgentStateJob@5b8767ad to 
> http://address.of.my.server:8080/capture-admin/agents/test1 failed with code 
> 401.
> 2011-09-28 15:49:27  INFO (AgentConfigurationJob:121) - #2 - Capabilities 
> push to 
> http://address.of.my.server:8080/capture-admin/agents/test1/configuration 
> failed with code 401.
> 2011-09-28 15:49:37  INFO (AgentStateJob:190) - #3 - State push to 
> org.opencastproject.capture.impl.jobs.AgentStateJob@3c10b841 to 
> http://address.of.my.server:8080/capture-admin/agents/test1 failed with code 
> 401.
> 2011-09-28 15:49:37  INFO (AgentConfigurationJob:121) - #3 - Capabilities 
> push to 
> http://address.of.my.server:8080/capture-admin/agents/test1/configuration 
> failed with code 401.
> _______________________________________________
> Matterhorn-users mailing list
> [email protected]
> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

Reply via email to