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 :
Small and medium business | Business Central, N...
Answered

Webclient timeout

(0) ShareShare
ReportReport
Posted on by 30

Hi,

Iam using BC v16, i try to set timeout for webclient to 2H, but actualy after 20-30 minutes i get this Message

"Business central we paused while you were away. please refresh to continue"

pastedimage1615821772637v1.png

Here is Administration setting - i try many combinations, i knohw that 2h keep alive interval is nonsence, when reconnect Period is MaxValue, but still i tried

pastedimage1615820724597v1.png

And  setting in NavSettings.json "SessionTimeout":  "02:00:00", (I changed it manualy and try with powershell, everytime same result)

pastedimage1615820827169v2.png

i already read 

https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/understanding-session-timeouts

but it didnt help me. 

Can you give me some advice, what next i need to set? In older version, it worked fine.... 

Thank you for your help

Karel Koncel

I have the same question (0)
  • JamesCairath Profile Picture
    30 on at

    Additional information - Its on azure enviroment - on premise. But i have sometimes same error with onpremise on our servers

    Both Windows server 2019...

    And in event viewer are this warnings - not sure if it have something in common...

    Prod.Client.WebCoreApp.ReliableMessagingHubMiddleware

    SignalR. Large count of messages in the queue (50).

    or this

    Unable to redirect to retrieve authorization code. TokenAuthority: 'login.windows.net/common', ClientID: ''

    Or this error

    Error accessing Website

    Unhandled error occurred on a browser or device client:

    {

     "clientInfo": {

       "platform": "Win32",

       "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36",

       "browserLanguage": "cs-CZ"

     },

     "message": "Promise rejection.",

     "errorType": {

       "callbackServerDuration": 10034.185000000405,

       "callbackClientDuration": 506.35999999940395

     },

     "pageUrl": "bc.vafo.cz:444/.../

     "detailedMessage": "unhandledrejection",

     "silent": true

    }

  • Suggested answer
    Marco Mels Profile Picture
    on at

    Hello,

    Can you verify if the session is really lost via SQL OnPrem?

    Thanks.

  • JamesCairath Profile Picture
    30 on at

    No session was lost on SQL, I check it on test database where was together 3 sessions... and after message about Pausing, no session was lost...

  • Suggested answer
    Marco Mels Profile Picture
    on at

    Hello,

    I think you ran into a by design scenario. You can easily reconnect.

    Thanks.

  • JamesCairath Profile Picture
    30 on at

    What do you mean by design scenario? That this message cannot be canceled?

    I dont want any message like this

    "Business central we paused while you were away. please refresh to continue"

    I want to set 2h client timeout and till the end of this time i want do be system ready all the time...No pausing and other  weird stuff...

  • Hans-Ole Profile Picture
    15 on at

    We are experiencing exact same problem. Our clients users quickly loose connection for printing and for read / write towards local storage.
    If log off and back on, everything is OK.
    The client is on-prem, very latest version 17,5. (17,3/4) same issue.
    What will be the best settings for not getting disconnected during work hours.

  • Suggested answer
    Marco Mels Profile Picture
    on at

    Hello,

    Unfortunately, if the page ((not the session) times out it will show this message. You can vote for this idea though to move it up on the priority list:

    experience.dynamics.com/.../

    Thanks.

  • JamesCairath Profile Picture
    30 on at

    So problem is at WebClient and till now it wasnt repaired?

    And this timeout cannot be changed?  

    Is there any Workaround how to solve this?

  • Verified answer
    Marco Mels Profile Picture
    on at

    Hello,

    That is correct, it is a feature suggestion you can vote for to have it addresses earlier by our product team.

    Thanks.

  • Peter R. Linnet Profile Picture
    9 on at

    Hi.

    So having the same issue  on several different OnPrem setups (on BC16.4, but I don't think that's relevant).

    I don't see how adding a trigger as per the suggestion would solve the nuisance of unintentional page timouts. This must be a platform thing, requiring a platform fix.

    In our experience, this is ANY page at ANY time out: less than a minute, 5 minutes, 20-30 min as OP stated or 1 hr or most often not at all (we set the "IdleClientTimeout" to MaxValue and "SessionTimeout" to 2 hrs).

    Something is causing this. And the introduction of a "PageTimeout"? Where? and why would it occur at random intevals on the same page? I made a point of tracking the Item List page on several tenants in the same multi-tenant environment and get random timeouts between 5 minutes (very rarely) and between 20 mins and 2 hrs for 2-3 sessions out of 10.

    Have anyone discovered any explanation for this behavour? Or even better: a workaround?

    Regards,

    Peter.

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,226

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,047 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,257 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans