-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Notice: In order to resolve issues more efficiently, please raise issue following the template.
(注意:为了更加高效率解决您遇到的问题,请按照模板提问,补充细节)
🐛 Bug
SSL 认证失败
我用 wss:// 开头还是 认证失败 ,调试到 if uri.find("wss://"): 结果转到elif uri.find("ws://"): is_ssl = False
To Reproduce
FunASR/runtime/funasr_api/funasr_core.py
Code sample
is_ssl = True
elif uri.find("ws://"):
is_ssl = False
else:
print("not support uri", uri)
exit(0)
改为下面,就行了
is_ssl = True
elif uri.startswith("ws://"):
is_ssl = False
else:
print("not support uri", uri)
exit(0)
Expected behavior
Environment
Additional context
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working