Can't acces speckle stream in qgis

Hi @fff ! From what I can see, you are getting a yellow label with a warning when you click “Search”. It means the query sent to the server returned an exception.
We can try to figure out the root of the issue by calling the same query manually. Try opening Plugins-> Python Console, and paste the code below (preserving all the line breaks) and see whether it returns the list of the Streams that you are looking for, or gives an exception.

import specklepy
from specklepy.api.client import SpeckleClient
from specklepy.api.credentials import get_local_accounts

query = ""
speckle_accounts = get_local_accounts()
for i, acc in enumerate(speckle_accounts):
    try:
        speckle_client = SpeckleClient(acc.serverInfo.url, acc.serverInfo.url.startswith("https"))
        speckle_client.authenticate_with_token(token=acc.token)
        results = speckle_client.stream.search(query)
        print(results)
    except: 
        pass

print("done")

1 Like