測試帳號無法使用?

有任何提問的都來這
回覆文章
k134563
文章: 1
註冊時間: 2022-03-08, 01:12

測試帳號無法使用?

文章 k134563 »

您好,

欲使用測試帳戶時出現以下錯誤

代碼: 選擇全部

SDK NOTICE Tue Mar 08 01:08:45.712 2022 solClient.c:12148                    (7f867d917700) Connect attempt for host '218.32.76.102:80' for session '(c0,s1)_sinopac(client name 'PYAPI/PAPIUSER02/0307/170842/656655/LOGINING', VPN name 'sinopac', peer address 'IP 218.32.76.102:80', connection 'tcp_TxRx' local address 'IP 172.27.7.3:51858')' timed out
pysolace/core/sol.cpp(262): connected failed, return Not ready
[01:08:45.712652] [3056597] [pysolace/core/sol.cpp:450:SendRequest] [E] [thread 15476] Not ready
Response Code: 0 | Event Code: 2 | Info: Session connect timeout | Event: Session connection attempt failed
Traceback (most recent call last):
  File "/root/kline.py", line 5, in <module>
    accounts = api.login(person_id = "PAPIUSER02", passwd = "2222", contracts_timeout=10000, contracts_cb=lambda security_type: print(f"{repr(security_type)} fetch done."))
  File "/usr/local/lib64/python3.6/site-packages/shioaji/shioaji.py", line 156, in login
    accounts = self._solace.login(person_id, passwd, hashed, subscribe_trade)
  File "shioaji/backend/solace/api.pyx", line 382, in shioaji.backend.solace.api.SolaceAPI.login
  File "/usr/local/lib64/python3.6/site-packages/shioaji/utils.py", line 50, in raise_resp_error
    raise Exception(resp)
Exception: {}
請問目前測試帳戶無法使用嗎?
謝謝
maxeii
系統管理員
文章: 33
註冊時間: 2021-09-01, 13:54

Re: 測試帳號無法使用?

文章 maxeii »

由於資安考量,目前暫時停止測試帳號的服務。
請見諒
回覆文章