- Edited
I just migrated to another VPS and moved from version 1.10 to v1.11. Everything works except the ticket API. Though I have the correct sending server's IP address set for my API key I get this in the logs...
API Error (401)
Valid API key required
The API key is correct and the sender's IP address matches the IP for the API key. I have exactly the same configuration as I did before the migration. I tried adding a new API key to no avail.
I originally though it had something to do with a failure of mod_rewrite because I see 'URL Not Supported' when navigating to the end point with a browser: https://github.com/osTicket/osTicket/issues/4148#issuecomment-479714286
However, The fact that my error message references an invalid API key coupled with the fact that OST is logging the IP address of the requester, this probably isn't the case.
EDIT:
If I disable API key validation, the tickets are created normally, so the issue is with key validation.