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
- Status area in Admin Client - What is interesting for support?
- Where is the hosts.xml located on my Operating System?
- Entry Page for Renderer and InDesignServer topics
- Service-client troubleshooting
- Incomplete Master Data Cache (Cached Tables)
- Server log file - lines with 'ignoring: '
- How to solve CDB Disk Issues
- 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...".
- Troubleshoot InDesign error # 29441
- Troubleshooting Stuck GLB Conversion (for the 3D Assets Enhancements Package)
- Unable to Update Row error in flatplan
- Sign Up in New Documentation Partner Portal
- Repair Indesign Layout via IDML Export
- Log out on Censhare web doesn't work
- Find out the Runtime of an XSLT Transformation
- Censhare Web Troubleshooting: Asset cannot be found on the web client
- censhare Quick Search - Result Is Not as Expected (Caused by Using Stop Words)
- Checklist for (performance) problems
- Why the clipping editor is empty?
- What does the error message 'Outdated asset data' mean?
- Unable to execute HTTP request: Timeout waiting for connection from pool.
- How does censhare forward a layout to the Renderer/InDesignServer?
- Known error using Windows censhare-Client / censhare Render-Client installer
- Which Part of an Error Message Is the Most Important (Cause / Caused By)?
- Render as a Service under Windows: Invalid RuntimeLib specified
- Solve Error kPDFExportCmdBoss in the context of PDF creation
- censhare Web Troubleshooting: Display issues in Internet Explorer
- Solve 'Unique Constraint (CORPUS.ASSET_PK)' Error Message during Checkout an Asset
- Another RMI service call is currently active Errors
- Troubleshoot errors in Google video analysis
- censhare Branding issues: Some tips on troubleshooting
- Web error: Too many redirects
- Performance Analysis
- Retries on Error in Serverlog
- Google AI fails with 500 internal error: The database is read only
- Windows: Why is the error "CLSIDFromProgID failed [800401f3]" displayed?
- Paragraph formats breaks when editing via Incopy Editor
- How to Troubleshoot Deadlock Detected Error within censhare
- Problem after trying to login in censhare 5 Web: HTTP Error 404
- Error when logging in to Admin mode
- Troubleshoot flatplan error 'assetElement not found'
- Known issue with Database Updates
- Troubleshooting 'com.censhare.server.rmi.RMI ServerException[ldap.sync-party-failed]: Access denied'; error
- What does the error message 'kImportPIFromFileCmdBoss' mean?
- Out Of Memory Process Killer (OOM killer)
- Language dependent name of PDF joboptions in censhare admin
- Why the censhare Client / censhare Render-Client installer always takes an older version path?
- Error Check-in asset failed with Content Editor in censhare Web
- Troubleshoot InDesign error # 111626
- What's the meaning of this Apple Event Error-messages -1712 / -609 / -1701 ?
- Customer receive unexpected results in the quick search - Fuzzy Logic
- NAGIOS Monitoring - Layout Service WARNING
- Performance test: HTTPS vs HTTP censhare web client?
- InDesignServer - Find and remove unresponsive InDesignServer instances
- Virtual File System (VFS): Avoid Finder Error -36
- 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?
- Error: database lock with waiter detected
- Users Cannot Delete Stored Searches
- What should I do when my censhareClient is reporting a Java Heap Space error?
- What Does the Error Mean Am.cantLockAsset - Asset Is Used by Someone Else. Please Retry Later?
- Renderer logs
- Broken UI and login screen in the widget in censhare Web
- REST API call is no longer working after a version upgrade
- Know how to Analyse Database Connections in censhare