cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to fetch remote packages list: Connect server refused authentication (returned 401)

ElmarKnipp_
Confirmed Champ
Confirmed Champ

I have the Nuxeo Platform in the fasttrack editon on an Ubuntu server 16.04.3 LTS since a year. I have no access to Nuxeo Studio. Everything works fine.

Yesterday I wanted to update the system ("apt update; apt dist-upgrade") and the nuxeo package was in the list of upgradeable items.

But the configuration step of the packages resulted in an error with the following output:

root@nuxeo:/tmp# apt dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
Setting up nuxeo (9.10-01) ...
 * Trying to reinstall previously installed packages
Detected Tomcat server.
Nuxeo home:          /var/lib/nuxeo/server
Nuxeo configuration: /etc/nuxeo/nuxeo.conf
Include template: /var/lib/nuxeo/server/templates/common-base
Include template: /var/lib/nuxeo/server/templates/common
Include template: /var/lib/nuxeo/server/templates/postgresql
Include template: /var/lib/nuxeo/server/templates/default
Include template: /var/lib/nuxeo/server/templates/mongodb
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to install unknown package: nuxeo-jsf-ui
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unknown dependency: nuxeo-cmf
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Optional dependencies [nuxeo-jsf-ui] will be ignored for 'nuxeo-dam-6.3.3'.

Dependency resolution:
  Installation order (2):        nuxeo-web-ui-2.2.0/nuxeo-dam-6.3.3
  Local packages to install (2): nuxeo-web-ui:2.2.0, nuxeo-dam:6.3.3

Installing nuxeo-web-ui-2.2.0
Installing nuxeo-dam-6.3.3
Detected Tomcat server.
Detected Tomcat server.
Detected Tomcat server.
Job for nuxeo.service failed because the control process exited with error code. See "systemctl status nuxeo.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nuxeo, action "start" failed.
* nuxeo.service - LSB: Start/stop Nuxeo
   Loaded: loaded (/etc/init.d/nuxeo; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2018-02-08 10:02:07 CET; 10ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 3480 ExecStart=/etc/init.d/nuxeo start (code=exited, status=1/FAILURE)

Feb 08 10:02:07 nuxeo nuxeo[3480]:         at org.nuxeo.launcher.config.ConfigurationGenerator.verifyInstallation(ConfigurationGenerator.java:1280)
Feb 08 10:02:07 nuxeo nuxeo[3480]:         at org.nuxeo.launcher.NuxeoLauncher.doStart(NuxeoLauncher.java:2048)
Feb 08 10:02:07 nuxeo nuxeo[3480]:         at org.nuxeo.launcher.NuxeoLauncher.doStart(NuxeoLauncher.java:1903)
Feb 08 10:02:07 nuxeo nuxeo[3480]:         at org.nuxeo.launcher.NuxeoLauncher.launch(NuxeoLauncher.java:1154)
Feb 08 10:02:07 nuxeo nuxeo[3480]:         at org.nuxeo.launcher.NuxeoLauncher.main(NuxeoLauncher.java:1110)
Feb 08 10:02:07 nuxeo nuxeo[3480]:    ...fail!
Feb 08 10:02:07 nuxeo systemd[1]: nuxeo.service: Control process exited, code=exited status=1
Feb 08 10:02:07 nuxeo systemd[1]: Failed to start LSB: Start/stop Nuxeo.
Feb 08 10:02:07 nuxeo systemd[1]: nuxeo.service: Unit entered failed state.
Feb 08 10:02:07 nuxeo systemd[1]: nuxeo.service: Failed with result 'exit-code'.
dpkg: error processing package nuxeo (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 nuxeo
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@nuxeo:/tmp# 

Is my assumption correct that nuxeo is not supporting the non paying users anymore?

5 REPLIES 5

Florent_Guillau
World-Class Innovator
World-Class Innovator

No that's not correct. Nuxeo is still free for everyone. There must be a bug in the debian packagings, I'll inform relevant people.

ElmarKnipp_
Confirmed Champ
Confirmed Champ

Is there a ticket where we debian users can track this issue? Or will we be informed in this thread when this problem is resolved?

Julien_Carsique
Elite Collaborator
Elite Collaborator

The Debian package related tickets are there

ElmarKnipp_
Confirmed Champ
Confirmed Champ

Here it is (replaced sensible data with XXXX):

nuxeoctl showconf
Detected Tomcat server.
Nuxeo home:          /var/lib/nuxeo/server
Nuxeo configuration: /etc/nuxeo/nuxeo.conf
Include template: /var/lib/nuxeo/server/templates/common-base
Include template: /var/lib/nuxeo/server/templates/common
Include template: /var/lib/nuxeo/server/templates/postgresql
Include template: /var/lib/nuxeo/server/templates/default
Include template: /var/lib/nuxeo/server/templates/mongodb
***** Nuxeo instance configuration *****
NUXEO_CONF: /etc/nuxeo/nuxeo.conf
NUXEO_HOME: /var/lib/nuxeo/server
Instance CLID: 5f5fb69d-2c96-435f-b5a2-7cc9612f3559--db3472bd-f108-4890-8088-b30e2e47d29d
** Distribution
- name: server
- server: tomcat
- version: 9.10
- date: 201712201724
- packaging: deb
** Packages:
- nuxeo-template-rendering-samples (version: 6.7.3 - id: nuxeo-template-rendering-samples-6.7.3 - state: downloaded)
- nuxeo-dam (version: 6.3.3 - id: nuxeo-dam-6.3.3 - state: downloaded)
- nuxeo-liveconnect (version: 1.2.3 - id: nuxeo-liveconnect-1.2.3 - state: downloaded)
- nuxeo-template-rendering (version: 6.7.3 - id: nuxeo-template-rendering-6.7.3 - state: downloaded)
- nuxeo-web-ui (version: 2.2.0 - id: nuxeo-web-ui-2.2.0 - state: started)
- nuxeo-drive (version: 1.7.3 - id: nuxeo-drive-1.7.3 - state: downloaded)
- nuxeo-spreadsheet (version: 1.3.3 - id: nuxeo-spreadsheet-1.3.3 - state: downloaded)
- nuxeo-vision (version: 1.2.3 - id: nuxeo-vision-1.2.3 - state: downloaded)
- nuxeo-showcase-content (version: 1.2.3 - id: nuxeo-showcase-content-1.2.3 - state: downloaded)
** Templates:
Database template: mongodb
Base template: postgresql
** Settings from nuxeo.conf:
JAVA_OPTS=-server -Xms512m -Xmx1024m -Dfile.encoding=UTF-8 -Dmail.mime.decodeparameters=true -Djava.util.Arrays.useLegacyMergeSort=true -Xloggc:"/var/log/nuxeo/gc.log" -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Djava.util.logging.config.file=/var/lib/nuxeo/server/conf/logging.properties
audit.elasticsearch.enabled=true
elasticsearch.httpEnabled=true
jod.office.home=/usr/lib/libreoffice
mail.from=XXXXXXXXXXXXXXX
mail.transport.host=XXXXXXXXXXXx
nuxeo.bind.address=XXXXXXXXXXXX
nuxeo.data.dir=/var/lib/nuxeo/data
nuxeo.db.host=localhost
nuxeo.db.name=nuxeo
nuxeo.db.password=********
nuxeo.db.port=5433
nuxeo.db.user=nuxeo
nuxeo.directory.type=ldap
nuxeo.force.generation=true
nuxeo.http.proxy.host=XXXXXXXXXXXXXXX
nuxeo.http.proxy.port=8080
nuxeo.http.proxy.type=anonymous
nuxeo.installer.installedpg=true
nuxeo.installer.installeduser=true
nuxeo.installer.lastinstalledversion=9.10-01
nuxeo.installer.useautopg=true
nuxeo.ldap.binddn=XXXXXXXXXXXXXXXXXXXXX
nuxeo.ldap.bindpassword=********
nuxeo.ldap.defaultAdministratorId=XXXXXXXXXXXXXXXX
nuxeo.ldap.defaultMembersGroup=worker
nuxeo.ldap.group.mapping.label=description
nuxeo.ldap.group.mapping.name=cn
nuxeo.ldap.group.mapping.rdn=cn
nuxeo.ldap.group.searchBaseDn=XXXXXXXXXXXXXXXXXXXX
nuxeo.ldap.url=ldap://XXXXXXXXXXXXXXXXXXxx
nuxeo.ldap.user.mapping.email=mail
nuxeo.ldap.user.mapping.firstname=givenName
nuxeo.ldap.user.mapping.lastname=sn
nuxeo.ldap.user.mapping.password=********
nuxeo.ldap.user.mapping.rdn=cn
nuxeo.ldap.user.mapping.username=pager
nuxeo.ldap.user.searchBaseDn=XXXXXXXXXXXXXXXx
nuxeo.log.dir=/var/log/nuxeo
nuxeo.pid.dir=/var/run/nuxeo
nuxeo.server.ajp.port=8009
nuxeo.server.http.port=8080
nuxeo.server.tomcat_admin.port=54476
nuxeo.templates=postgresql,mongodb
nuxeo.url=XXXXXXXXXXXXXXXXXx
nuxeo.user.anonymous.enable=false
nuxeo.user.emergency.firstname=Emergency
nuxeo.user.emergency.lastname=User
nuxeo.user.emergency.password=********
nuxeo.user.emergency.username=emergency.user
nuxeo.wizard.done=true
nuxeo.wizard.skippedpages=General,DB
org.nuxeo.dev=false
server.status.key=********
****************************************

Not applicable

hello,

I have the same ouput, did you found any answer to this pb ?

Connect server refused authentication (returned 401)

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.