Confluence Service username ascii-problems

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

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

4 REPLIES 4

L2 Linker

Looks like this was brought up here: https://github.com/demisto/etc/issues/23229

and purportedly resolved here: https://github.com/demisto/content/pull/5849

 

If PR 5849 hasn't resolved bug ID #23229 it may be worth re-opoening the GitHub issue.

 

Apologies, I don't think you have access to those links I referenced.

 

I'll check if it makes sense to reopen this issue.

L2 Linker

just an update: I reopened our internal issue for this

The XSOAR team is currently working on a fix for this issue.

  • 3495 Views
  • 4 replies
  • 1 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!