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

Timeout when including Chinese character on Windows #15

Open
rcy17 opened this issue Dec 2, 2021 · 1 comment
Open

Timeout when including Chinese character on Windows #15

rcy17 opened this issue Dec 2, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@rcy17
Copy link

rcy17 commented Dec 2, 2021

Describe the bug
Client's socket raise timout error when object or text (or bucket name? not tested.) containing Chinese character on Window platform, but it works expectedly on Linux.

To Reproduce
Steps to reproduce the behavior:

  1. Connect to sonic
  2. Push or query something in Chinese, like ingestcl.push('wiki', 'default', 'something', '今天天气不错')

Expected behavior
Normal return.

** Versions (please complete the following information):**

  • OS: Windows 10
  • Sonic version: 1.3.2
  • Sonic client version: 0.0.5

Additional context
I believe that sonic expects UTF-8 encoding, which is the default encoding in Python3 on Linux, but on Windows default would be GBK instead.

@rcy17 rcy17 added the bug Something isn't working label Dec 2, 2021
@rcy17
Copy link
Author

rcy17 commented Dec 2, 2021

Finally I found it's solved in #14, but it's not release as a new version like v0.0.6 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant