Issues with the Woosage50Service Connecting to the Website

Issues with the Woosage50Service Connecting to the Website

Occasionally, we encounter issue when the Woosage50 Service tires to connect to the website, due to website security settings. Common causes and solutions are:

Website blocks APIs – solution is to white list the API https://[site-name]/wp-json/woosage/* (* is wildcard, which may be different, depending on security plugin)

Website caches APIs – solution is cache plugin dependant (more information in this article)

Website doesn’t allow basic authentication method – solution if to set service to authenticate using OAuth 1.0 instead of passing credentials as parameters. To do this open the file C:\Program Files (x86)\Woosage50Service\Woosage50Service\appsettings.json in Notepad, or a similar txt editor, as an Administrator, locate the the WcRestOptions section and change UseOAuth1 key value to true.

Website blocks unknown user agents – solution is security plugin dependant, but add Woosage/50 as an allowed user agent. If the problems persists try changing the UserAgent key in the appsettings.json file to one of the common browser user agents, such as Mozilla/5.0, AppleWebKit/537.36, Chrome/126.0.0.0 or Safari/537.36


    • Related Articles

    • Woosage50 Website Cache Issues

      Woosage50 has a REST API that the Woosage50 Service uses to transfer data to and from the website via the Woosage50 plugin and it is important that the API is not cached by your website. Websites can cache pages and other data at the server level or ...
    • Installation Issues

      Basic Installation Issues If orders are not showing in Sage or product stock is not being update on WooCommerce: Check that the Woosage Windows Service is running and has the right Log On credentials (Invalid data path message) Check if orders and ...
    • Resolving Woosag50 Remote Service Issues

      The Woosage50 plugin on the website interacts with a Windows service that runs remotely on your local network. The service, called Woosage50Service, runs in the background and acts as a bridge between Sage and your website. It runs continuously, ...
    • Website Connection Issues

      Occasionally, Woosage encounters problems with connection to the website or receiving information back from the website as the following is a list of potential problem areas. Website server The website may not be able to receive inbound API requests ...
    • Woosage Windows Service Setup

      General Settings These settings are setup automatically when Woosage is installed.  The main setting is the Startup type, which is set to Automatic so that Woosage will automatically restart when the computer is restarted. Log On Settings By default ...