2017-08-21 12:29 AM
starting with ONTAP 9.1 P3 we get different errors when using ONTAPI requests.
On one installation we get "HTTP POST - Authorization failed" after the ONTAPI connection is about 4 hours old. Reastablishing the connection solves the problem.
Another installation reports "not authorized for that command" for arbitrary commands.
Note that in both cases, the credentials are correct.
Are there any known changes in post 9.1 which may cause such behaviour? What may be the soluttion?
2017-08-21 06:55 AM
http-enabled is set to false and we are also forcing an https connection via ONTAPI. Unfortunately, I cannot just try what happens if we enable http on these systems. Do you have an iday why this could help?
2017-08-23 11:03 PM
For the record:
The error "not authorized for that command" turned out to be an issue with the role which was assigned to the user. The role has been deleted and created again with the same(!) credentials. Now it is working. Note that the original role was working with 8.3.2 before.
The other error "HTTP POST - Authorization failed" still not solved. Note that this happens regularily after 4 hours. This happens on multiple systems, but it is disjunct to the previously mentioned error.