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, ...
Answered

you will need to provide the URL to the session central service in order to manage session central service.

(0) ShareShare
ReportReport
Posted on by 492

Hello,

How to fix 'you will need to provide the URL to the session central service in order to manage session central service.' when you try to manage the sessions in GP Web Management Console? 

CSM.JPG

I tried to stop & restart two GP web client windows services but it did not help me at all, I checked event viewer, there are not too many errors but one as below:

Session Central Service was not able to successfully communicate with the Session Service at GPWEB:48651/SessionService. The exception details are:
System.TimeoutException: Client is unable to finish the security negotiation within the configured timeout (00:00:05). The current negotiation leg is 1 (00:00:05). ---> System.TimeoutException: The request channel timed out attempting to send after 00:00:05. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout. ---> System.TimeoutException: The HTTP request to 'gpweb:48651/SessionService' has exceeded the allotted timeout of 00:00:05. The time allotted to this operation may have been a portion of a longer timeout. ---> System.Net.WebException: The operation has timed out.

I extended time to 00:01:45, stopped services & restarted, getting a new error as below:

System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at gpweb:48650/SessionCentralService that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.1.21.14:48650
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()
--- End of inner exception stack trace ---

Any help appreciated.

Rob

Categories:
I have the same question (0)
  • Suggested answer
    Derek Albaugh Profile Picture
    on at

    Is it only accessing the Web Mgmt Console that doesn't work, getting this error in Event Viewer - Dynamics log?

    System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at gpweb:48650/SessionCentralService that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.1.21.14:48650

    Can users access and login to GP via Web Client without any issues on that side, or do they get similar errors when attempting to login?

    Browsing to the C:\Program Files\Microsoft Dynamics\GP Web Components\SessionService\ directory on the server, we'd also want to see what the SessionService.config file shows for the URL for the Runtime Service, Session Central Service and Session Service.

    Thanks

  • Robert Yao Profile Picture
    492 on at

    Hi Derek,

    Thanks for the reply. Web client users are fine to get in and submit their time sheets. This is only the problem in GP WebManagement Console, I checked the SessionService.config, see the content below:

    <?xml version="1.0" encoding="utf-8"?>

    <configuration>

     <configSections>

       <section name="SessionServiceTimeoutSettings" type="Microsoft.Dynamics.GP.Web.Services.Session.Environment.SessionServiceTimeoutSettings, Microsoft.Dynamics.GP.Web.Services.Session"/>

     </configSections>

     <SessionServiceTimeoutSettings monitorPollingFrequencyTimeSpan="00:03:00" processStartupTimeoutTimeSpan="20:00:00" unresponsiveTimeoutTimeSpan="20:00:00"/>

     <appSettings>

       <add key="RuntimeServiceBaseAddress" value="gpweb.xxxxx.edu:443"/>

       <add key="GenerateMetadataAtStartup" value="false"/>

       <add key="EnableClientAccessPolicyService" value="false"/>

       <add key="SessionDataBaseDirectory" value="%ProgramData%\Microsoft Dynamics\GPSessions"/>

       <add key="AccessControlAllowOrigin" value="*"/> <!--comma separated list of domains-->

       <add key="AccessControlMaxAge" value="1728000"/> <!--in seconds-->

     </appSettings>

     <system.diagnostics>

       <trace autoflush="true">

         <listeners>

           <clear/>

           <add name="GPWebAssertionListener" type="Microsoft.Dynamics.GP.Web.Services.Diagnostics.AssertionListener, Microsoft.Dynamics.GP.Web.Services"/>

         </listeners>

       </trace>

       <sources>

         <source name="Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionService" switchValue="Error">

           <listeners>

             <add name="EventLogListener"/>

           </listeners>

         </source>

       </sources>

       <sharedListeners>

         <add name="FileListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="Logs\SessionService.log"/>

         <add name="EventLogListener" type="System.Diagnostics.EventLogTraceListener" initializeData="Microsoft.Dynamics.GP.Web.Services.SessionService"/>

       </sharedListeners>

     </system.diagnostics>

     <system.serviceModel>

       <bindings>

         <wsHttpBinding>

           <binding name="SessionCentralService_wsHttpBinding"/>

           <binding name="SessionService_wsHttpBinding"/>

         </wsHttpBinding>

       </bindings>

       <services>

         <service name="Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionService" behaviorConfiguration="GPWebSessionServiceBehavior">

           <endpoint address="" binding="wsHttpBinding" bindingConfiguration="SessionService_wsHttpBinding" name="SessionService" contract="Microsoft.Dynamics.GP.Web.Services.Session.Service.ISessionService"/>

           <host>

             <baseAddresses>

               <add baseAddress="GPWEB3:48651/.../>

             </baseAddresses>

           </host>

         </service>

       </services>

       <behaviors>

         <serviceBehaviors>

           <behavior name="GPWebSessionServiceBehavior">

             <serviceDebug includeExceptionDetailInFaults="true"/>

             <serviceMetadata httpGetEnabled="false"/>

           </behavior>

         </serviceBehaviors>

       </behaviors>

       <client>

         <endpoint name="SessionCentralServiceEndpoint" address="GPWEB3:48650/SessionCentralService" binding="wsHttpBinding" bindingConfiguration="SessionCentralService_wsHttpBinding" contract="Microsoft.Dynamics.GP.Web.Services.Session.Service.ISessionCentralService"><identity><servicePrincipalName value=""/></identity></endpoint>

       </client>

     </system.serviceModel>

    </configuration>

    If you need to see other config files, let me know.

    Thanks,

    Rob

  • Suggested answer
    Derek Albaugh Profile Picture
    on at

    It appears that it's a single server install of Web Client, being on the 'GPWEB3' server.

    If you ping 'GPWEB3' from where you're launching the Web Mgmt Console, does it return the IP address of that server, which from the message appears to be 10.1.21.14?

    I've also seen the "connected party did not properly respond after a period of time" message caused by firewall blocking the port numbers being used, in this case ports 48650 and 48651, though you wouldn't think that to be the issue if you can successfully login to Web Client on the same machine, as that would use both services for those port numbers.

    Just to verify, you do not have the SSL certificate on the Session Central Service nor Session Service, correct?  I just wanted to verify as the http:// or https:// was removed from the copy/paste of the config file above.

    Let me know and I'll do some digging for WMC timing out while the WC works fine.

    Thanks

  • Robert Yao Profile Picture
    492 on at

    Hi Derek,

    I got the issue resolved.

    Thanks a lot.

    Rob

  • Suggested answer
    Derek Albaugh Profile Picture
    on at

    I'm happy to hear the issue has been resolved.

    If you would, can you share the resolution, in case others run into a similar situation, it may help them find a resolution quicker as well.

    Thanks again.

  • Verified answer
    Robert Yao Profile Picture
    492 on at

    Hi Derek,

    I think the problem is from the server name issue, we have an old web client server named as gpweb in BIOS, connected as gpweb.xxx.edu, the new web client server named as gpweb3 in BIOS, they wanted to keep the old name to connect to the web client, I exported SSL from the gpweb and imported to gpweb3, modified host ip gpweb3 gpweb.xxx.edu, installed gp web client and no problem to connect. The problem is from GP WebConsole where I got this url error message, here is what I did to fix:

    1) Shut down the old gpweb server

    2) removed record from id gpweb in table sessionhost form GPConfiguration db, only keep gpweb3

    3) removed record sessionhostid gpweb in table SessionHostStatus from GPConfiguration db, only keep gpweb3

    4) stopped two web client windows services and restarted

    5) run iisreset as an administrator

    6) run GP Webconsole if it prompts you again with the url error, you just need to change gpweb to gpweb3 to get it to work, it will never ask you again.

    I hope those above steps can help someone may run into my situation,

    Thanks,

    Rob

  • Verified answer
    Derek Albaugh Profile Picture
    on at

    Thanks Robert. Have a great 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
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans