NC: 26.0.5
Login using devices login created doesn’t work anymore.
It is only for this account on this server. Tried:
- other accounts on same server - all works fine, this excludes server,
- other server (same version) - same case all works, this exclude phone/nextcloud app version.
- with two different devices - same result - suggests something is completely wrong with this single account.
It seems to be something odd with this specific (my main) user account on the server.
How to investigate the issue?
Looking at oc_authtoken doesn’t give me any clues.
Thanks in advance!
{
"reqId": "W3Vda2rjpC5j98UTfrYt",
"level": 0,
"time": "2023-09-11T18:30:48+02:00",
"remoteAddr": "1.2.3.4",
"user": "--",
"app": "webdav",
"method": "HEAD",
"url": "/folder/remote.php/dav",
"message": "No public access to this resource., No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured",
"userAgent": "Mozilla/5.0 (Android) Nextcloud-android/3.25.0",
"version": "26.0.5.1",
"exception": {
"Exception": "Sabre\\DAV\\Exception\\NotAuthenticated",
"Message": "No public access to this resource., No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured",
"Code": 0,
"Trace": [
{
"file": "/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php",
"line": 89,
"function": "beforeMethod",
"class": "Sabre\\DAV\\Auth\\Plugin",
"type": "->",
"args": [
[
"Sabre\\HTTP\\Request"
],
[
"Sabre\\HTTP\\Response"
]
]
},
{
"file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 456,
"function": "emit",
"class": "Sabre\\DAV\\Server",
"type": "->",
"args": [
"beforeMethod:HEAD",
[
[
"Sabre\\HTTP\\Request"
],
[
"Sabre\\HTTP\\Response"
]
]
]
},
{
"file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 253,
"function": "invokeMethod",
"class": "Sabre\\DAV\\Server",
"type": "->",
"args": [
[
"Sabre\\HTTP\\Request"
],
[
"Sabre\\HTTP\\Response"
]
]
},
{
"file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 321,
"function": "start",
"class": "Sabre\\DAV\\Server",
"type": "->",
"args": []
},
{
"file": "/var/www/html/apps/dav/lib/Server.php",
"line": 366,
"function": "exec",
"class": "Sabre\\DAV\\Server",
"type": "->",
"args": []
},
{
"file": "/var/www/html/apps/dav/appinfo/v2/remote.php",
"line": 35,
"function": "exec",
"class": "OCA\\DAV\\Server",
"type": "->",
"args": []
},
{
"file": "/var/www/html/remote.php",
"line": 172,
"args": [
"/var/www/html/apps/dav/appinfo/v2/remote.php"
],
"function": "require_once"
}
],
"File": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php",
"Line": 152,
"message": "No public access to this resource., No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured",
"exception": {},
"CustomMessage": "No public access to this resource., No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured"
}
}
# popped up only after number of tries - removable and tested after clearing out below too
{
"reqId": "P3NYDg8E2dEMJ0ESMrzn",
"level": 1,
"time": "2023-09-11T18:30:48+02:00",
"remoteAddr": "1.2.3.4",
"user": "--",
"app": "no app in context",
"method": "GET",
"url": "/folder/ocs/v2.php/cloud/user?format=json",
"message": "IP address throttled because it reached the attempts limit in the last 30 minutes [action: login, delay: 1600, ip: 1.2.3.4]",
"userAgent": "Mozilla/5.0 (Android) Nextcloud-android/3.25.0",
"version": "26.0.5.1",
"data": []
}