Skip to content
This repository was archived by the owner on Feb 20, 2021. It is now read-only.
This repository was archived by the owner on Feb 20, 2021. It is now read-only.

WebSocket connection error #7

@jusuf-b-netmine

Description

@jusuf-b-netmine

Hi!

Sry for my bad english.
Im studying to be web developer. I got task to implement wunderlist api in some app.
Im getting lists.
Why do i gett this error message?

Ok
(index):24 [Object]
2wunderlist.sdk.js:4286 WebSocket connection to 'wss://socket.wunderlist.com:8443/api/v1/sync?client_id=9bc9faf58bd6f059d8e6…3b93cd2a7bdb69bf68&client_device_id=undefined&client_instance_id=undefined' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

here is code

<script src="~/Scripts/core/wunderlist.sdk.js"></script>
<script>
    var wunderlistSDK = window.wunderlist.sdk;
    var wunderlistAPI = new wunderlistSDK({
        'accessToken': '3bfeea608bc1fca2772a4130b2233cd32c9989ce643b93cd2a7bdb69bf68',
        'clientID': '9bc9faf58bd6f059d8e6'
    });

    wunderlistAPI.http.lists.all()
      .done(function (lists) {
          /* do stuff */
          console.log("Ok"); 
          WebSocket.CLOSED;
          console.log(lists);
      })
      .fail(function () {
          console.error('there was a problem');
      });
</script>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions