AnsweredAssumed Answered

Accès aux documents de Alfresco par VPN SSL impossible

Question asked by chaessig on Jun 13, 2013
Bonjour,

j'ai installé Alfresco en interne dans notre entreprise. Tout fonctionne très bien.
J'ai ouvert un accès via VPN SSL (Netasq), et là, deux points me bloquent :
- l'accès au share est bloqué (les tags ne se chargent pas, et Alfresco mouline sans fin pour charger les entrepôts. Si je mets client-debug à true dans le fichier /opt/alfresco-4.2.c/tomcat/webapps/share/WEB-INF/classes/alfresco/share-config.xml, tout se charge bien
- même avec cette option à true, les documents présents dans les entrepôts ne sont pas visibles, alors qu'en interne tout se passe très bien (y compris pour les documents ajoutés depuis l'extérieur, qui sont donc visibles en interne).

J'utilise Alfresco Community Edition 4.2.c, avec un frontal Apache 2.
Je n'ai aucune erreur dans aucun log.

Le VPN SSL transforme l'URL (quelque chose comme https://URL entreprise/rhs0003/share/page).

J'ai activé les logs javascript, et voici le résultat d'un upload de document :

Utilisation en interne :

14:31:20 DEBUG - Validating field 'file' is a valid node name
14:31:20 DEBUG - Validating regular expression of field 'file' using args: {pattern => {}, match => false}
14:31:20 DEBUG - Validating field 'file' is a valid node name
14:31:20 DEBUG - Validating regular expression of field 'file' using args: {pattern => {}, match => false}
14:31:20 DEBUG - Using FormData for file upload
14:31:20 DEBUG - File upload progress update received {
  totalSize: 4542,
  position: 4542,
  total: 4542,
  loaded: 4542,
  lengthComputable: true,
  clipboardData: undefined,
  cancelBubble: false,
  returnValue: true,
  srcElement: [object XMLHttpRequestUpload],
  defaultPrevented: false,
  timeStamp: 1371126680469,
  cancelable: true,
  bubbles: false,
  eventPhase: 2,
  currentTarget: [object XMLHttpRequestUpload],
  target: [object XMLHttpRequestUpload],
  type: progress,
  stopPropagation: function stopPropagation() { [native code] },
  preventDefault: function preventDefault() { [native code] },
  initEvent: function initEvent() { [native code] },
  stopImmediatePropagation: function stopImmediatePropagation() { [native code] },
  NONE: 0,
  CAPTURING_PHASE: 1,
  AT_TARGET: 2,
  BUBBLING_PHASE: 3,
  MOUSEDOWN: 1,
  MOUSEUP: 2,
  MOUSEOVER: 4,
  MOUSEOUT: 8,
  MOUSEMOVE: 16,
  MOUSEDRAG: 32,
  CLICK: 64,
  DBLCLICK: 128,
  KEYDOWN: 256,
  KEYUP: 512,
  KEYPRESS: 1024,
  DRAGDROP: 2048,
  FOCUS: 4096,
  BLUR: 8192,
  SELECT: 16384,
  CHANGE: 32768
}
14:31:20 DEBUG - File upload completion notification received {
  totalSize: 0,
  position: 0,
  total: 0,
  loaded: 0,
  lengthComputable: false,
  clipboardData: undefined,
  cancelBubble: false,
  returnValue: true,
  srcElement: [object XMLHttpRequestUpload],
  defaultPrevented: false,
  timeStamp: 1371126680481,
  cancelable: true,
  bubbles: false,
  eventPhase: 2,
  currentTarget: [object XMLHttpRequestUpload],
  target: [object XMLHttpRequestUpload],
  type: load,
  stopPropagation: function stopPropagation() { [native code] },
  preventDefault: function preventDefault() { [native code] },
  initEvent: function initEvent() { [native code] },
  stopImmediatePropagation: function stopImmediatePropagation() { [native code] },
  NONE: 0,
  CAPTURING_PHASE: 1,
  AT_TARGET: 2,
  BUBBLING_PHASE: 3,
  MOUSEDOWN: 1,
  MOUSEUP: 2,
  MOUSEOVER: 4,
  MOUSEOUT: 8,
  MOUSEMOVE: 16,
  MOUSEDRAG: 32,
  CLICK: 64,
  DBLCLICK: 128,
  KEYDOWN: 256,
  KEYUP: 512,
  KEYPRESS: 1024,
  DRAGDROP: 2048,
  FOCUS: 4096,
  BLUR: 8192,
  SELECT: 16384,
  CHANGE: 32768
}
14:31:20 DEBUG - DL__updateDocList: undefined undefined
14:31:20 DEBUG - DataSource requestParams: all/node/alfresco/company/home/Echanges/Dummy?filter=path&size=50&pos=1&sortAsc=true&sortField=cm%3Aname&libraryRoot=alfresco%3A%2F%2Fcompany%2Fhome&view=browse&noCache=1371126680950
14:31:20 DEBUG - DL__updateDocList: undefined undefined
14:31:20 DEBUG - DataSource requestParams: all/node/alfresco/company/home/Echanges/Dummy?filter=path&size=50&pos=1&sortAsc=true&sortField=cm%3Aname&libraryRoot=alfresco%3A%2F%2Fcompany%2Fhome&view=browse&noCache=1371126680953
14:31:21 DEBUG - DL__uDL_fnShowLoadingMessage: slow data webscript detected.
14:31:21 DEBUG - DL__uDL_fnShowLoadingMessage: slow data webscript detected.
14:31:22 DEBUG - currentFilter was: {
  filterId: path,
  filterData: /Echanges/Dummy,
  filterOwner: Alfresco.DocListTree
} now: {
  doclistFirstTimeNav: false,
  filterId: path,
  filterData: /Echanges/Dummy,
  filterOwner: Alfresco.DocListTree
}

14:22:18 DEBUG - node.expand: DLT_pathChanged /Echanges/Dummy
14:22:18 DEBUG - DLT_onFilterChanged {
  filterId: path,
  filterData: /Echanges/Dummy,
  filterOwner: Alfresco.DocListTree,
  action: filterChanged,
  flagged: false,
  decrepitate: false,
  stop: false
}
14:22:18 DEBUG - DataTable renderEvent
14:22:18 DEBUG - Setting paginator state: page=1, totalRecords=1



Utilisation en externe :

14:29:02 DEBUG - Validating field 'file' is a valid node name
14:29:02 DEBUG - Validating regular expression of field 'file' using args: {pattern => {}, match => false}
14:29:02 DEBUG - Validating field 'file' is a valid node name
14:29:02 DEBUG - Validating regular expression of field 'file' using args: {pattern => {}, match => false}
14:29:02 DEBUG - Using FormData for file upload
14:29:02 DEBUG - File upload progress update received {
  totalSize: 1362,
  position: 1362,
  total: 1362,
  loaded: 1362,
  lengthComputable: true,
  clipboardData: undefined,
  cancelBubble: false,
  returnValue: true,
  srcElement: [object XMLHttpRequestUpload],
  defaultPrevented: false,
  timeStamp: 1371126542512,
  cancelable: true,
  bubbles: false,
  eventPhase: 2,
  currentTarget: [object XMLHttpRequestUpload],
  target: [object XMLHttpRequestUpload],
  type: progress,
  stopPropagation: function stopPropagation() { [native code] },
  preventDefault: function preventDefault() { [native code] },
  initEvent: function initEvent() { [native code] },
  stopImmediatePropagation: function stopImmediatePropagation() { [native code] },
  NONE: 0,
  CAPTURING_PHASE: 1,
  AT_TARGET: 2,
  BUBBLING_PHASE: 3,
  MOUSEDOWN: 1,
  MOUSEUP: 2,
  MOUSEOVER: 4,
  MOUSEOUT: 8,
  MOUSEMOVE: 16,
  MOUSEDRAG: 32,
  CLICK: 64,
  DBLCLICK: 128,
  KEYDOWN: 256,
  KEYUP: 512,
  KEYPRESS: 1024,
  DRAGDROP: 2048,
  FOCUS: 4096,
  BLUR: 8192,
  SELECT: 16384,
  CHANGE: 32768
}
14:29:02 DEBUG - File upload completion notification received {
  totalSize: 0,
  position: 0,
  total: 0,
  loaded: 0,
  lengthComputable: false,
  clipboardData: undefined,
  cancelBubble: false,
  returnValue: true,
  srcElement: [object XMLHttpRequestUpload],
  defaultPrevented: false,
  timeStamp: 1371126542513,
  cancelable: true,
  bubbles: false,
  eventPhase: 2,
  currentTarget: [object XMLHttpRequestUpload],
  target: [object XMLHttpRequestUpload],
  type: load,
  stopPropagation: function stopPropagation() { [native code] },
  preventDefault: function preventDefault() { [native code] },
  initEvent: function initEvent() { [native code] },
  stopImmediatePropagation: function stopImmediatePropagation() { [native code] },
  NONE: 0,
  CAPTURING_PHASE: 1,
  AT_TARGET: 2,
  BUBBLING_PHASE: 3,
  MOUSEDOWN: 1,
  MOUSEUP: 2,
  MOUSEOVER: 4,
  MOUSEOUT: 8,
  MOUSEMOVE: 16,
  MOUSEDRAG: 32,
  CLICK: 64,
  DBLCLICK: 128,
  KEYDOWN: 256,
  KEYUP: 512,
  KEYPRESS: 1024,
  DRAGDROP: 2048,
  FOCUS: 4096,
  BLUR: 8192,
  SELECT: 16384,
  CHANGE: 32768
}
14:29:04 DEBUG - DL__updateDocList: undefined undefined
14:29:04 DEBUG - DataSource requestParams: all/node/alfresco/company/home/Echanges/Dummy?filter=path&size=50&pos=1&sortAsc=true&sortField=cm%3Aname&libraryRoot=alfresco%3A%2F%2Fcompany%2Fhome&view=browse&noCache=1371126544623
14:29:04 DEBUG - DL__updateDocList: undefined undefined
14:29:04 DEBUG - DataSource requestParams: all/node/alfresco/company/home/Echanges/Dummy?filter=path&size=50&pos=1&sortAsc=true&sortField=cm%3Aname&libraryRoot=alfresco%3A%2F%2Fcompany%2Fhome&view=browse&noCache=1371126544624
14:29:05 DEBUG - currentFilter was: {
  filterId: path,
  filterData: /Echanges/Dummy,
  filterOwner: Alfresco.DocListTree
} now: {
  doclistFirstTimeNav: false,
  filterId: path,
  filterData: /Echanges/Dummy,
  filterOwner: Alfresco.DocListTree
}
14:29:05 DEBUG - currentPage was [1] now [1]
14:29:05 DEBUG - currentPath was [/Echanges/Dummy] now [/Echanges/Dummy]
14:29:05 DEBUG - DLTB_onFilterChanged Old Filter {
  filterId: path,
  filterData: /Echanges/Dummy,
  filterOwner: Alfresco.DocListTree
}

14:23:00 DEBUG - DLT_onFilterChanged {
  filterId: path,
  filterData: /Echanges/Dummy,
  filterOwner: Alfresco.DocListTree,
  action: filterChanged,
  flagged: false,
  decrepitate: false,
  stop: false
}


Apparemment la tâche de rendu ne se termine pas en externe.
Le message "Chargement de l'espace documentaire…" s'affiche, mais le chargement ne se fait pas.

Toute idée sera la bienvenue …
Merci par avance,
Cordialement,
Christian

Outcomes