I am getting Auth Error: Authentication failure due to [java.io.FileNotFoundException: while implementing pusher-js in Android studio

I am getting Auth Error: Authentication failure due to [java.io.FileNotFoundException: while implementing pusher-js in Android studio

我正在尝试使用 Laravl 作为服务器端,Android 作为客户端来实现 pusher-js 我的代码如下

   HashMap<String,String> hashMap = new HashMap<>();
    hashMap.put("Authorization","Bearer "+mToken);
    hashMap.put("Content-Type", "application/x-www-form-urlencoded");
    hashMap.put("Accept", "application/json");
    hashMap.put("Client-id","anyid");

    HttpAuthorizer authorizer = new HttpAuthorizer("https://bleepcare.com/laravel-websockets/auth");
    authorizer.setHeaders(hashMap);
    PusherOptions options = new PusherOptions();
    options.setAuthorizer(authorizer);
    options.setEncrypted(true);
    options.setCluster("mt1");
    options.setWsPort(6001);
    options.setWssPort(6001);
    options.setUseTLS(true);
    options.setHost("bleepcare.com");
    options.buildUrl("anykey");

    Pusher pusher = new Pusher("anykey",options);
    pusher.connect(new ConnectionEventListener() {
        @Override
        public void onConnectionStateChange(ConnectionStateChange change) {
            Log.i(TAG,"Connection State: "+change.getCurrentState());
            if (change.getCurrentState().name().equals("CONNECTED")) {


            }
        }

        @Override
        public void onError(String message, String code, Exception e) {
            Log.i(TAG,"Connection Error: "+e.getMessage());
        }
    });
    channel = pusher.subscribePrivate("private-AppointmentChat.12.3", new PrivateChannelEventListener() {
        @Override
        public void onAuthenticationFailure(String message, Exception e) {
       Log.i(TAG,"Auth Error: "+String.format("Authentication failure due to [%s], exception was [%s]", message, e));
        }

        @Override
        public void onSubscriptionSucceeded(String channelName) {
        Log.i(TAG,"Success : "+channelName);
        }

        @Override
        public void onEvent(PusherEvent event) {
            Log.i(TAG,"Event : "+event);
        }
    },"AppointmentMessage");

我成功建立了与套接字的连接,但得到 [com.pusher.client.AuthorizationFailureException: java.io.FileNotFoundException: 我的身份验证 link 是:https://bleepcare.com/laravel-websockets/auth

我已经通过允许 hashmap.put("accept) 成功订阅私人频道的所有类型和套接字解决了这个问题