I've managed to install AppDev pack numerous times now on various machines without (many) issues. Now that I am installing it into production, I am hitting a wall when trying to use cfgtest and getting the error below.
[37F4:0009-3498] 16.07.2021 10:12:42 PROTON: NotAuthorized: Attempt by Sample App/####/DE to create Act-as-User, introspection failure
[37F4:0009-3498] 16.07.2021 10:12:42 PROTON: Token::lookup: rc=65553 error from introspection
[37F4:0009-3498] 16.07.2021 10:12:42 PROTON: ReturnCode = 65553
[37F4:0009-3498] 16.07.2021 10:12:42 PROTON: Token::lookup: exit
[37F4:0009-3498] 16.07.2021 10:12:42 PROTON: ReturnCode = 65553 (was 0)
[37F4:0009-3498] 16.07.2021 10:12:42 PROTON: Session::init_via_behalfof_token2: rc=65553 token.lookup
[37F4:0009-3498] 16.07.2021 10:12:42 PROTON: ReturnCode = 65553
[37F4:0009-3498] 16.07.2021 10:12:42 PROTON: Session::init_via_behalfof_token2: exit
[37F4:0009-3498] 16.07.2021 10:12:42 PROTON: Session::init_via_behalfof_token: rc=65553 Session::init_via_behalfof_token()
[37F4:0009-3498] 16.07.2021 10:12:42 PROTON: ReturnCode = 65553
[37F4:0009-3498] 16.07.2021 10:12:42 PROTON: Session::init_via_behalfof_token: exit
[37F4:0009-3498] 16.07.2021 10:12:42 PROTON: ReturnCode = 65553 (was 0)
[37F4:0009-3498] 16.07.2021 10:12:42 PROTON: ReturnCode = 65553
[37F4:0009-3498] 16.07.2021 10:12:42 PROTON: ReturnCode = 65553 (was 0)
[37F4:0009-3498] 16.07.2021 10:12:42 PROTON: Ses:S16018A25 Db:sample.nsf Req:BLKNT#-1 FindBy:#-1 RetCode:65553 NoteCount:0 TimeMS:16
The solution I mentioned previously in the forum (renaming the proton addin) has not worked this time.
Running the sample app works (the part without the access token) and documents are created, but the part with the token (on behalf of the user) always shows the introspection error above.
domino-db results
These are two documents that were created by the Node.js application using the domino-db module. One document shows the application as the author. The other document shows the current user as the author.
{
“documents”: [
{
“@unid”: “7AE1B271C14EEB83C1258714002D8218”,
“@created”: {
“type”: “datetime”,
“data”: “2021-07-16T08:17:04.24Z”
},
“@modified”: {
“type”: “datetime”,
“data”: “2021-07-16T08:17:04.25Z”
},
“Field1”: “This document was created with the identity of the Application. See @created and $UpdatedBy fields.”,
“$UpdatedBy”: {
“type”: “text”,
“data”: [
“CN=Sample App/O=#####/C=DE”
],
“names”: true
}
}
],
“errors”: 0,
“documentRange”: {
“total”: 1,
“start”: 0,
“count”: 1
}
}
I have not installed the DSAPI parts, so I've edited the index.js not to run that bit.
Edit: I've checked the ACL on the sample.nsf, it's fine. I should also point out that proton uses a separate keyfile for its certs. We already have ssl setup in the original keystore.
Also, when I open the sample app in the browser, the redirecting to iam and back appears to be functioning ok.
I'm at a bit of a loss as to what to try next... anyone have any ideas?
Regards
Heidi