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
Anto HotelbedsAnto Hotelbeds 

Https call out error: bad_record_mac

Hi all,

 

I have a problem making a call out to another system receiving the following error during debug:

 

common.apex.runtime.impl.ExecutionException: Received fatal alert: bad_record_mac"|0x56b08894

 

In my code I create an http request using the following endpoint:

 

req.setEndpoint('https://mdm.tuitravel-ad.com/mdmclients/secure/');

 

When I send the same request to the same endpoint using a Firefox SOA Cliente the request is accepeted.

We have already try this code before to a http endpoint but now, working in production, we need to make the request to an https endpoint and is when the issue appeared.

 

Could somebody help please?

 

If any other information is needed please let me know.

 

Regards,

 

Antonio

AmitSahuAmitSahu
Is the link working for you ? I get error : type Status report

message

descriptionThe specified HTTP method is not allowed for the requested resource ().
Anto HotelbedsAnto Hotelbeds

The endpoint has a firewall so the ips need to be whitelisted. Anyways, it just would work sending an http request from sfdc.

 

Any solution proposed?

 

thanks,

 

Antonio

Alexey PanteleevAlexey Panteleev
Hi SFDC, we experience the same issue which is very annoying. I found this article pointing to an issue with Java:
https://wiki.almworks.com/display/kb/bad_record_mac+error+when+connecting+to+SSLv3-only+server

Is JVM used by APEX? Can this be fixed on your side?
Alexey PanteleevAlexey Panteleev
Other developers have experienced more of this error recently, see this:
http://salesforce.stackexchange.com/questions/33275/error-system-calloutexception-received-fatal-alert-bad-record-mac/34409#34409
Alexey PanteleevAlexey Panteleev
Looks like in our case it's not even APEX callout but VF Remoting. I see the following in our debug logs:

Status Received fatal alert: bad_record_mac Application Browser
Request Type Application Operation VFRemoting
Duration (ms) 195 Log Size (bytes)