Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

Need Help on connection refuse error when query top odatav4 endpoint

(0) ShareShare
ReportReport
Posted on by 76
Hi Experts,
 
We query the top endpoint of ODataV4 to get all the endpoints exposed under the tenant.
such as
GET https:/api.businesscentral.dynamics.com/v2.0/_tenant_id_/Production/ODataV4.
RESP
{
/@odata.context/: /https:/api.businesscentral.dynamics.com/v2.0/_tenant_id_/Production/ODataV4/$metadata/,
/value/: [
{
/name/: /Company/,
/kind/: /EntitySet/,
/url/: /Company/
},
{
/name/: /AccountantPortalActivityCues/,
/kind/: /EntitySet/,
/url/: /AccountantPortalActivityCues/
}
......
 
But recently, we started to get the connection refused error at around 4:00 am UTC,
then the same error stuck on this query in the next 1 or 2 hours during the retrying,
and then after about 2 hours the error went away, and everything back normal.
 
We were wondering if any other partners were encountering the same problem recently.
Or is there could be a BC server recycle or something scheduled at that timeframe can block inbound request?
Also, we are curious of that if the top endpoint of ODataV4 (https:/api.businesscentral.dynamics.com/v2.0/_tenant_id_/Production/ODataV4) is not designed for data query purpose.
 
Thanks!
  • Verified answer
    Craig Yu Profile Picture
    Craig Yu 76 on at
    Need Help on connection refuse error when query top odatav4 endpoint
    Located already. This problem was caused by issues in our firewall's outbound rules.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans