Package: onedrive
Version: 2.3.13-1
Severity: important

Hi,

onedrive seems to be unable to connect to servers anymore. 'journalctl  --since
today --user --unit onedrive' contains repetitions of:

[…]
an 24 07:54:10 debian systemd[932]: Started OneDrive Free Client.
Jan 24 07:54:11 debian onedrive[20607]: ERROR: OneDrive returned a 'HTTP 401
Unauthorized' - Cannot Initialize Sync Engine
Jan 24 07:54:11 debian onedrive[20607]: ERROR: Check your configuration as your
access token may be empty or invalid
Jan 24 07:54:11 debian systemd[932]: onedrive.service: Main process exited,
code=killed, status=11/SEGV
Jan 24 07:54:11 debian systemd[932]: onedrive.service: Failed with result
'signal'.
Jan 24 07:54:14 debian systemd[932]: onedrive.service: Scheduled restart job,
restart counter is at 1473.
Jan 24 07:54:14 debian systemd[932]: Stopped OneDrive Free Client.
Jan 24 07:54:14 debian systemd[932]: Started OneDrive Free Client.
Jan 24 07:54:15 debian onedrive[20616]: ERROR: OneDrive returned a 'HTTP 401
Unauthorized' - Cannot Initialize Sync Engine
Jan 24 07:54:15 debian onedrive[20616]: ERROR: Check your configuration as your
access token may be empty or invalid
Jan 24 07:54:15 debian systemd[932]: onedrive.service: Main process exited,
code=killed, status=11/SEGV
Jan 24 07:54:15 debian systemd[932]: onedrive.service: Failed with result
'signal'.
Jan 24 07:54:18 debian systemd[932]: onedrive.service: Scheduled restart job,
restart counter is at 1474.
Jan 24 07:54:18 debian systemd[932]: Stopped OneDrive Free Client.
Jan 24 07:54:18 debian systemd[932]: Started OneDrive Free Client.
[…]

Running 'onedrive --get-O365-drive-id 'bruno.klein...@elektrobit.com' --debug-
https --verbose' results in:

Using Config Dir: /home/brkl270007/.config/onedrive
Initializing the OneDrive API ...
Opening the item database ...
All operations will be performed in: /home/brkl270007/OneDrive
*   Trying 20.190.129.2:443...
* TCP_NODELAY set
* Connected to login.microsoftonline.com (20.190.129.2) port 443 (#0)
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject: CN=stamp2.login.microsoftonline.com
*  start date: Sep 24 21:35:29 2018 GMT
*  expire date: Sep 24 21:35:29 2020 GMT
*  subjectAltName: host "login.microsoftonline.com" matched cert's
"login.microsoftonline.com"
*  issuer: C=US; ST=Washington; L=Redmond; O=Microsoft Corporation;
OU=Microsoft IT; CN=Microsoft IT TLS CA 1
*  SSL certificate verify ok.
> POST /common/oauth2/v2.0/token HTTP/1.1
Host: login.microsoftonline.com
User-Agent: OneDrive Client for Linux v2.3.13-1
Accept: */*
Content-Length: 1049
Content-Type: application/x-www-form-urlencoded
Expect: 100-continue

* Mark bundle as not supporting multiuse
< HTTP/1.1 100 Continue
* We are completely uploaded and fine
* Mark bundle as not supporting multiuse
< HTTP/1.1 400 Bad Request
< Cache-Control: no-cache, no-store
< Pragma: no-cache
< Content-Type: application/json; charset=utf-8
< Expires: -1
< Strict-Transport-Security: max-age=31536000; includeSubDomains
< X-Content-Type-Options: nosniff
< x-ms-request-id: a0d61489-4ede-4b40-818d-3b09ec073b00
< x-ms-ests-server: 2.1.9926.12 - CHI ProdSlices
< P3P: CP="DSP CUR OTPi IND OTRi ONL FIN"
< Set-Cookie: fpc=AqalyRCs2dNBt4ssODYYZ-0jJKg8AQAAADiMvNUOAAAA; expires=Sun,
23-Feb-2020 06:56:57 GMT; path=/; secure; HttpOnly; SameSite=None
< Set-Cookie: x-ms-gateway-slice=prod; path=/; SameSite=None; secure; HttpOnly
< Set-Cookie: stsservicecookie=ests; path=/; SameSite=None; secure; HttpOnly
< Date: Fri, 24 Jan 2020 06:56:56 GMT
< Content-Length: 737
<
OneDrive HTTP Server Response: 400
* Connection #0 to host login.microsoftonline.com left intact
OneDrive returned a 'HTTP 400 - Bad Request' - gracefully handling error
*   Trying 20.190.137.112:443...
* TCP_NODELAY set
* Connected to graph.microsoft.com (20.190.137.112) port 443 (#1)
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject: CN=graph.microsoft.com
*  start date: Jan 27 19:09:45 2019 GMT
*  expire date: Jan 27 19:09:45 2021 GMT
*  subjectAltName: host "graph.microsoft.com" matched cert's
"graph.microsoft.com"
*  issuer: C=US; ST=Washington; L=Redmond; O=Microsoft Corporation;
OU=Microsoft IT; CN=Microsoft IT TLS CA 2
*  SSL certificate verify ok.
> GET /v1.0/me/drive HTTP/1.1
Host: graph.microsoft.com
User-Agent: OneDrive Client for Linux v2.3.13-1
Accept: */*

* Mark bundle as not supporting multiuse
< HTTP/1.1 401 Unauthorized
< Cache-Control: private
< Content-Type: application/json
< request-id: c0ca1c93-fea5-43de-8fad-29399cec71bc
< client-request-id: c0ca1c93-fea5-43de-8fad-29399cec71bc
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"West
Europe","Slice":"SliceC","Ring":"5","ScaleUnit":"001","RoleInstance":"AGSFE_IN_1"}}
< WWW-Authenticate: Bearer realm="",
authorization_uri="https://login.microsoftonline.com/common/oauth2/authorize";,
client_id="00000003-0000-0000-c000-000000000000"
< Strict-Transport-Security: max-age=31536000
< Date: Fri, 24 Jan 2020 06:56:56 GMT
< Content-Length: 234
<
OneDrive HTTP Server Response: 401
* Connection #1 to host graph.microsoft.com left intact

ERROR: OneDrive returned a 'HTTP 401 Unauthorized' - Cannot Initialize Sync
Engine
ERROR: Check your configuration as your access token may be empty or invalid

Segmentation fault


Kind regards,

Bruno



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-3-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages onedrive depends on:
ii  init-system-helpers      1.57
ii  libc6                    2.29-9
ii  libgcc1                  1:9.2.1-24
ii  libglib2.0-0             2.62.4-1+b1
ii  libnotify4               0.7.8-1
ii  libphobos2-ldc-shared88  1:1.18.0-2
ii  libsqlite3-0             3.31.0+really3.30.1+fossil191229-1

onedrive recommends no packages.

onedrive suggests no packages.

-- no debconf information

Reply via email to