web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Exchange rate provider WEB-API fails in AX.

(0) ShareShare
ReportReport
Posted on by 3,155

This web address is copied from the infolog in AX when the importing of exchange rates fails:

https://web-services.oanda.com/rates/api/v2/rates/candle.xml?api_key=[MyAPIKey]&base=BAM&quote=USD&date_time=2021-01-28

However, when I put it in a web browser it works perfectly fine.  What in AX could be causing this to fail and not get a response?

EDIT:

I apologize for not posting the error:


The request was aborted: Could not create SSL/TLS secure channel.

I have the same question (0)
  • Madhuri Ailavarapu Profile Picture
    on at

    Hello ,

    What is the error thats thrown?

  • b_radlyjames Profile Picture
    3,155 on at

    I apologize for not posting the error:

    The request was aborted: Could not create SSL/TLS secure channel.

  • Madhuri Ailavarapu Profile Picture
    on at

    I would recommend you changing the registry keys to utilize TLS 1.2 .

    community.dynamics.com/.../the-request-was-aborted-could-not-create-ssl-tls-secure-channel

  • b_radlyjames Profile Picture
    3,155 on at

    Yes, we did that.  Now my error has changed:

    The remote server returned an error: (400) Bad Request.

  • Madhuri Ailavarapu Profile Picture
    on at

    Did you restart the VM after the change and it has to be done on all the VM where client and server are running . Make sure TLS 1.0 and TLS 1.1 are disabled .

    Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\ and make sure in folders TLS1.0 and TLS1.1, enabled setting is 0.

    To enable the installation to support the TLS 1.2 protocol, follow these steps:

    Start Registry Editor. To do this, right-click Start, type regedit in the Run box, and then select OK.

       Locate the following registry subkey:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319

       Create the following DWORD value under this key:SchUseStrongCrypto [Value = 1]

       Locate the following registry subkey:HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\.NETFramework\v4.0.30319

       Create the following DWORD value under this key:SchUseStrongCrypto

  • b_radlyjames Profile Picture
    3,155 on at

    Thanks for the help!  I noticed that the 'api_key' parameter was no longer in my URL so I added that back in and we are set. (Not sure why that has to be in there now as I didn't need it in the past).

    Sadly, this has now broken my connection to Azure Devops, but that is another problem for another day.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 456 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans