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, ...
    • Sage Data Service

      According to Sage, the Data Service acts as a gateway and controls the reading and writing of data and is intended to increase the robustness of the system, improve data security, and help to optimise performance. It is installed and runs ...
    • Updating the Woosage50 Service

      To update the Woosage50 Service on the Woosage50 device with the latest version, follow the steps detailed in this article. The Woosage50 device is the PC or server that the Woosage50Service runs on and if you are unsure about the location of the ...