Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Win run error. #4

Open
foreverluck opened this issue Apr 20, 2020 · 2 comments
Open

Win run error. #4

foreverluck opened this issue Apr 20, 2020 · 2 comments

Comments

@foreverluck
Copy link

Python 2.7

[2020-04-21 02:45:55.979000] WARNING: The current configuration ignores TLS/SSL certificate validation errors for connection to the server component. This increases the risk of the communication channel being intercepted or tampered with.
Traceback (most recent call last):
File "abpttsclient.py", line 671, in
dataBlockNameValueSeparator = base64.b64decode(conf.dataBlockNameValueSeparatorB64)
File "C:\Python\lib\base64.py", line 79, in b64decode
raise TypeError(msg)
TypeError: Incorrect padding

@blincoln682F048A
Copy link

Hi. What do you have for the dataBlockNameValueSeparatorB64 value in your config file? Usually that error would mean you specified something by hand, and didn't base64-encode it.

@hababy
Copy link

hababy commented Mar 26, 2021

You should add -c ,python2 abpttsclient.py -c config.txt, base64 string's length is an integer multiple of 4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants