Problem
After the censhare server was upgraded to a newer version the REST API calls redirect to a different page or show an 403 unauthorized error.
Solution
As of censhare 2021.2 censhare is released as censhare WP, including additional components that change the way web services are exposed. After an upgrade from earlier versions, or on newly installed versions, the REST API is not longer accessible.
If you attempt to use the server URL and port from before the upgrade it will now redirect to Keycloak for authentication. It is necessary to expose the http service for external access:
-
Adjust your jetty settings to expose the server URL and the corresponding http service port.
-
Make sure your user is set to use internal authentication instead of Keycloak.
The REST API works with standard authentication, going directly against the censhare application server. Any user set to use external authentication won't work.
\uD83D\uDCCE Related articles
- Performance Analysis
- Solve 'Unique Constraint (CORPUS.ASSET_PK)' Error Message during Checkout an Asset
- Renderer logs
- We get the NullPointerException 'MetadataAssetApplication.java:73' when trying to check out an asset. But it is still possible to use the function "edit metadata in same version...".
- Why the censhare Client / censhare Render-Client installer always takes an older version path?
- Why the clipping editor is empty?
- Which Part of an Error Message Is the Most Important (Cause / Caused By)?
- Google AI fails with 500 internal error: The database is read only
- Why are the preview as well as DPI size in pixels and color space information missing at a image asset, while the size in milimeter is shown?
- Troubleshoot InDesign error # 111626
- What Does the Error Mean Am.cantLockAsset - Asset Is Used by Someone Else. Please Retry Later?
- Performance test: HTTPS vs HTTP censhare web client?
- Virtual File System (VFS): Avoid Finder Error -36
- censhare Web Troubleshooting: Display issues in Internet Explorer
- What does the error message 'kImportPIFromFileCmdBoss' mean?
- Troubleshoot InDesign error # 29441
- Service-client troubleshooting
- Paragraph formats breaks when editing via Incopy Editor
- Error: database lock with waiter detected
- Status area in Admin Client - What is interesting for support?
- What's the meaning of this Apple Event Error-messages -1712 / -609 / -1701 ?
- Unable to execute HTTP request: Timeout waiting for connection from pool.
- Troubleshoot errors in Google video analysis
- NAGIOS Monitoring - Layout Service WARNING
- What should I do when my censhareClient is reporting a Java Heap Space error?
- Problem after trying to login in censhare 5 Web: HTTP Error 404
- Repair Indesign Layout via IDML Export
- Log out on censhare web doesn't work
- Customer receive unexpected results in the quick search - Fuzzy Logic
- Windows: Why is the error "CLSIDFromProgID failed [800401f3]" displayed?
- censhare Web Troubleshooting: Asset cannot be found on the web client
- Known error using Windows censhare-Client / censhare Render-Client installer
- censhare Branding issues: Some tips on troubleshooting
- Language dependent name of PDF joboptions in censhare admin
- Where is the hosts.xml located on my Operating System?
- Solve Error kPDFExportCmdBoss in the context of PDF creation
- Incomplete Master Data Cache (Cached Tables)
- Web error: Too many redirects
- Entry Page for Renderer and InDesignServer topics
- Checklist for (performance) problems
- Sign Up in New Documentation Partner Portal
- Broken UI and login screen in the widget in censhare Web
- Troubleshooting Stuck GLB Conversion (for the 3D Assets Enhancements Package)
- Render as a Service under Windows: Invalid RuntimeLib specified
- What does the error message 'Outdated asset data' mean?
- REST API call is no longer working after a version upgrade
- Troubleshooting 'com.censhare.server.rmi.RMI ServerException[ldap.sync-party-failed]: Access denied'; error
- Known issue with Database Updates
- Know how to Analyse Database Connections in censhare
- Error when logging in to Admin mode
- Retries on Error in Serverlog
- censhare Quick Search - Result Is Not as Expected (Caused by Using Stop Words)
- How to solve CDB Disk Issues
- Users Cannot Delete Stored Searches
- Troubleshoot flatplan error 'assetElement not found'
- Another RMI service call is currently active Errors
- Unable to Update Row error in flatplan
- Out Of Memory Process Killer (OOM killer)
- How to Troubleshoot Deadlock Detected Error within censhare
- Error Check-in asset failed with Content Editor in censhare Web
- How does censhare forward a layout to the Renderer/InDesignServer?
- Find out the Runtime of an XSLT Transformation
- InDesignServer - Find and remove unresponsive InDesignServer instances
- Server log file - lines with 'ignoring: '