Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-1645

Fix bind-server CLI with bad --password value

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.1.3
    • Component/s: Commandline
    • Tags:
    • Sprint:
      nxDrive 11.1.9
    • Story Points:
      1

      Description

      Command line arguments:

      bind-server
      Administrator
      http://localhost:8080/nuxeo
      --password=BadP@ssw0rd
      

      Exception:

      Traceback (most recent call last):
        File "Y:\nxdrive\__main__.py", line 236, in main
          return CliHandler().handle(sys.argv[1:])
        File "Y:\nxdrive\commandline.py", line 498, in handle
          return handler(options)
        File "Y:\nxdrive\commandline.py", line 625, in bind_server
          check_credentials=check_credentials,
        File "Y:\nxdrive\manager.py", line 585, in bind_server
          starts=start_engine,
        File "Y:\nxdrive\manager.py", line 665, in bind_engine
          raise exc
        File "Y:\nxdrive\manager.py", line 655, in bind_engine
          self, engine_def, binder=binder
        File "Y:\nxdrive\engine\engine.py", line 128, in __init__
          self.bind(binder)
        File "Y:\nxdrive\engine\engine.py", line 847, in bind
          self._dao.update_config("ca_bundle", self._ca_bundle)
        File "Y:\nxdrive\engine\engine.py", line 867, in _check_root
          root = self._dao.get_state_from_local(ROOT)
        File "Y:\nxdrive\engine\engine.py", line 922, in _add_top_level_state
          self._dao.insert_local_state(local_info, None)
        File "Y:\nxdrive\client\remote_client.py", line 290, in get_filesystem_root_info
          toplevel_folder = self.execute(command="NuxeoDrive.GetTopLevelFolder")
        File "Y:\nxdrive\client\remote_client.py", line 121, in execute
          return self.operations.execute(**kwargs)
        File "C:\Users\Windows10\Desktop\deploy-dir\3.6.8\lib\site-packages\nuxeo\operations.py", line 200, in execute
          default=kwargs.get('default', object))
        File "C:\Users\Windows10\Desktop\deploy-dir\3.6.8\lib\site-packages\nuxeo\client.py", line 197, in request
          raise self._handle_error(exc)
        File "C:\Users\Windows10\Desktop\deploy-dir\3.6.8\lib\site-packages\nuxeo\client.py", line 193, in request
          auth=self.auth, data=data, **kwargs)
        File "C:\Users\Windows10\Desktop\deploy-dir\3.6.8\lib\site-packages\requests\sessions.py", line 533, in request
          resp = self.send(prep, **send_kwargs)
        File "C:\Users\Windows10\Desktop\deploy-dir\3.6.8\lib\site-packages\requests\sessions.py", line 646, in send
          r = adapter.send(request, **kwargs)
        File "C:\Users\Windows10\Desktop\deploy-dir\3.6.8\lib\site-packages\requests\adapters.py", line 449, in send
          timeout=timeout
        File "C:\Users\Windows10\Desktop\deploy-dir\3.6.8\lib\site-packages\urllib3\connectionpool.py", line 600, in urlopen
          chunked=chunked)
        File "C:\Users\Windows10\Desktop\deploy-dir\3.6.8\lib\site-packages\urllib3\connectionpool.py", line 354, in _make_request
          conn.request(method, url, **httplib_request_kw)
        File "C:\Python36-32\lib\http\client.py", line 1239, in request
          self._send_request(method, url, body, headers, encode_chunked)
        File "C:\Python36-32\lib\http\client.py", line 1280, in _send_request
          self.putheader(hdr, value)
        File "C:\Python36-32\lib\http\client.py", line 1217, in putheader
          raise ValueError('Invalid header value %r' % (values[i],))
      ValueError: Invalid header value b'<!DOCTYPE html>\n<!-- Nuxeo Enterprise Platform -->\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<html>\n\n\n\n\n\n<head>\n<title>Nuxeo Platform</title>\n<link rel="icon" type="image/png" href="/nuxeo/icons/favicon.png" />\n<link rel="shortcut icon" type="image/x-icon" href="/nuxeo/icons/favicon.ico" />\n<script type="text/javascript" src="/nuxeo/scripts/detect_timezone.js"></script>\n<script type="text/javascript" src="/nuxeo/scripts/nxtimezone.js"></script>\n\n<script type="text/javascript" src="/nuxeo/scripts/mobile-banner.js"></script>\n\n<script type="text/javascript">\n  nxtz.resetTimeZoneCookieIfNotSet();\n</script>\n\n<meta name="viewport" content="width=device-width, initial-scale=1">\n\n<style type="text/css">\n<!--\n* {\n  box-sizing: border-box;\n  -webkit-box-sizing: border-box;\n}\nhtml, body {\n  height: 100%;\n  overflow: hidden;\n  margin: 0;\n  padding: 0;\n}\nbody {\n  font: normal 14px/18pt "Helvetica", Arial;\n  background: url(\'/nuxeo/img/login_bg.jpg\') no-repeat center center fixed #006ead;\n  color: #343434;\n  \n  -webkit-background-size: cover;\n  -moz-background-size: cover;\n  -o-background-size: cover;\n  background-size: cover;\n  \n}\nvideo {\n  position: fixed;\n  top: 50%;\n  left: 50%;\n  min-width: 100%;\n  min-height: 100%;\n  width: auto;\n  height: auto;\n  z-index: -100;\n  transform: translateX(-50%) translateY(-50%);\n  -moz-transform: translateX(-50%) translateY(-50%);\n  -webkit-transform: translateX(-50%) translateY(-50%);\n  background: url(\'/nuxeo/img/login_bg.jpg\') no-repeat;\n  background-size: cover;\n  transition: 1s opacity;\n}\n.container {\n  display: flex;\n  flex-direction: column;\n  justify-content: flex-start;\n  align-items: stretch;\n  align-content: stretch;\n  display: -webkit-box;\n  -webkit-box-orient: vertical;\n  width: 100%;\n  height: 100%;\n}\n\n.header {\n  text-align: center;\n  margin-bottom: 1.5em;\n}\n\nfooter {\n  padding: 1em 1.5em;\n  color: #ffffff;\n  font-size: .65em;\n  text-transform: uppercase;\n  letter-spacing: .03em;\n  text-align: center;\n  \n}\n\nsection {\n  flex: 1 1 auto;\n  display: flex;\n  flex-direction: row;\n  justify-content: flex-start;\n  align-items: stretch;\n  align-content: stretch;\n  -webkit-box-flex: 1;\n  display: -webkit-box;\n  -webkit-box-align: center;\n}\n\n.main {\n  flex: 2 1 65%;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  -webkit-box-flex: 2;\n  display: -webkit-box;\n  -webkit-box-pack: center;\n}\n.news {\n  flex: 1 1 35%;\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  -webkit-box-flex: 1;\n  -webkit-box-pack: center;\n  min-width: 400px;\n}\n.welcome {\n  background: none repeat scroll 0 0 #fff;\n  bottom: 3%;\n  margin: 10px;\n  opacity: 0.8;\n  padding: 20px;\n  position: absolute;\n  width: 60%;\n}\n.welcomeText {\n  font: 12px "Lucida Grande", sans-serif;\n  text-align: left;\n  color: #454545;\n  margin: 0 0 .8em;\n}\nform {\n  display: flex;\n  flex-direction: column;\n  display: -webkit-box;\n  -webkit-box-orient: vertical;\n  width: 20em;\n  margin: 0;\n  padding: 1em;\n  background: none repeat scroll 0 0;\n}\n\nform > * {\n  flex: 1 1 auto;\n  -webkit-box-flex: 1;\n  width: 100%;\n}\n\n.login_input {\n  border: 1px solid #979797;\n  padding: .7em;\n  margin: 0 0 .8em;\n  font-size: 110%;\n}\n\n.login_input:hover,\n.login_input:focus {\n  border-color: #2e9cff;\n  box-shadow: 0 0 0 50px white inset, 0 0 3px #2e9cff;\n  outline: none;\n  color: #00adff;\n}\n\ninput:-webkit-autofill {\n  -webkit-box-shadow:0 0 0 50px white inset;\n  -webkit-text-fill-color: #343434;\n}\n\ninput:-webkit-autofill:focus {\n  -webkit-box-shadow: 0 0 0 50px white inset, 0 0 3px #2e9cff;\n  -webkit-text-fill-color: #00adff;\n}\n\n.login_button {\n  border: 0;\n  background-color: #0066ff;\n  color: white;\n  cursor: pointer;\n  font-size: 115%;\n  font-weight: normal;\n  padding: 0.7em 1.2em;\n  text-decoration: none;\n  /* Remove iOS corners and glare on inputs */\n  -webkit-appearance: none;\n  -webkit-border-radius: 0;\n}\n\n.login_button:hover,\n.login_button:focus {\n  box-shadow: 0 -5px 0 rgba(0, 0, 0, 0.3) inset;\n  outline: none;\n}\n\n/* Other ids */\n.loginOptions {\n  border-top: 1px solid #ccc;\n  color: #d6d6d6;\n  font-size: .85em;\n}\n.loginOptions p {\n  margin: 1em .5em .7em;\n  font-size: .95em;\n}\n.idItem {\n  display: inline;\n}\n.idItem a, .idItem a:visited {\n  background: url(/nuxeo/icons/default.png) no-repeat 5px center #eee;\n  border: 1px solid #ddd;\n  border-radius: 3px;\n  color: #666;\n  display: inline-block;\n  font-weight: bold;\n  margin: .3em 0;\n  padding: .1em .2em .1em 2em;\n  text-decoration: none;\n}\n.idItem a:hover {\n  background-color: #fff;\n  color: #333;\n}\n.maintenanceModeMessage {\n  color: #f40000;\n  font-size: 12px;\n}\n.warnMessage,.infoMessage {\n  margin: 0 0 10px;\n}\n.infoMessage {\n  color: #b31500;\n}\n.feedbackMessage {\n  background-color: rgba(255,255,255,0.8);\n  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);\n  border-radius: 2px;\n  color: #00adff;\n  font-size: 95%;\n  margin-bottom: .4em;\n  padding: .5em;\n  text-align: center;\n}\n.errorMessage {\n  color: #f40000;\n}\n.news-container {\n  border: none;\n  height: 650px;\n  width: 95%;\n  overflow: auto;\n  background-color: rgba(255,255,255,0);\n}\n\n\n/* =Mobile Banner */\n#mobileBanner {\n  /* set to flex to display the mobile banner */\n  display: none;\n  justify-content: flex-end;\n  position: fixed;\n  z-index: 500;\n  bottom: 0;\n  left:0;\n  right: 0;\n  height: 3em;\n  background-color: rgba(255, 255, 255, .8);\n  padding: .6em;\n}\n\na.mobileAppLink,\na.mobileAppLink:hover {\n  display: inline-block;\n  background-color: #00adff;\n  border-radius: 3em;\n  padding: .2em 1.5em .5em;\n  color: #fff;\n  line-height: 1.4em;\n  text-decoration: none;\n}\n\n\n/* Mobile devices */\n@media all and (max-width: 850px) {\n  body {\n    height: auto;\n    background-position: center center;\n  }\n  section {\n    flex-direction: column;\n    display: block;\n  }\n  footer, video, .welcome {\n    display: none;\n  }\n}\n\n@media all and (max-height: 880px) and (max-width: 850px) {\n  .news {\n    display: none;\n  }\n\n  form {\n    margin-top: 2em;\n  }\n}\n\n@media all and (max-width: 500px) {\n  form {\n    width: auto;\n    margin-top: 0;\n  }\n\n  .header {\n    background-color: #fff;\n    margin: -1em -1em 2em;\n    width: calc(100% + 2em);\n    padding: .8em 1em .3em;\n  }\n\n  .news {\n    display: none;\n  }\n}\n\n@media all and (min-width: 500px) {\n  form {\n    background-color: #fff;\n    padding: 2.5em;\n    width: 20em;\n  }\n\n}\n-->\n</style>\n\n</head>\n\n<body>\n\n<!-- Locale: en -->\n<div class="container">\n  <section>\n    <div class="main">\n      \n\n      <form method="post" action="startup" autocomplete="on">\n        <div class="header">\n          <img width="113" height="20" alt="Nuxeo" src="/nuxeo/img/login_logo.png" />\n        </div>\n        <!-- To prevent caching -->\n        \n        <!-- ;jsessionid=7F74C063D7F795696362041305D95672.nuxeo -->\n        \n        \n        \n        \n         <div class="feedbackMessage errorMessage">\n           Invalid username or password\n         </div>\n        \n        \n        \n        <input class="login_input" type="text" name="user_name" id="username"\n          placeholder="Username"/>\n        <input class="login_input" type="password" name="user_password" id="password"\n          placeholder="Password">\n        \n        <input type="hidden" name="language" id="language" value="en" />\n        \n        <input type="hidden" name="requestedUrl" id="requestedUrl" value="" />\n        <input type="hidden" name="forceAnonymousLogin" id="true" />\n        <input type="hidden" name="form_submitted_marker" id="form_submitted_marker" />\n        <input class="login_button" type="submit" name="Submit"\n          value="Log In" />\n        \n      </form>\n    </div>\n    \n    <div class="news">\n      <iframe id="news" class="news-container" style="visibility:hidden"\n        onload="javascript:this.style.visibility=\'visible\';"\n        data-src="//www.nuxeo.com/login-page-embedded/?org.nuxeo.ecm.product.version=FT 11.1-SNAPSHOT&org.nuxeo.distribution.version=11.1-SNAPSHOT&org.nuxeo.distribution.package=docker"></iframe>\n    </div>\n    \n  </section>\n  <footer>\n    Copyright \xa9 2001-2019 Nuxeo and respective authors.\n    Nuxeo Platform\n    &nbsp;\n    FT 11.1-SNAPSHOT\n  </footer>\n</div>\n\n<div id="mobileBanner">\n  <a id="androidAppLink" class="mobileAppLink" href="android-app://com.nuxeomobile/nuxeo/http/192.168.0.13:8080/nuxeo/">\n    Open in app\n  </a>\n  <a id="iOSAppLink" class="mobileAppLink"\n    data-action="nuxeo://http/192.168.0.13:8080/nuxeo/"\n    onclick="nuxeo.mobile.openIOSAppOrAppStore(this.getAttribute(\'data-action\'), \'https://itunes.apple.com/app/id1103802613\');">\n    Open in app\n  </a>\n</div>\n\n<script type="text/javascript">\n  // Build mobile app links if the mobile banner is displayed\n  \n</script>\n\n\n<script type="text/javascript">\n  document.getElementById(\'username\').focus();\n\n  \n  // Don\'t load iframe on mobile devices\n  if (window.matchMedia("(min-device-width: 800px)").matches) {\n    newsIframe = document.getElementById(\'news\');\n    if (newsIframe) {\n      newsIframe.src = newsIframe.getAttribute(\'data-src\');\n    }\n  }\n  \n</script>\n\n<!--   Current User = null -->\n\n</body>\n</html>\n'
      

      Logs before the crash:

      2019-04-17 17:22:29 3052 6928 DEBUG    nuxeo.client       Calling 'http://192.168.0.13:8080/nuxeo/login.jsp' with headers={'Content-Type': 'application/json', 'X-NXDocumentProperties': '*', 'X-NXRepository': 'default', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '4.1.3', 'User-Agent': 'Nuxeo Drive/4.1.3', 'Accept': 'application/json, */*', 'X-User-Id': 'Administrator', 'X-Device-Id': '8938bca8611e11e982be080027a1b76a', 'Cache-Control': 'no-cache'}, params=None and cookies=<RequestsCookieJar[]>
      2019-04-17 17:22:29 3052 6928 DEBUG    urllib3.connectionpool Starting new HTTP connection (1): 192.168.0.13:8080
      2019-04-17 17:22:29 3052 6928 DEBUG    urllib3.connectionpool http://192.168.0.13:8080 "GET /nuxeo/login.jsp HTTP/1.1" 200 None
      2019-04-17 17:22:29 3052 6928 DEBUG    nuxeo.client       Response from 'http://192.168.0.13:8080/nuxeo/login.jsp': '<!DOCTYPE html>...</html>\n' with cookies <RequestsCookieJar[Cookie(version=0, name='JSESSIONID', value='7F74C063D7F795696362041305D95672.nuxeo', port=None, port_specified=False, domain='192.168.0.13', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=False, expires=None, discard=True, comment=None, comment_url=None, rest={'HttpOnly': None}, rfc2109=False)]>
      2019-04-17 17:22:29 3052 6928 DEBUG    nuxeo.client       Calling 'http://192.168.0.13:8080/nuxeo/json/cmis' with headers={'Content-Type': 'application/json', 'X-NXDocumentProperties': '*', 'X-NXRepository': 'default', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '4.1.3', 'User-Agent': 'Nuxeo Drive/4.1.3', 'Accept': 'application/json, */*', 'X-User-Id': 'Administrator', 'X-Device-Id': '8938bca8611e11e982be080027a1b76a', 'Cache-Control': 'no-cache'}, params=None and cookies=<RequestsCookieJar[Cookie(version=0, name='JSESSIONID', value='7F74C063D7F795696362041305D95672.nuxeo', port=None, port_specified=False, domain='192.168.0.13', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=False, expires=None, discard=True, comment=None, comment_url=None, rest={'HttpOnly': None}, rfc2109=False)]>
      2019-04-17 17:22:29 3052 6928 DEBUG    urllib3.connectionpool http://192.168.0.13:8080 "GET /nuxeo/json/cmis HTTP/1.1" 401 None
      2019-04-17 17:22:29 3052 6928 DEBUG    nuxeo.client       Calling 'http://192.168.0.13:8080/nuxeo/authentication/token' with headers={'Content-Type': 'application/json', 'X-NXDocumentProperties': '*', 'X-NXRepository': 'default', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '4.1.3', 'User-Agent': 'Nuxeo Drive/4.1.3', 'Accept': 'application/json, */*', 'X-User-Id': 'Administrator', 'X-Device-Id': '8938bca8611e11e982be080027a1b76a', 'Cache-Control': 'no-cache'}, params={'deviceId': '8938bca8611e11e982be080027a1b76a', 'applicationName': 'Nuxeo Drive', 'permission': 'ReadWrite', 'revoke': 'false', 'deviceDescription': 'Windows'} and cookies=<RequestsCookieJar[Cookie(version=0, name='JSESSIONID', value='7F74C063D7F795696362041305D95672.nuxeo', port=None, port_specified=False, domain='192.168.0.13', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=False, expires=None, discard=True, comment=None, comment_url=None, rest={'HttpOnly': None}, rfc2109=False)]>
      2019-04-17 17:22:29 3052 6928 DEBUG    urllib3.connectionpool Starting new HTTP connection (2): 192.168.0.13:8080
      2019-04-17 17:22:29 3052 6928 DEBUG    urllib3.connectionpool http://192.168.0.13:8080 "GET /nuxeo/authentication/token?deviceId=8938bca8611e11e982be080027a1b76a&applicationName=Nuxeo+Drive&permission=ReadWrite&revoke=false&deviceDescription=Windows HTTP/1.1" 302 0
      2019-04-17 17:22:29 3052 6928 DEBUG    urllib3.connectionpool http://192.168.0.13:8080 "GET /nuxeo/login.jsp?deviceDescription=Windows&loginFailed=true&revoke=false&permission=ReadWrite&deviceId=8938bca8611e11e982be080027a1b76a&applicationName=Nuxeo+Drive HTTP/1.1" 200 None
      2019-04-17 17:22:29 3052 6928 DEBUG    nuxeo.client       Response from 'http://192.168.0.13:8080/nuxeo/authentication/token': '<!DOCTYPE html>...</html>\n' with cookies <RequestsCookieJar[Cookie(version=0, name='JSESSIONID', value='7F74C063D7F795696362041305D95672.nuxeo', port=None, port_specified=False, domain='192.168.0.13', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=False, expires=None, discard=True, comment=None, comment_url=None, rest={'HttpOnly': None}, rfc2109=False)]>
      2019-04-17 17:22:29 3052 6928 DEBUG    nxdrive.client.local_client Getting xattr 'ndrive' from WindowsPath('//?/C:/Users/Windows10/Documents/Nuxeo Drive 18'): ''
      2019-04-17 17:22:29 3052 6928 DEBUG    nxdrive.engine.dao.sqlite Will not push pair: locally_created, pair=None
      2019-04-17 17:22:29 3052 6928 DEBUG    nuxeo.client       Calling 'http://192.168.0.13:8080/nuxeo/site/automation/NuxeoDrive.GetTopLevelFolder' with headers={'Content-Type': 'application/json', 'X-NXproperties': '*', 'X-NXDocumentProperties': '*', 'X-NXRepository': 'default', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '4.1.3', 'User-Agent': 'Nuxeo Drive/4.1.3', 'Accept': 'application/json, */*', 'X-User-Id': 'Administrator', 'X-Device-Id': '8938bca8611e11e982be080027a1b76a', 'Cache-Control': 'no-cache'}, params='{"params": {}}' and cookies=<RequestsCookieJar[Cookie(version=0, name='JSESSIONID', value='7F74C063D7F795696362041305D95672.nuxeo', port=None, port_specified=False, domain='192.168.0.13', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=False, expires=None, discard=True, comment=None, comment_url=None, rest={'HttpOnly': None}, rfc2109=False)]>
      2019-04-17 17:22:29 3052 6928 ERROR    nxdrive.manager    Engine error
      Traceback (most recent call last):
        File "Y:\nxdrive\manager.py", line 655, in bind_engine
          self, engine_def, binder=binder
        File "Y:\nxdrive\engine\engine.py", line 128, in __init__
          self.bind(binder)
        File "Y:\nxdrive\engine\engine.py", line 847, in bind
          self._dao.update_config("ca_bundle", self._ca_bundle)
        File "Y:\nxdrive\engine\engine.py", line 867, in _check_root
          root = self._dao.get_state_from_local(ROOT)
        File "Y:\nxdrive\engine\engine.py", line 922, in _add_top_level_state
          self._dao.insert_local_state(local_info, None)
        File "Y:\nxdrive\client\remote_client.py", line 290, in get_filesystem_root_info
          toplevel_folder = self.execute(command="NuxeoDrive.GetTopLevelFolder")
        File "Y:\nxdrive\client\remote_client.py", line 121, in execute
          return self.operations.execute(**kwargs)
        File "C:\Users\Windows10\Desktop\deploy-dir\3.6.8\lib\site-packages\nuxeo\operations.py", line 200, in execute
          default=kwargs.get('default', object))
        File "C:\Users\Windows10\Desktop\deploy-dir\3.6.8\lib\site-packages\nuxeo\client.py", line 197, in request
          raise self._handle_error(exc)
        File "C:\Users\Windows10\Desktop\deploy-dir\3.6.8\lib\site-packages\nuxeo\client.py", line 193, in request
          auth=self.auth, data=data, **kwargs)
        File "C:\Users\Windows10\Desktop\deploy-dir\3.6.8\lib\site-packages\requests\sessions.py", line 533, in request
          resp = self.send(prep, **send_kwargs)
        File "C:\Users\Windows10\Desktop\deploy-dir\3.6.8\lib\site-packages\requests\sessions.py", line 646, in send
          r = adapter.send(request, **kwargs)
        File "C:\Users\Windows10\Desktop\deploy-dir\3.6.8\lib\site-packages\requests\adapters.py", line 449, in send
          timeout=timeout
        File "C:\Users\Windows10\Desktop\deploy-dir\3.6.8\lib\site-packages\urllib3\connectionpool.py", line 600, in urlopen
          chunked=chunked)
        File "C:\Users\Windows10\Desktop\deploy-dir\3.6.8\lib\site-packages\urllib3\connectionpool.py", line 354, in _make_request
          conn.request(method, url, **httplib_request_kw)
        File "C:\Python36-32\lib\http\client.py", line 1239, in request
          self._send_request(method, url, body, headers, encode_chunked)
        File "C:\Python36-32\lib\http\client.py", line 1280, in _send_request
          self.putheader(hdr, value)
        File "C:\Python36-32\lib\http\client.py", line 1217, in putheader
          raise ValueError('Invalid header value %r' % (values[i],))
      ValueError: Invalid header value b'<!DOCTYPE html>\n...'
      2019-04-17 17:22:29 3052 6928 DEBUG    nuxeo.client       Calling 'http://192.168.0.13:8080/nuxeo/json/cmis' with headers={'Content-Type': 'application/json', 'X-NXDocumentProperties': '*', 'X-NXRepository': 'default', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '4.1.3', 'User-Agent': 'Nuxeo Drive/4.1.3', 'Accept': 'application/json, */*', 'X-User-Id': 'Administrator', 'X-Device-Id': '8938bca8611e11e982be080027a1b76a', 'Cache-Control': 'no-cache'}, params=None and cookies=<RequestsCookieJar[Cookie(version=0, name='JSESSIONID', value='7F74C063D7F795696362041305D95672.nuxeo', port=None, port_specified=False, domain='192.168.0.13', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=False, expires=None, discard=True, comment=None, comment_url=None, rest={'HttpOnly': None}, rfc2109=False)]>
      2019-04-17 17:22:29 3052 6928 DEBUG    urllib3.connectionpool Starting new HTTP connection (3): 192.168.0.13:8080
      2019-04-17 17:22:29 3052 6928 DEBUG    nuxeo.client       Calling 'http://192.168.0.13:8080/nuxeo/json/cmis' with headers={'Content-Type': 'application/json', 'X-NXDocumentProperties': '*', 'X-NXRepository': 'default', 'X-Application-Name': 'Nuxeo Drive', 'X-Client-Version': '4.1.3', 'User-Agent': 'Nuxeo Drive/4.1.3', 'Accept': 'application/json, */*', 'X-User-Id': 'Administrator', 'X-Device-Id': '8938bca8611e11e982be080027a1b76a', 'Cache-Control': 'no-cache'}, params=None and cookies=<RequestsCookieJar[Cookie(version=0, name='JSESSIONID', value='7F74C063D7F795696362041305D95672.nuxeo', port=None, port_specified=False, domain='192.168.0.13', domain_specified=False, domain_initial_dot=False, path='/nuxeo', path_specified=True, secure=False, expires=None, discard=True, comment=None, comment_url=None, rest={'HttpOnly': None}, rfc2109=False)]>
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h