Why am I facing the API not connecting issue while trying to connect to the API to save the image using Winforms app dotnet - api

Why am I getting this Exception error.
I tried to change the IP to local host and viseversa, but didnt get it sorted out.

Try using this MSGraph Explorer https://developer.microsoft.com/en-us/graph/graph-explorer build your query test. Also see the code snippets

Related

RDWeb has not worked since installing new switches

We have installed new switches, and have a 10.X network for another location that they remote into via RDWeb. Since we made the changes we have not been able to use the RDWeb but we can use the desktop RDP app.
We ran the Get-RemoteAccessHeath command and got this back
RemoteAccessHealth
We then looked at the Remote access management to see what in an error state and found the blow picture.
Remote access management error
Attempted to restart the RemoteAccess service but received an error that it is an invalidoperation.
Any advice is welcome. The users are functional but would we would like to get that RDWeb page back up and running so they can use it remote in via a phone.
Thanks,
Matt

automate electron based desktop app using testcafe not working

i am trying to automate tests for 'lens' electron based desktop application.i was following this link enter link description here to setup the test for electron app.This link expects a 'mainwindowurl' but application doesn't have any main page, but testcafe give suggestion of the mainwindowurl as an error so tried it works but am not convinced with the suggrstion urls ,but same way want to give fixture page url on the test what should be the url should i need to give? then have got one more error ERROR Unable to establish one or more of the specified browser connections. This can be caused by network issues or remote device failure.Please can you guys suggest what to do?
Each and every Electron application has to navigate to a page after opening a window.
I guess that the mentioned Lens app is an Kubernetes IDE: https://github.com/lensapp/lens.
This app uses the BrowserWindow.loadURL function to navigate to the main page:
https://github.com/lensapp/lens/blob/a61425124f18b1cc2d8a507084a472029acc3e6b/src/main/window-manager.ts#L101.
Digging the code a bit more, I found that the main window URL is just localhost with some port:
https://github.com/lensapp/lens/blob/a61425124f18b1cc2d8a507084a472029acc3e6b/src/main/window-manager.ts#L33.
I guess it is possible to determine or set the port number by looking at the code a bit more or asking Lens developers about it.

Auth0 stuck in callback

Used auth0 for my react project and it works fine at my local.
When i put my project to the server login page shows up, but after i try to login i get an error.
http://localhost:3000/callback?code=ZSaQ96OshsFfpBUN&state=q3KiPGbEPtIZ3UuSLd.KSbKjdXqk9-pD
firefox says
unable to connect - cant establish a connection to localhost:3000 and on
chrome i got
this site can't be reached - localhost refused to connect
I tried different callback urls on the auth0 side but nothing changed. I do not know exactly what to do actually
It looks like your project isn't running on the same connection that you were locally. Make sure to change all the registered callbacks to their current locations when changing to a different deployment.

Accessing Web Application deployed on local server through Selenium IDE

I'm trying to access web application deployed on the local server for testing purposes. When i enter the path and execute it. it displays me
Failed to Construct 'URL': Invalid Base URL
Can anyone help me about it? I tried to find out a valid one but unable to find any.
Thankyou Mateo, your answer reminded me of another tool BlazeMeter that helped me to get my BaseURL.

Unable to Connect To GoogleFit

I am trying to connect to Googlefit but i am getting a strange error code as below
E/GooglePlayServicesUtil﹕ Unexpected error code 5005
Does anybody have any idea about this.Thanks In advance
I solved the error with the help of the answer in this post:
https://stackoverflow.com/a/28391583/2977169
#Sumoanand:
I also faced similar problem.
This issue occurs if app is not registered properly in google developer console.
I think you have registered app on Google developer Console using production keystore certificate fingerprint(SHA1) where as you are testing it on app which has debug keystore.
Perform following steps:
Create one more client Id using debug keystore certificate fingerprint(SHA1).
Uninstall existing app.
Install app & connect to Google fit.
Check under google fit app & make sure that your app is listed as a connected app (... > Settings > Connected apps > Connected apps & devices).
Now run the above code & it will work !!!
I had this error and the consent screen had been filled in correctly. The only way I could get around this was to delete the project and re-create it.
I changed my device date time to past time before connect to Google Fit and I got error 5005.
After changed to current time, it works :)