Hi guys,
Getting this error while trying to connect to a Public stream. Link to that is below:
Hi guys,
Getting this error while trying to connect to a Public stream. Link to that is below:
Hey there @gokermu, Iām doing some powerBI improvements today so Iāll look into it in an hour or so!
Thanks for reporting this!
Just as a follow up for future reference. This error will be solved in the next version of the connector (0.0.6) if my memory recalls correctly.
Iāve installed version 0.0.7 of the Power BI connector, and I get this with my own streams, but can connect to a stream created by someone else.
Iāve tried creating two public streams, each from a separate (and very simple) Revit model. The streams looks OK in the browser. If I try to connect to them in Power BI I get āyou are not authorizedā.
Someone else in my organisation can connect to my stream using the same URL, and I can connect to their stream using their URL, I just canāt connect to my own streams!
An example stream that Iām unable to connect to is: Stream | Speckle (arup.com)
Hi @colin.magner!
Welcome to the community! Feel free to Introduce yourself š if you havenāt already!
I tried reproducing the issue in my computer but everything seems to be working fine. I can:
It occurs to me that it may have something to do with your credential settings in PowerBI
Then clear any existing entries referring to Speckle from the window that will pop up.
This will force PowerBI to re-request your credential strategy the next time you fetch data. I suggest you try both:
Since auth tokens do expire (@dimitrie please correct me on this one?), make sure you create a new token when you try this.
Let us know how it goes!
Hey @colin.magner , since youāre on the Arup server it might be worth trying with ours as well to at least remove that variable: https://speckle.xyz/
Thanks for the suggestions Alan, Tecocomi.
Working on the Arup v2 server, after clearing the source settings:
I created a new public stream with the same data on your server ( Stream | Speckle), and I can connect to this OK.
This is all very strange, as another colleague is able to connect to my stream with Power BI when itās set to public, itās just that I canāt! But I can connect to one of their public streams on our server.
Hey @colin.magner, is the stream you provided still public? I canāt seem to access it anymore.
Not pointing any fingers here, but it seems like the problem may be on the Arup server?
Just for clarification, you can set your credentials at the server level instead of āper-streamā and any streams you fetch will use the same credentials. Given your server is kind of privateā¦ I would just default to fetching everything with your token (public or private). I find this handier than setting the credentials on a āper-streamā basis.
Fetching any stream with a token will also provide the server with information on who is receiving the data. If you fetch it without a token, your commitās wonāt be tagged as received.
So Iād recommend, in general, using āPrivate Streamā option with your token and set it to the server url level.
Anyway, do let me know if the stream remains set to public, since iām now getting āYour are not authorisedā messages too! There may be some lurking bug that we need to look into!
Thanks Alan. The stream is still private, so itās not a problem at your end!
Takeaways from this:
Thanks again.
Hi,
Resurrecting an old thread, as Iāve found new issues with connector version 0.0.7 and 0.0.6.
I get the following errors for both private and public streams (all on Arup server):
and if I use a specific commit I get this error:
This all works fine on version 0.0.5.
Hi @Joe_Landers , before we dig into this, can you please tell us if you have the same issue on XYZ? Unfortunately, we cannot debug things on servers other than ours.
Thanks!
I just had a call with our internal Speckle team to discuss this, and prior to the meeting I got my streams loaded up and tested connecting them into Power BIā¦ and they worked.
As far as we are all aware nothing has changed. We havenāt changed any Speckle server configuration (that those of us on the call are aware of), and I havenāt changed the Power BI connector (which is still 0.0.7) but I can now connect to both my public and private test streams.
Hi, managed to find some free time this evening to test this.
Yes, can confirm the same data on XYZ works and streams into PBI 0.0.5 and 0.0.7 connector (didnāt try 0.0.6).
But now 0.0.5 has stopped work on the Arup server. Very frustrating. @colin.magner did you have any more updates? I will make contact with our internal Speckle team to inquire.
Hi @Joe_Landers, I just tried and itās still working. I honestly have no idea why it started working, and was unable to identify anything that changed in terms of software/configuration etc.
Iāve using the v0.0.7 connector, Power BI desktop 2.100.1182.0 64-bit (December 2021), and our v2 Speckle server.
After Joe and I cleared our Speckle related data source settings, the PowerBI connector is able to receive again! I had the same issues as Joe. We are both using the James Bond (0.0.7) version.
Would it be an option to have the connector handle this automatically? Maybe first try to fetch the stream using any existing PowerBI data source settings and in a second attempt ignore any PowerBI data source settings?
(or maybe just a message in the āUnable to connectā pop up that the user could try to clear their data source settings via File > Options > Data source settings)
Hi all! Iām trying to deal with with connecting data from speckle.xyz server to PowerBi using v0.0.7 connector. I think Iāve used all combinations listed above - the message remains - for commit and stream
Each time I remove Data source settings, but still with no luck
However, I havenāt tested the private link, because I donāt know from where should I get the activation token. Where shall I look for it?
Hey @oliwer,
you can create new tokens from your profile page at the Speckle server (Speckle in this case). You can find out more about it here: Personal Access Tokens | Speckle Docs
Weāve recently changed the UI so the screenshots may be a little outdated, but its basically the same process. This is the section youāre looking for:
It helped! Private stream does the trick. Thanks a million!
Hey all,
I am waking up this thread, cause this happened to me today, but not with every streamā¦
Here is the stream:
It works when I give the link of a commitā¦ but not of the stream itselfā¦ Of course, I want my data to be updated every time a new commit is uploadedā¦
(Just as a temporary solution, how to switch the commit address to another one? To make a āmanualā update of the data ?)
Thanks again for your great work Speckle Team !!!