cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Who rated this post

Confluence Service username ascii-problems

L3 Networker

Hello

 

I've tried to add our Confluence Server into XSOAR (Version 6.2.0, Build 1271082), but I'm failing in the Test-Function.

I've used as example username "1" and also Password as "1". 

This is the result:

 

'ascii' codec can't encode character u'\u20<XX_REPLACED>3' in position 60: ordinal not in range(<XX_REPLACED>28) (85)

 

And Debug Mode:

 

Executed: test-module
Instance Atlassian Confluence Server_instance_19a5e0ba3-9fc6-458a-8446-2dc749ca5a23
Arguments {}
Start time 2021-07-08T08:19:12.311055866+02:00


2021-07-08T08:19:12.313887797+02:00 info: (Atlassian Confluence Server_instance_19a5e0ba3-9fc6-458a-8446-2dc749ca5a23_Atlassian Confluence Server_test-module) debug-mode started.
#### http client print found: False.
#### Env {'LANG': 'C.UTF-8', 'http_proxy': '', 'PYTHON_VERSION': '2.7.<XX_REPLACED>4', 'https_proxy': '', 'PYTHON_PIP_VERSION': '9.0.<XX_REPLACED>', 'HOSTNAME': '6c0ec9337f<XX_REPLACED>4', 'HTTPS_PROXY': '', 'GPG_KEY': 'C0<XX_REPLACED>E<XX_REPLACED>CAD5EA2C4F0B8E357<XX_REPLACED>504C367C2<XX_REPLACED>8ADD4FF', 'HTTP_PROXY': '', 'PATH': '/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HOME': '/root'}.
#### Params: {
"url": "https://confluence.avectris.ch/",
"credentials": {
"credential": "",
"password": "<XX_REPLACED>",
"identifier": "<XX_REPLACED>",
"passwordChanged": false,
"credentials": {
"locked": false,
"name": "",
"vaultInstanceId": "",
"sortValues": null,
"modified": "000<XX_REPLACED>-0<XX_REPLACED>-0<XX_REPLACED>T00:00:00Z",
"workgroup": "",
"version": 0,
"user": "",
"password": "",
"id": "",
"sshkeyPass": "",
"sshkey": ""
}
},
"proxy": false,
"unsecure": false
}.
#### Docker image: [demisto/python:<XX_REPLACED>.3-alpine]
#### Integration: brand: [Atlassian Confluence Server] instance: [Atlassian Confluence Server_instance_<XX_REPLACED>9a5e0ba3-9fc6-458a-8446-2dc749ca5a23]
2021-07-08T08:19:12.314913109+02:00 debug: (Atlassian Confluence Server_instance_19a5e0ba3-9fc6-458a-8446-2dc749ca5a23_Atlassian Confluence Server_test-module) Confluence integration is executing the command test-module
2021-07-08T08:19:12.316533527+02:00 info: (Atlassian Confluence Server_instance_19a5e0ba3-9fc6-458a-8446-2dc749ca5a23_Atlassian Confluence Server_test-module) python logging: DEBUG [urllib3.connectionpool] - Starting new HTTPS connection (<XX_REPLACED>): confluence.avectris.ch
2021-07-08T08:19:12.498443456+02:00 info: (Atlassian Confluence Server_instance_19a5e0ba3-9fc6-458a-8446-2dc749ca5a23_Atlassian Confluence Server_test-module) python logging: DEBUG [urllib3.connectionpool] - https://confluence.avectris.ch:443 "GET /rest/api/user/current HTTP/<XX_REPLACED>.<XX_REPLACED>" 40<XX_REPLACED> 75<XX_REPLACED>
2021-07-08T08:19:12.5024296+02:00 debug: (Atlassian Confluence Server_instance_19a5e0ba3-9fc6-458a-8446-2dc749ca5a23_Atlassian Confluence Server_test-module) 'ascii' codec can't encode character u'\u20<XX_REPLACED>3' in position 60: ordinal not in range(<XX_REPLACED>28)

Traceback (most recent call last):
File "<string>", line 853<XX_REPLACED>, in <module>
File "<string>", line 85<XX_REPLACED>4, in test
UnicodeEncodeError: 'ascii' codec can't encode character u'\u20<XX_REPLACED>3' in position 60: ordinal not in range(<XX_REPLACED>28)


Entry
Executed on 2021-07-08T08:19:12.50333711+02:00

Raw Response section:
'ascii' codec can't encode character u'\u20<XX_REPLACED>3' in position 60: ordinal not in range(<XX_REPLACED>28)

Traceback (most recent call last):
File "<string>", line 853<XX_REPLACED>, in <module>
File "<string>", line 85<XX_REPLACED>4, in test
UnicodeEncodeError: 'ascii' codec can't encode character u'\u20<XX_REPLACED>3' in position 60: ordinal not in range(<XX_REPLACED>28)

 


End time 2021-07-08T08:19:12.503459912+02:00

 

Please let me know, what is wrong...

 

thanks

roger

Who rated this post