-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
beginListActiveSessionsAndWait() does not return Sessions even though the api called by the sdk does return Sessions #25671
Comments
Thank you @MichaMican for such a nicely detailed issue description. |
Hi all, |
I can reproduce the result of your issue and am looking for the cause |
Hi @kazrael2119 - were you able to find the root cause? This issue is currently a blocker for us and we need to decide if we try to implement the pagination & session acquiring on our own or if this is beeing fixed in the foreseeable future |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @aznetsuppgithub. |
@qiaozha @kazrael2119 Any updates on this? |
Service backend needs to fix this mismatch. I have been trying to contact service team, there's not much we can do in the SDK side. If you like, you may open a support ticket https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request |
Hi @qiaozha i am a bit confused why this should be a backed issue? As shown in the screenshots the backend returns the correct values, and the azure portal frontend also can deal with it correctly - So I would be very suprised if this is not fixable within the SDK |
@MichaMican, The raw response is unicode encoded. And the response mey be not match with the response defined in swagger.That's why we got unexpected value: []. |
Thanks for the clarification - Can you move that forward to the respective team internally? |
“service attention” label is added, we only can wait for service feedback |
Any update on this? |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @aznetsuppgithub. |
Any update on this? (@qiaozha ) |
I will ping service team again, but no promises here. Sorry. You probably should open a support ticket https://azure.microsoft.com/en-us/support/create-ticket which might get your issue resolved sooner. |
@MichaMican Since the final state is set via 'location', have you tried implementing a LRO poll on location? Using REST client, that returns the appropriate results and should unblock you temporarily while we investigate and make a permanent fix |
@abhi7860 Will take a look into it thanks for the heads up. However a library native approach is preferred for obvious reasons - so keep me posted on the status of the fix. |
@MichaMican Did this ever work for you before and recently stopped working? Perhaps, because of a package upgrade? |
Hi @abhi7860 - No unfortunately not to my knowledge - I just installed the package for the first time and it did not work so I opened this issue. |
I see that because of some recent changes devs need to implement LRO poller. I wonder if the SDK is not responding because of that |
We should already eliminate the possible cause from the SDK side before reporting to service side @abhi7860 #25671 (comment) this is the root cause based on our investigation, I think it should be clear for you, feel free to let us know if it isn't. |
Any updates on this? @kazrael2119 @qiaozha @abhi7860 - The problem is still persistent and in my opinion there is no simple workarround for this - i basically would have to implement the calling of the api completely on my own, hence i'd have to ditch the library alltogether |
Describe the bug
When using "beginListActiveSessionsAndWait" of the networkclient as described in Microsoft Docs or azure-sdk-for-js sample file i do not get back any sessions as a result, even though in the networking tab the sessions do appear.
-> I have also tried it when more than one session was active at the bastion - still the function of the sdk returned an empty array
Also in the Azure portal the sessions are displayed:
To Reproduce
Steps to reproduce the behavior:
returnsAListOfCurrentlyActiveSessionsOnTheBastion()
function as described in the docsreturnsAListOfCurrentlyActiveSessionsOnTheBastion()
Expected behavior
The SDK function should return the same result as the API returns
Screenshots
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: