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

我使用 bitget-php-sdk-api 执行 example_ws.php 时,报错如下: #29

Open
ringer123 opened this issue Jan 7, 2023 · 2 comments

Comments

@ringer123
Copy link

PHP Fatal error: Uncaught WebSocket\ConnectionException: Connection to 'wss://ws.bitget.com/spot/v1/stream' failed: Server sent invalid upgrade response: HTTP/1.1 403 Forbidden

@ringer123
Copy link
Author

$con = new AsyncTcpConnection('ws://ws.bitget.com:443/spot/v1/stream');
$con->transport = 'ssl';
这种也用不了

@Pratama0854
Copy link

#29 (comment)

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

2 participants