Rest API not starting for GroupShare

Hi there,

Are there any special requirements needed to get Rest API to load up? According to GroupShare's installation guide it should be listening on port 41234, in my case, there is nothing listening on that port. Has anyone experienced this?

I already checked the firewall and it isn't blocking that port.

How can I get Rest API to load up? Any thoughts?

-Chris

Parents Reply Children
  • Hi Chris,

    If you check the SDL.Application.log in C:\ProgramData\SDL\Service\Logs and search for RestApi, you should see things like the below. Is that the case? If not, can you restart the SDL Application service and see if it runs the REST API?

    2014-01-29 15:50:56.268#Sdl.StudioServer.Services.Core.Hosting.WindowsServiceHost#Sdl.StudioServer.Authorization.AuthorizationServer.RestApi, Version=1.8.0.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888

    2014-01-29 15:50:56.270#Sdl.StudioServer.Services.Core.RestApi.SelfHostedRestApiManager#Configuring: RestApi.AuthorizationRestApi

    2014-01-29 15:50:56.320#Sdl.StudioServer.Services.Core.Hosting.WindowsServiceHost#Sdl.StudioServer.Authorization.RestApi, Version=1.8.0.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888

    2014-01-29 15:50:56.322#Sdl.StudioServer.Services.Core.RestApi.SelfHostedRestApiManager#Configuring: RestApi.AuthenticationRestApi

    2014-01-29 15:50:56.329#Sdl.StudioServer.Services.Core.Hosting.WindowsServiceHost#Sdl.StudioServer.Services.Help.RestApi, Version=1.8.0.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888

    2014-01-29 15:50:56.333#Sdl.StudioServer.Services.Core.RestApi.SelfHostedRestApiManager#Configuring: Sdl.StudioServer.Services.Help.RestApi.HelpRestApi

    2014-01-29 15:50:56.377#Sdl.StudioServer.Services.Core.Hosting.WindowsServiceHost#Sdl.StudioServer.Services.Management.RestApi, Version=1.8.0.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888

    2014-01-29 15:50:56.381#Sdl.StudioServer.Services.Core.RestApi.SelfHostedRestApiManager#Configuring: Sdl.StudioServer.Services.Management.RestApi.ManagementRestApi

    2014-01-29 15:50:56.388#Sdl.StudioServer.Services.Core.Hosting.WindowsServiceHost#Sdl.StudioServer.Authorization.SecurityHandler, Version=1.8.0.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888

    2014-01-29 15:50:56.394#Sdl.StudioServer.Services.Core.Hosting.WindowsServiceHost#Sdl.StudioServer.Authorization.Shared, Version=1.8.0.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888

    2014-01-29 15:50:56.438#Sdl.StudioServer.Services.Core.RestApi.SelfHostedRestApiManager#Opening self host server

    Thanks,

    Luis

    Best regards,
    Luis Lopes | Principal Product Manager | RWS | (twitter) @Luis___Lopes |

  • Hi Luis,

    I've checked the logs and restarted SDL Application Service. There is no mention of Rest in the logs

  • Former Member
    0 Former Member in reply to tchris
    This just happened to us...and it turned out to be a licensing issue. For us, we were seeing a blank page with just the favicon loading when we accessed https://<servername>/documentation/api. SDL support was able to deactivate our GroupShare server license and issue a new one with the REST API explicitly enabled, which at least did the trick to get the /documentation/api page to render. We are still verifying that the API itself is working. A bunch of GET methods didn't seem to work directly in a browser, but but it's a start.
  • Hi Jeremy,

    Glad to hear this was resolved.

    Just a note, depending on what you are planning to develop, there is a .NET Library that can be used for the GroupShare REST API, which takes away a lot of groundwork of working with it (such as token management, async calls, etc.)

    github.com/.../groupsharekit.net

    Thanks,
    Luis

    Best regards,
    Luis Lopes | Principal Product Manager | RWS | (twitter) @Luis___Lopes |

  • Hi Jeremy,

    Were you able to 'Try' the REST APIs at https://<servername>/documentation/api ?
    We are using Groupshare 2017. I was able to access the https://<servername>/documentation/api/index.
    It shows a description of access token. It doesn't show a list of available APIs, and there fore no way to 'Try' the APIs