devops-center-feedback icon indicating copy to clipboard operation
devops-center-feedback copied to clipboard

Commit Changes Error -- Unable to perform operation

Open Jamie-Ivey opened this issue 1 year ago • 9 comments

Describe the bug We are just in the process of getting set up with DevOps Center. We have managed to get as far as setting up a project with pipeline and we have a work item created. The work item has created the branch successfully in GitHub, so it appears as if things are connected correctly. If we make a change in the development org, the change is recognized in DevOps Center. So far, so good. The issue arises when we attempt to commit that change. The page shows that the commit was initiated and then it errors out and goes no further. It doesn't mention connecting with GitHub, so we're not sure whether the issue is with contacting GitHub or if it's on the Salesforce side before reaching out to GitHub. But, as we mentioned, the work item did successfully create the branch, so it appears as if Salesforce is speaking to GitHub properly. If we scour the debug logs the only thing that stands out is that at some point Salesforce tries to hit a named credential endpoint that results in a 404 -- not found. The named credential is the DevOpsCenter Service. We're not sure if that has something to do with it or not.

Expected behavior We are expecting that our changes be committed successfully so that we can then continue with the deployment process.

Screenshots image

Additional context We've gone through many setup guides and we think everything is set up properly in terms of the connected app, permissions, pipeline orgs etc.

Jamie-Ivey avatar May 10 '23 13:05 Jamie-Ivey

We are seeing the same thing. Is there any update?

tfirman-ehg avatar Jul 07 '23 07:07 tfirman-ehg

How did you fixed this?

aldoforce avatar Dec 06 '23 22:12 aldoforce

I'm experiencing something similar to this right now. Getting a 404 error when attempting to commit. Check GH and I can see the branch was committed, but it shows as failed in DevOps. How did you resolve this?

dvario-vi avatar Dec 06 '23 23:12 dvario-vi

We are also getting this error today only 404 Error. If others started getting this error today it means something wrong with Salesforce side.

prabhjeetbhatia avatar Dec 07 '23 00:12 prabhjeetbhatia

Same. Three separate orgs, all failing with "Response Code 404 (Not Found)" error

qkershner avatar Dec 07 '23 00:12 qkershner

@dvario-vi @aldoforce you started getting it today?

prabhjeetbhatia avatar Dec 07 '23 00:12 prabhjeetbhatia

@qkershner We started getting today as well. So must be salesforce is having some problem connecting with GitHub I feel.

prabhjeetbhatia avatar Dec 07 '23 00:12 prabhjeetbhatia

@prabhjeetbhatia well, yes this was a Salesforce <> GH issue. It fixed without any change from dev side. Right now (5:42am EST) everything is working as expected.

aldoforce avatar Dec 07 '23 11:12 aldoforce

We are experiencing the exact same problem. We have searched through the logs, and we encounter the following error:

12:36:29:594 NAMED_CREDENTIAL_RESPONSE NamedCallout[Named Credential Id=0XAIV0000000HSI, Named Credential Name=DevOps_Center_Service, Status Code=404, Content-Type=application/json, Response Size bytes=149, Overall Callout Time ms=895, Connect Time ms=446

It is trying to reach the following endpoint: 12:36:29:594 NAMED_CREDENTIAL_REQUEST NamedCallout[Named Credential Id=0XAIV0000000HSI, Named Credential Name=DevOps_Center_Service, Endpoint=https://devops-center.prod.repo-ops.sfdc.sh/doce-servicio, Method=POST, External Credential Type=EXTERNAL, HTTP Header Authorization=Method: Not set - Credential: Not set, Content-Type=application/json; charset=utf-8, Request Size bytes=827, Retry on 401=True]

I tried reaching this endpoint from outside Salesforce, with a rest client, and got the same error: NOT FOUND. It seems that this endpoint does not exist.

joostkarsten avatar May 22 '24 10:05 joostkarsten