Welcome to the Smartsheet Forum Archives
The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.
Backup fails with error "SSLPeerUnverifiedException"
I'm running backups daily on the smartsheet using the java backup utility. For the last month or something the backups fails.
This is the error I Using properties file: C:\smartsheet\smartsheet-backup.properties ***ERROR*** SSLPeerUnverifiedException - peer not authenticated javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at sun.security.ssl.SSLSessionImpl.getPeerCertificates(Unknown Source) at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:126) at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:437) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180) at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294) at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:644) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784) at com.smartsheet.utils.HttpUtils.getResponse(HttpUtils.java:166) at com.smartsheet.utils.HttpUtils.getJsonPayload(HttpUtils.java:63) at com.smartsheet.restapi.service.RestfulSmartsheetService.getJsonPayload(RestfulSmartsheetService.java:85) at com.smartsheet.restapi.service.RestfulSmartsheetService.getUsers(RestfulSmartsheetService.java:51) at com.smartsheet.restapi.service.RetryingSmartsheetService.getUsers(RetryingSmartsheetService.java:56) at com.smartsheet.restapi.service.ErrorContextualizingSmartsheetService.getUsers(ErrorContextualizingSmartsheetService.java:50) at com.smartsheet.tools.SmartsheetBackupService.backupOrgTo(SmartsheetBackupService.java:94) at com.smartsheet.tools.SmartsheetBackupTool.main(SmartsheetBackupTool.java:107)
How can I solve this, or is this a bug on your side?
Comments
-
It looks like you may need to update your trusted store and key stores on the system running the backup utility.
This post from stackoverflow should be able to help guide you through that process: https://stackoverflow.com/a/15349971/413234
-
Ok. So I got the SSL issue solved now. But now it fails sometimes with the following error
https://api.smartsheet.com/2.0/sheets/18872792311684?include=attachments,discussions returned: 429 - Too Many Requests {
"errorCode" : 4003,
"message" : "Rate limit exceeded.",
"refId" : "1osk5kndv1njo"
}
I'm just trying to backup all the sheets so is it possible that your ratelimit settings are to strict?
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 494 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives