function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Megha SachaniaMegha Sachania 

Could anyone help me out ?

I am using opencti method runApex which gives me error :

demoAdapter.js:116 Something went wrong! Errors: [{…}]0: code: "SERVER_ERROR"description: "System.CalloutException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 503 Service Unavailable"↵↵Class.DialShreeApi.statusContinuous: line 190, column 1"details: undefined__proto__: Objectlength: 1__proto__: Array(0)
callback @ demoAdapter.js:116
executeCallback @ opencti.js:595
processPostMessage @ opencti.js:416
 

how could i handle this?

AbhishekAbhishek (Salesforce Developers) 
https://salesforce.stackexchange.com/questions/270947/system-calloutexception-unable-to-tunnel-through-proxy-proxy-returns-http-1-1

Your query is answered here.

For further reference, you can check this too (https://developer.salesforce.com/forums/?id=9062I000000gAAyQAM).


Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.

Thanks.
Megha SachaniaMegha Sachania
Thanks Abhishek For Your reply but i am not understanding about this "Ideally, your integration endpoint should be something which is accessible over internet since Salesforce integration calls are over internet." where should i make a change in my code?
 
AbhishekAbhishek (Salesforce Developers) 
https://help.salesforce.com/articleView?id=000321501&type=1&mode=1

Check this.

You need to whitelist salesforce instance IP addresses.
refer to this link Salesforce IP Addresses and Domains to Allow