# Errors

## Database

<table><thead><tr><th>Error</th><th width="148">Component</th><th>Probable cause</th></tr></thead><tbody><tr><td>Unexpected response from server during a HTTP connection: Could not refill buffer.</td><td>Databricks</td><td>SSL Option is not selected in odbc settings</td></tr><tr><td>Driver not found</td><td></td><td>This error can happen when using an ODBC driver like snowflake, databricks, teradata on linux systems. It indicates there is probably a problem in the installation of the php dependency of WriteBackExtreme that has been compromised. Run `php -m` command to check what version you are on and run the install.sh again. </td></tr></tbody></table>

## Single Sign-On

### Undefined array key "sp\_entity\_id"

This error occurs when the Single Sign-On provider does not include the `relayState` in its response to the return URL. Because the `relayState` is missing, the extension cannot read the expected `sp_entity_id`, which leads to the *“Undefined array key `sp_entity_id`”* message.

To resolve this issue, make sure your SSO provider is configured to always return the `relayState` parameter in its authentication response. Once the IdP passes the relayState correctly, the `sp_entity_id` can be read and the error will be resolved.

## Startup

<details>

<summary>Service Error: stop: Failed to stop WriteBackExtreme PHP App Server: The specified service does not exist as an installed service.</summary>

When there is an unexpected shutdown of the system, it occasionally happens that Windows removes the WriteBackExtreme service from Windows Services. Upon startup WriteBackExtreme tries to startup the service that is not there anymore.

#### Steps to resolve this

1. Start WriteBackExtreme manually as an administrator.
2. Go to configuration
3. Toggle the switch 'Initiate upon startup using a background service' off and on again
4. Click `Start WriteBackExtreme`&#x20;
5. Open Windows services and verify WriteBackExtreme is listed again.&#x20;

</details>

<details>

<summary>Failed to extract PHP:open C:\[path]\.wbe-runtime\php\ext/[filename].dll: The process cannot access the file because it is being used by another process.</summary>

This typically happens when the system or application experienced an unexpected shutdown. Our application tries to remove the  .wbe-runtime/php directory but it was not successful due to a dangling php processes that could not be killed properly. Upon startup it will not be able to start properly due to missing files in the php directory.&#x20;

#### Similar error messages

* No valid json: In Connection.php line 822: could not find Driver
* openssl signature could not be verified: openssl not loaded
* Error while stopping: open C:\\\[path]\\.wbe-runtime\php-appserver.pid: The system cannot find the file specified

#### Steps to resolve this

1. Start the application manually
2. Stop the application properly (this will remove the php directory)
3. Start application again. (this will reinstall the php directory again)

</details>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.infotopics.com/writebackextreme/troubleshooting-and-faq/troubleshooting/errors.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
