You are entirely correct. It was a lower level issue. I found that there was a bad entry in /etc/hosts so that my server had an incorrect IP address for itself. Duh! Fixing that fixed the "could not dispatch" error, as well as cleaning up a ton of other stuff in the logs. Yippee!
On Wed, May 25, 2011 at 9:32 AM, Josh Holtzman <[email protected]>wrote: > Jobs can not be dispatched, since the system's HTTP requests are being > refused. From your log: > > Connection to http://matterhorn.duoc.edu refused > > Connection refused is usually due to a lower level problem, like a firewall > or port or DNS issue. One way to check that the system is accepting > system-level requests is via curl. Replace the host, user, and password > below. You should first receive a 401, then a 200. > > $ curl -I -H "X-REQUESTED-AUTH: Digest" --digest --user > "matterhorn_system_account:CHANGE_ME" http://localhost:8080/welcome.html > > HTTP/1.1 401 Full authentication is required to access this resource > WWW-Authenticate: Digest realm="Opencast Matterhorn", qop="auth", > nonce="MTMwNjM0MDkwMDMwODo4NTkwMGVkYzMzMzdjZGQzZjNmYzMxNTMyMDExOTIxZQ==" > Content-Type: text/html; charset=iso-8859-1 > Cache-Control: must-revalidate,no-cache,no-store > Content-Length: 1469 > Server: Jetty(6.1.x) > > HTTP/1.1 200 OK > Content-Type: text/html > Content-Length: 6015 > Expires: Thu, 01 Jan 1970 00:00:00 GMT > Set-Cookie: JSESSIONID=ce2lh2bu5553;Path=/ > ETag: 27d2f494164d574f677693f0cb0c4975 > Server: Jetty(6.1.x) > > It's also possible that this is also a configuration issue. If you changed > this line in security.xml: > > <sec:user name="matterhorn_system_account" password="CHANGE_ME" > authorities="ROLE_ADMIN,ROLE_USER" /> > > You need to set the same username and password in config.properties: > > org.opencastproject.security.digest.user=matterhorn_system_account > org.opencastproject.security.digest.pass=CHANGE_ME > > In 1.2, the configuration will take place only in config.properties, but in > 1.1 it needs to be set in both locations. > > Josh > > On May 25, 2011, at 10:09 AM, Mentzer, Peter wrote: > > Hi, > > I'm trying to use matterhorn 1.1.0 official release to upload/process a > .mov media file. My goal is just to get matterhorn working so I can upload a > movie, and then view via engage. > > I'm now able to upload the file without errors since: > > 1. I designated the storage directory in the conf/config.properties > file (fixed the 404 error on upload page) > 2. did not enter a "Series" when uploading (fixed the "could not add > metadata" error) > > However, the /admin/recordings.html screen now hangs on status > "Initializing" for the media file. My opencast.log shows: > > WARN (ServiceRegistryJpaImpl:1284) - Unable to dispatch job 253 > > I'm curious if I need to configure workflows, security, search, encoding > profiles, or anything else in order to get it to work? Are the defaults > supposed to function for what I'm trying to do on a fresh install? > > The two preceding relevant entries in the log before "unable to dispatch" > are: > > INFO (IngestServiceImpl:768) - Adding element of type Track to mediapackage > cfdc25e0-09da-4250-b137-7f14fe5d1c80 > INFO (IngestServiceImpl:768) - Adding element of type Catalog to > mediapackage cfdc25e0-09da-4250-b137-7f14fe5d1c80 > > Thanks! > > Here's my startup log: > > 2011-05-25 07:59:02 INFO (StaticResource:102) - registering classpath:/ui > at /confidence-monitoring with welcome file index.html > 2011-05-25 07:59:04 INFO (StaticResource:102) - registering classpath:/ui > at /engage/ui with welcome file index.html > 2011-05-25 07:59:04 INFO (EncodingProfileScanner:241) - Registering > encoding profiles from > /opt/matterhorn/felix/conf/encoding/engage-images.properties > 2011-05-25 07:59:04 INFO (EncodingProfileScanner:245) - Installed profile > search-cover.http > 2011-05-25 07:59:04 INFO (EncodingProfileScanner:245) - Installed profile > player-preview.http > 2011-05-25 07:59:04 INFO (EncodingProfileScanner:245) - Installed profile > player-slides.http > 2011-05-25 07:59:04 INFO (EncodingProfileScanner:241) - Registering > encoding profiles from > /opt/matterhorn/felix/conf/encoding/matterhorn-movies.properties > 2011-05-25 07:59:04 INFO (EncodingProfileScanner:245) - Installed profile > audio-only.work > 2011-05-25 07:59:04 INFO (EncodingProfileScanner:245) - Installed profile > video-only.work > 2011-05-25 07:59:04 INFO (EncodingProfileScanner:245) - Installed profile > trim.work > 2011-05-25 07:59:04 INFO (EncodingProfileScanner:245) - Installed profile > video-segmentation.http > 2011-05-25 07:59:04 INFO (EncodingProfileScanner:245) - Installed profile > mux-av.work > 2011-05-25 07:59:04 INFO (EncodingProfileScanner:245) - Installed profile > av.work > 2011-05-25 07:59:04 INFO (EncodingProfileScanner:241) - Registering > encoding profiles from > /opt/matterhorn/felix/conf/encoding/other-movies.properties > 2011-05-25 07:59:04 INFO (EncodingProfileScanner:245) - Installed profile > dvd-ntsc.http > 2011-05-25 07:59:04 INFO (EncodingProfileScanner:245) - Installed profile > dvd-pal.http > 2011-05-25 07:59:04 INFO (EncodingProfileScanner:241) - Registering > encoding profiles from > /opt/matterhorn/felix/conf/encoding/matterhorn-images.properties > 2011-05-25 07:59:04 INFO (EncodingProfileScanner:245) - Installed profile > image-conversion.http > 2011-05-25 07:59:04 INFO (EncodingProfileScanner:245) - Installed profile > text-analysis.http > 2011-05-25 07:59:04 INFO (EncodingProfileScanner:241) - Registering > encoding profiles from > /opt/matterhorn/felix/conf/encoding/feed-images.properties > 2011-05-25 07:59:04 INFO (EncodingProfileScanner:245) - Installed profile > feed-cover.http > 2011-05-25 07:59:04 INFO (EncodingProfileScanner:241) - Registering > encoding profiles from > /opt/matterhorn/felix/conf/encoding/engage-movies.properties > 2011-05-25 07:59:04 INFO (EncodingProfileScanner:245) - Installed profile > flash-preview.http > 2011-05-25 07:59:04 INFO (EncodingProfileScanner:245) - Installed profile > flash-audio.http > 2011-05-25 07:59:04 INFO (EncodingProfileScanner:245) - Installed profile > flash-vga.http > 2011-05-25 07:59:04 INFO (EncodingProfileScanner:245) - Installed profile > flash.http > 2011-05-25 07:59:04 INFO (EncodingProfileScanner:241) - Registering > encoding profiles from > /opt/matterhorn/felix/conf/encoding/feed-movies.properties > 2011-05-25 07:59:04 INFO (EncodingProfileScanner:245) - Installed profile > feed-m4a.http > 2011-05-25 07:59:04 INFO (EncodingProfileScanner:245) - Installed profile > feed-avi.http > 2011-05-25 07:59:04 INFO (CaptionUploadWorkflowOperationHandler:65) - > Registering caption upload hold state ui from classpath > /ui/operation/caption/index.html > 2011-05-25 07:59:04 INFO (DownloadDVDWorkflowOperationHandler:66) - > Registering download-DVD hold state ui from classpath > /ui/operation/download-dvd/index.html > 2011-05-25 07:59:04 INFO (ReviewWorkflowOperationHandler:67) - Registering > review hold state ui from classpath /ui/operation/review/index.html > 2011-05-25 07:59:04 INFO (StaticResource:102) - registering classpath:/ui > at /admin with welcome file recordings.html?show=all > 2011-05-25 07:59:04 WARN (ConfigurationManager:116) - Malformed URL for > capture.config.remote.endpoint.url, disabling polling. > 2011-05-25 07:59:04 INFO (ConfigurationManager:121) - No remote > configuration endpoint was found, relying on local config. > 2011-05-25 07:59:04 INFO (StaticResource:102) - registering classpath:/ui > at /capture with welcome file index.html > 2011-05-25 07:59:05 INFO (StaticResource:102) - registering > classpath:/ltisample at /ltisample with welcome file index.html > 2011-05-25 07:59:05 INFO (StaticResource:102) - registering > classpath:/sample at /workflow/samples with welcome file index.txt > 2011-05-25 07:59:06 INFO (StaticResource:102) - registering classpath:/ui > at / with welcome file welcome.html > 2011-05-25 07:59:06 INFO (SeriesServiceImpl:68) - Series Service > instantiated > 2011-05-25 07:59:06 INFO (SeriesServiceImpl:224) - SeriesService > activated. > 2011-05-25 07:59:07 INFO (ServiceRegistryJpaImpl:551) - Registering > http://matterhorn.duoc.edu with a maximum load of 2 > 2011-05-25 07:59:07 INFO (WorkingFileRepositoryImpl:123) - Usable space 3 > Gb out of 10 Gb (35%) > 2011-05-25 07:59:07 INFO (WorkspaceImpl:437) - Mapping workspace to > working file repository using /var/spool/matterhorn/files > 2011-05-25 07:59:07 INFO (WorkspaceImpl:103) - CONFIG > org.opencastproject.workspace.rootdir: /var/spool/matterhorn/workspace > 2011-05-25 07:59:07 INFO (WorkspaceImpl:148) - Hard links between the > working file repository and the workspace enabled > 2011-05-25 07:59:07 INFO (SearchServiceImpl:158) - Setting up solr search > index at /var/spool/matterhorn/searchindex > 2011-05-25 07:59:07 INFO (SearchServiceImpl:163) - solr search index found > at /var/spool/matterhorn/searchindex/conf > 2011-05-25 07:59:09 INFO (FeedRegistrationScanner:94) - Installing a feed > from /opt/matterhorn/felix/conf/feeds/search.properties > 2011-05-25 07:59:09 INFO (FeedServlet:212) - Registering 'search' feed > 2011-05-25 07:59:09 INFO (FeedRegistrationScanner:94) - Installing a feed > from /opt/matterhorn/felix/conf/feeds/aggregation.properties > 2011-05-25 07:59:09 INFO (FeedServlet:212) - Registering 'aggregated' feed > 2011-05-25 07:59:09 INFO (FeedRegistrationScanner:94) - Installing a feed > from /opt/matterhorn/felix/conf/feeds/latest.properties > 2011-05-25 07:59:09 INFO (FeedServlet:212) - Registering 'latest' feed > 2011-05-25 07:59:09 INFO (FeedRegistrationScanner:94) - Installing a feed > from /opt/matterhorn/felix/conf/feeds/custom.properties > 2011-05-25 07:59:09 INFO (FeedServlet:212) - Registering 'custom' feed > 2011-05-25 07:59:09 INFO (FeedRegistrationScanner:94) - Installing a feed > from /opt/matterhorn/felix/conf/feeds/series.properties > 2011-05-25 07:59:09 INFO (FeedServlet:212) - Registering 'series' feed > 2011-05-25 07:59:09 INFO (CaptureAgentStateServiceImpl:106) - > CaptureAgentStateServiceImpl starting. > 2011-05-25 07:59:10 INFO (WorkflowRestService:158) - configured server url > is http://matterhorn.duoc.edu > 2011-05-25 07:59:10 INFO (WorkflowDefinitionScanner:55) - Installing > workflow from file /opt/matterhorn/felix/conf/workflows/create-dvd.xml > 2011-05-25 07:59:10 INFO (SchedulerServiceImpl:136) - SchedulerService > activating. > 2011-05-25 07:59:10 INFO (IngestServiceImpl:138) - Ingest Service started. > 2011-05-25 07:59:10 INFO (WorkflowDefinitionScanner:55) - Installing > workflow from file > /opt/matterhorn/felix/conf/workflows/default-error-handler.xml > 2011-05-25 07:59:10 INFO (WorkflowDefinitionScanner:55) - Installing > workflow from file > /opt/matterhorn/felix/conf/workflows/compose-distribute-publish.xml > 2011-05-25 07:59:10 INFO (DownloadDistributionService:99) - Download > distribution directory is /var/spool/matterhorn/downloads > 2011-05-25 07:59:11 INFO (TrimWorkflowOperationHandler:91) - Registering > review / trim hold state ui from classpath /ui/operation/trim/index.html > 2011-05-25 07:59:11 INFO (CaptureAgentImpl:1323) - Starting > CaptureAgentImpl. > 2011-05-25 07:59:11 INFO (CaptureAgentImpl:1328) - Confidence monitoring > disabled. > 2011-05-25 07:59:11 INFO (CaptureAgentImpl:1336) - Registering capture > agent osgi shell commands > 2011-05-25 07:59:11 INFO (UserTrackingRestService:103) - configured server > url is http://matterhorn.duoc.edu > 2011-05-25 07:59:11 INFO (CaptureAgentImpl:1293) - CaptureAgentImpl has > successfully updated its properties from ConfigurationManager > 2011-05-25 07:59:11 INFO (AgentStateJob:63) - Starting first state push > count. > 2011-05-25 07:59:11 INFO (AgentStateJob:104) - #0 - Sending agent > demo_capture_agent's state: idle > 2011-05-25 07:59:11 INFO (AgentCapabilitiesJob:52) - Starting first > capability push count. > 2011-05-25 07:59:11 INFO (AnnotationRestService:94) - configured server > url is http://matterhorn.duoc.edu > 2011-05-25 07:59:11 INFO (SecurityConfigurationScanner$ScannerTask:108) - > Updating the security configuration > 2011-05-25 07:59:11 INFO (SecurityConfigurationScanner$ScannerTask:118) - > registered OsgiBundleXmlApplicationContext(bundle=matterhorn-security-impl, > config=file:/opt/matterhorn/felix/conf/security.xml): startup date [Wed Dec > 31 16:00:00 PST 1969]; root of context hierarchy > 2011-05-25 07:59:12 INFO (InboxScannerFactory:147) - Registering new inbox > 'org.opencastproject.ingest.scanner.InboxScanner.afc1c85e-1c20-4821-9508-098d19d7d6d9' > 2011-05-25 07:59:12 INFO (InboxScannerFactory:147) - Registering new inbox > 'org.opencastproject.ingest.scanner.InboxScanner.bd1c9235-6ade-4d55-8ee5-9bcaa62b46bf' > 2011-05-25 07:59:12 INFO (InboxScannerFactory:147) - Registering new inbox > 'org.opencastproject.ingest.scanner.InboxScanner.31bfd15a-0fbd-4562-b8b3-7a650600fb91' > 2011-05-25 07:59:12 INFO (InboxScannerFactory:147) - Registering new inbox > 'org.opencastproject.ingest.scanner.InboxScanner.eac64f66-b404-4405-b9f1-50479633d746' > 2011-05-25 07:59:12 INFO (InboxScannerFactory:147) - Registering new inbox > 'org.opencastproject.ingest.scanner.InboxScanner.1ac7e034-1414-4585-8cc8-31babb5e8aeb' > 2011-05-25 07:59:12 INFO (InboxScannerFactory:147) - Registering new inbox > 'org.opencastproject.ingest.scanner.InboxScanner.14610e29-eb07-4d24-94b0-f5d284812790' > 2011-05-25 07:59:12 INFO (InboxScannerFactory:147) - Registering new inbox > 'org.opencastproject.ingest.scanner.InboxScanner.9b1f6284-e11f-4cd6-a45a-04674a64dc20' > 2011-05-25 07:59:12 INFO (InboxScannerFactory:147) - Registering new inbox > 'org.opencastproject.ingest.scanner.InboxScanner.476a6ff1-68af-4bc8-b9f1-52497edac15e' > 2011-05-25 07:59:12 INFO (InboxScannerFactory:147) - Registering new inbox > 'org.opencastproject.ingest.scanner.InboxScanner.ad73c418-ee87-4959-8198-a46596a555d7' > 2011-05-25 07:59:12 INFO (InboxScannerFactory:147) - Registering new inbox > 'org.opencastproject.ingest.scanner.InboxScanner.db24846b-ddcf-447e-80ef-d2cdc17ab602' > 2011-05-25 07:59:12 INFO (InboxScannerFactory:147) - Registering new inbox > 'org.opencastproject.ingest.scanner.InboxScanner.e5f0e6ac-73c2-461c-8b6d-40e53dc58072' > 2011-05-25 07:59:12 INFO (InboxScannerFactory:147) - Registering new inbox > 'org.opencastproject.ingest.scanner.InboxScanner.84d06972-45c3-42cd-bd94-8f25e48080e1' > 2011-05-25 07:59:12 INFO (InboxScannerFactory:147) - Registering new inbox > 'org.opencastproject.ingest.scanner.InboxScanner.dec58b4d-f868-4888-95f7-5a3394c8c713' > 2011-05-25 07:59:14 INFO (RestPublisher:196) - Registered REST endpoint at > /annotation > 2011-05-25 07:59:14 INFO (RestPublisher:196) - Registered REST endpoint at > /distribution/download > 2011-05-25 07:59:14 INFO (RestPublisher:196) - Registered REST endpoint at > /ingest > 2011-05-25 07:59:14 INFO (RestPublisher:196) - Registered REST endpoint at > /analysis/text > 2011-05-25 07:59:14 INFO (RestPublisher:196) - Registered REST endpoint at > /captureagent > 2011-05-25 07:59:15 INFO (RestPublisher:196) - Registered REST endpoint at > /info > 2011-05-25 07:59:15 INFO (RestPublisher:196) - Registered REST endpoint at > /composer/ffmpeg > 2011-05-25 07:59:15 INFO (RestPublisher:196) - Registered REST endpoint at > /workflow > 2011-05-25 07:59:15 INFO (RestPublisher:196) - Registered REST endpoint at > /series > 2011-05-25 07:59:15 INFO (RestPublisher:196) - Registered REST endpoint at > /search > 2011-05-25 07:59:15 INFO (RestPublisher:196) - Registered REST endpoint at > /analysis/videosegmenter > 2011-05-25 07:59:15 INFO (RestPublisher:196) - Registered REST endpoint at > /usertracking > 2011-05-25 07:59:16 INFO (RestPublisher:196) - Registered REST endpoint at > /confidence > 2011-05-25 07:59:16 INFO (RestPublisher:196) - Registered REST endpoint at > /caption > 2011-05-25 07:59:16 INFO (RestPublisher:196) - Registered REST endpoint at > /services > 2011-05-25 07:59:16 INFO (RestPublisher:196) - Registered REST endpoint at > /files > 2011-05-25 07:59:16 INFO (RestPublisher:196) - Registered REST endpoint at > /scheduler > 2011-05-25 07:59:16 INFO (RestPublisher:196) - Registered REST endpoint at > /inspection > 2011-05-25 07:59:16 INFO (RestPublisher:196) - Registered REST endpoint at > /state > 2011-05-25 07:59:16 INFO (RestPublisher:196) - Registered REST endpoint at > /capture-admin > 2011-05-25 07:59:16 WARN (StreamingDistributionService:91) - Stream url > was not set (org.opencastproject.streaming.url) > 2011-05-25 07:59:16 WARN (StreamingDistributionService:98) - Streaming > distribution directory must be set (org.opencastproject.streaming.directory) > 2011-05-25 07:59:16 INFO (StreamingDistributionService:110) - Streaming > distribution directory is null > 2011-05-25 07:59:17 INFO (RestPublisher:196) - Registered REST endpoint at > /distribution/streaming > 2011-05-25 07:59:17 INFO (StaticResourceServlet:79) - serving static files > from '/var/spool/matterhorn/downloads' > 2011-05-25 07:59:21 INFO (AgentStateJob:104) - #1 - Sending agent > demo_capture_agent's state: idle > 2011-05-25 07:59:31 INFO (AgentStateJob:104) - #2 - Sending agent > demo_capture_agent's state: idle > 2011-05-25 07:59:32 WARN (AgentStateJob:197) - #0 - Unable to communicate > with server at > http://matterhorn.duoc.edu/capture-admin/agents/demo_capture_agent, > message reads: org.opencastproject.security.api.TrustedHttpClientException: > org.apache.http.conn.HttpHostConnectException: Connection to > http://matterhorn.duoc.edu refused. > > > > > _______________________________________________ > 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 > > -- Peter Mentzer MS Ed Director of Online Technology Dominican University of California
_______________________________________________ Matterhorn-users mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
