• Sam Bowley
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies
Hello all,

We're experiencing an OAuth connection reset. It happened last week in the evening, but was self-resolved by the next morning. Today it is happening again for the whole morning. Any idea what could be causing it or how to resolve it?

Here's the full error:
java.net.SocketException: Connection reset
       at org.apache.oltu.oauth2.client.URLConnectionClient.execute(URLConnectionClient.java:108)
       at org.apache.oltu.oauth2.client.OAuthClient.accessToken(OAuthClient.java:65)
       at org.apache.oltu.oauth2.client.OAuthClient.accessToken(OAuthClient.java:55)
       at org.talend.components.common.oauth.OauthClient.getToken(OauthClient.java:118)
       at org.talend.components.salesforce.connection.oauth.SalesforceOAuthConnection.tryTokenRefresh(SalesforceOAuthConnection.java:93)
       at org.talend.components.salesforce.connection.oauth.SalesforceOAuthConnection.login(SalesforceOAuthConnection.java:61)
       at org.talend.components.salesforce.runtime.SalesforceSourceOrSink.doConnection(SalesforceSourceOrSink.java:172)
       at org.talend.components.salesforce.runtime.SalesforceSourceOrSink.connect(SalesforceSourceOrSink.java:300)
       at org.talend.components.salesforce.runtime.SalesforceSourceOrSink.validate(SalesforceSourceOrSink.java:100)
       at sfa_extracts.sfa_extracts_salesforcestaginglossreviewform_5_0.SFA_Extracts_SalesForceStagingLossReviewForm.tSalesforceConnection_1Process(SFA_Extracts_SalesForceStagingLossReviewForm.java:19747)
       at sfa_extracts.sfa_extracts_salesforcestaginglossreviewform_5_0.SFA_Extracts_SalesForceStagingLossReviewForm.tJava_1Process(SFA_Extracts_SalesForceStagingLossReviewForm.java:19545)
       at sfa_extracts.sfa_extracts_salesforcestaginglossreviewform_5_0.SFA_Extracts_SalesForceStagingLossReviewForm.tPrejob_1Process(SFA_Extracts_SalesForceStagingLossReviewForm.java:24490)
       at sfa_extracts.sfa_extracts_salesforcestaginglossreviewform_5_0.SFA_Extracts_SalesForceStagingLossReviewForm.runJobInTOS(SFA_Extracts_SalesForceStagingLossReviewForm.java:30603)
       at sfa_extracts.sfa_extracts_salesforcestaginglossreviewform_5_0.SFA_Extracts_SalesForceStagingLossReviewForm.main(SFA_Extracts_SalesForceStagingLossReviewForm.java:29465)
Caused by: java.net.SocketException: Connection reset
       at java.net.SocketInputStream.read(SocketInputStream.java:210)
       at java.net.SocketInputStream.read(SocketInputStream.java:141)
       at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
       at sun.security.ssl.InputRecord.read(InputRecord.java:503)
       at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
       at sun.security.ssl.SSLSocketImpl.waitForClose(SSLSocketImpl.java:1769)
       at sun.security.ssl.HandshakeOutStream.flush(HandshakeOutStream.java:124)
       at sun.security.ssl.Handshaker.kickstart(Handshaker.java:1067)
       at sun.security.ssl.SSLSocketImpl.kickstartHandshake(SSLSocketImpl.java:1487)
       at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1351)
       at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
       at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
       at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
       at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
       at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
       at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
       at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
       at org.apache.oltu.oauth2.client.URLConnectionClient.execute(URLConnectionClient.java:85)
       ... 13 more
 
Hi All,

I'm a system admin in an enterprise edition org. This is an inherited org, and I need to update an approval process. However, there is a flow and a process referencing an approvel process I can't edit. So two questions. Why can't I get them (even with cloning)? Alternative workaround beyond just shutting them down?

Many thanks to the collective hive-mind.

User-added image

User-added image
Hey guys,

Please help me.  This is the 3rd Org I've set up because I keep having the same error every challenge.  I follow the same steps but it works in one org and not in another, so I don't know what the issue is.  But, this one I need help with...I've tried too many times!!

The Challenge on Create Initial Submission Actions requests
If you’ve navigated away from where you ended the previous step, enter Approval Processes in the Quick Find box, then click Discount Approval Process from the Inactive Approval Processes section.
From the Add New picklist in the Initial Submission Actions section, select Field Update and complete the field update details with these values:
FieldValueNameApproval Status Pending
Unique Name[this field auto-populates]
Field to UpdateApproval Status
Picklist Options: A specific valuePending
Click Save.
Next, create approval steps.
Click New Approval Step and complete the details of the first approval step:
FieldValueNameManager Approval
Unique Name[this field auto-populates]
DescriptionDiscount approver must approve discounts over 15%
Step Number1
Click Next.
Select the Enter this step if the following radio button, and choose criteria are met, else approve record then fill in these details:
FieldOperatorValueOpportunity: Discount Percentagegreater than15
Click Next, then complete the assigned approver information:
Select the Automatically assign using the user field selected earlier (Manager) radio button.
Deselect The approver’s delegate may also approve this request checkbox.
Click Save.
On the What Would You Like To Do Now? page, select No, I'll do this later, take me to the approval process detail page to review what I've just created.
Click Go!
In the Approval Steps section, click New Approval Step and complete the details of the second approval step:
FieldValueNameVP Approval
Unique Name[this field auto-populates]
DescriptionVP North American Sales must approve discounts over 40%
Step Number2
Click Next.
Select the Enter this step if the following radio button, and choose criteria are met, then fill in these details:
FieldOperatorValueOpportunity: Discount Percentagegreater than40
Click Next, then complete the assigned approver information:
FieldValueSelect ApproverAutomatically assign to approver(s)
UserAllison Wheeler
Approve or reject based on the FIRST responseselect
Approver’s delegate may also approve this requestdeselect
Reject BehaviorPerform all rejection actions for this step AND all final rejection actions (Final Rejection)
Click Save.
On the What Would You Like To Do Now? page, select No, I'll do this later, take me to the approval process detail page to review what I've just created.
Click Go!

So I followed those instructions and created this:
Org

There's too many screenshots to attach, so let me break it down:
1: Approval Status ending - specific value = Pending
2: Manager Approval:
- Set to "Criteria are met, else approve if Discount Percentage greater than 15
- Automatically assign to Manager
3: VP Approval:
- Set to "Enter this step if the following criteria are met": Discount Percentage greater than 40
- Automatically assign you Allison Wheeler
- Perform all rejection actions

So, please help me identify why it's not working, despite me following the instructions to the letter.  I'm baffled.

Cheers, Nat