/
Peer not authenticated Error

Peer not authenticated Error

 

Problem:
Whenever Citesphere application calls the Zotero api’s to fetch the jobs or groups data. The below error is thrown by java.
I/O error on GET request for "https://api.zotero.org/groups/xxxxxxx/items/top": peer not authenticated; nested exception is javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

Problem:
Whenever Citesphere application calls the Zotero api’s to fetch the jobs or groups data. The below error is thrown by java.
I/O error on GET request for "https://api.zotero.org/groups/xxxxxxx/items/top": peer not authenticated; nested exception is javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

Solution:
If you are using Java 11.0.0.1 or Java 11.0.0.2, The issue might be related to this bug
To resolve, use java 11.0.0.4 or above.
In your eclipse, you can change the Installed JREs by following the below steps
Go to Windows → Preferences → Java → Installed JREs → Add (Add new JDK 11.0.0.4 or above) → Select the added JDK by checking it → Apply and Close.
Now your tomcat server should pick this newly added JDK while starting.
The application should be able to successfully call the api’s and fetch information.

Related content

Developer Documentation
Developer Documentation
More like this
User Accounts
More like this
Citesphere Documentation Home
Citesphere Documentation Home
More like this
Reference Management
Reference Management
More like this
API Documentation
API Documentation
More like this
OAuth2 Documentation
OAuth2 Documentation
More like this