<commit_before># Troubleshooting

## Unable to make an HTTP request (SPException thrown)
You might get this issue on some versions of **PHP** / **libcURL**.
To solve the problem, the cURL SSL version **3** must be enforced.
That can be achieved through the [SPSite](docs/SPSite.md) settings when creating a new instance:

```php
$settings = [
	// SharePoint Site credentials
	'site' => [
		// ...
	],

	// make cURL use SSL v3
	'http' => [
		'defaults' => [
			'config' => [
				'curl' => [
					CURLOPT_SSLVERSION => 3
				]
			]
		]<commit_msg>chore(*): improved ssl v3 issue explanation<commit_after># Troubleshooting
Here you will find a list of common library issues and their respective resolution.

## Unable to make an HTTP request (SPException thrown)
You might bump into this one, depending on the **libcURL** version PHP is currently using.
To solve the problem, cURL must use SSL **version 3**.
That can be achieved through the [SPSite](docs/SPSite.md) settings when creating a new instance.

```php
$settings = [
	// SharePoint Site credentials
	'site' => [
		// ...
	],

	// set cURL to use SSL v3
	'http' => [
		'defaults' => [
			'config' => [
				'curl' => [
					CURLOPT_SSLVERSION => 3
				]
			]
		]
{'fraction_non_alphanumeric': 0.1287940935192781, 'fraction_numerical': 0.005742411812961444, 'mean_word_length': 3.250871080139373, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7355443', 'n_tokens_mistral': 429, 'n_tokens_neox': 386, 'n_words': 148}