INCF / ids-tools

INCF Dataspace utilities
Other
9 stars 2 forks source link

Public link sharing (idrop-web) not working: 404 #12

Open brainstorm opened 10 years ago

brainstorm commented 10 years ago

First, the ids-eu.incf.net EIP was de-attached from AWS, causing problems on ids-eu:

root@ids-eu-1:~# icd ..
No such directory (collection): /incf/resources/se.kth.pdc

After fixing that, I tried to generate a public link and share it as exposed in iRODS-Chat:

https://groups.google.com/forum/#!topic/iROD-Chat/Nb4nvW40GUg

Fails with 404:

https://ids-eu.incf.net/idrop-web/home/file/download/incf/resources/org.incf/public/INCF%20Dataspace%20Architecture%20v1.3.pdf

Tomcat errors from idrop-web are not very informative, catalina.out:

2014-06-27 12:34:59,022 [ajp-bio-8009-exec-180] INFO  pub.CollectionAndDataObjectListAndSearchAOImpl  - queryForPathAndReturnResultSet for: /incf/resources/org.incf/public
2014-06-27 12:34:59,022 [ajp-bio-8009-exec-180] INFO  pub.IRODSGenQueryExecutorImpl  - executeIRODSQueryWithPagingInZone()
2014-06-27 12:34:59,022 [ajp-bio-8009-exec-180] INFO  pub.IRODSGenQueryExecutorImpl  - query: IRODSQuery:
   queryString:SELECT DISTINCT COLL_NAME,DATA_NAME,DATA_CREATE_TIME,DATA_MODIFY_TIME,DATA_ID,DATA_SIZE,DATA_REPL_NUM,DATA_OWNER_NAME WHERE COLL_NAME = '/incf/resources/org.incf/public'
    numberOfResultsDesired:5000
2014-06-27 12:34:59,022 [ajp-bio-8009-exec-180] INFO  connection.IRODSCommands  - calling irods function with byte array
2014-06-27 12:34:59,022 [ajp-bio-8009-exec-180] INFO  connection.IRODSCommands  - reading message from irods
2014-06-27 12:34:59,093 [ajp-bio-8009-exec-180] INFO  pub.IRODSGenQueryExecutorImpl  - continuation value: 0
2014-06-27 12:34:59,093 [ajp-bio-8009-exec-180] INFO  query.QueryResultProcessingUtils  - rows returned from iRODS query: 2
2014-06-27 12:34:59,093 [ajp-bio-8009-exec-180] INFO  pub.IRODSGenQueryExecutorImpl  - auto closing result set
2014-06-27 12:34:59,093 [ajp-bio-8009-exec-180] INFO  pub.IRODSGenQueryExecutorImpl  - getting more results for query
2014-06-27 12:34:59,093 [ajp-bio-8009-exec-180] INFO  pub.IRODSGenQueryExecutorImpl  - no results to close, ignore
2014-06-27 12:34:59,094 [ajp-bio-8009-exec-180] INFO  connection.IRODSSession  - closing all irods sessions
2014-06-27 12:34:59,094 [ajp-bio-8009-exec-180] INFO  connection.IRODSCommands  - closing connection
2014-06-27 12:34:59,094 [ajp-bio-8009-exec-180] INFO  connection.IRODSCommands  - shutdown()...check if executor service is running for reconnect
2014-06-27 12:34:59,094 [ajp-bio-8009-exec-180] INFO  connection.IRODSCommands  - shutting down, need to send disconnect to irods
2014-06-27 12:34:59,094 [ajp-bio-8009-exec-180] INFO  connection.IRODSCommands  - sending disconnect message
2014-06-27 12:34:59,094 [ajp-bio-8009-exec-180] INFO  connection.IRODSConnection  - shutting down connection: true
2014-06-27 12:34:59,094 [ajp-bio-8009-exec-180] INFO  connection.IRODSConnection  - closing underlying iRODS socket connections, errors will be discarded
2014-06-27 12:34:59,164 [ajp-bio-8009-exec-184] INFO  controller.TagsController  - getting tag cloud for user: irods://anonymous@ids-eu-1.incf.net:1247
2014-06-27 12:34:59,165 [ajp-bio-8009-exec-184] INFO  usertagging.UserTagCloudServiceImpl  - buildTagCloudEntryListForDataObjects, user=anonymous
2014-06-27 12:34:59,165 [ajp-bio-8009-exec-184] INFO  connection.AuthenticationFactoryImpl  - instanceAuthMechanism()
2014-06-27 12:34:59,165 [ajp-bio-8009-exec-184] INFO  connection.AuthenticationFactoryImpl  - account is anonymous, use default auth scheme
2014-06-27 12:34:59,165 [ajp-bio-8009-exec-184] INFO  connection.AuthenticationFactoryImpl  - authScheme:STANDARD
2014-06-27 12:34:59,166 [ajp-bio-8009-exec-184] INFO  connection.AuthenticationFactoryImpl  - using standard auth
2014-06-27 12:34:59,166 [ajp-bio-8009-exec-184] INFO  connection.IRODSConnection  - pipeline configuration:PipelineConfiguration
   irodsSocketTimeout:0
   irodsParallelSocketTimeout:120
   internalInputStreamBufferSize:0
   internalOutputStreamBufferSize:-1
   internalCacheBufferSize:65535
  localFileOutputStreamBufferSize:16384
  localFileInputStreamBufferSize:16384
   defaultEncoding:utf-8
   inputToOutputCopyBufferByteSize:65536
  instrument:false
   reconnect:false
   reconnect time in millis:600000
(...)

And localhost_access_log.2014-06-27:

127.0.0.1 - - [27/Jun/2014:12:34:58 +0000] "GET /idrop-web/browse/ajaxDirectoryListingUnderParent?dir=%2Fincf%2Fresources%2Forg.incf%2Fpublic&type=path&_=1403872498457 HTTP/1.1" 200 200
127.0.0.1 - - [27/Jun/2014:12:34:58 +0000] "GET /idrop-web/browse/ajaxDirectoryListingUnderParent?type=list&dir=%2Fincf%2Fresources%2Forg.incf%2Fpublic&_=1403872498768 HTTP/1.1" 200 1008
127.0.0.1 - - [27/Jun/2014:12:34:59 +0000] "GET /idrop-web/browse/displayBrowseGridDetails?absPath=%2Fincf%2Fresources%2Forg.incf%2Fpublic&_=1403872498730 HTTP/1.1" 200 5376
127.0.0.1 - - [27/Jun/2014:12:34:59 +0000] "GET /idrop-web/tags/tagCloudFormatted?_=1403872498467 HTTP/1.1" 200 2
127.0.0.1 - - [27/Jun/2014:12:35:01 +0000] "GET /idrop-web/home/file/download/incf/resources/org.incf/public/INCF%20Dataspace%20Architecture%20v1.3.pdf HTTP/1.1" 404 1261

@ganqqwerty