Closed brian32768 closed 2 years ago
Hi @brian32768 - thanks for the report. Can you give me an example of the portal URL you are using? Just want to see if I can repro on my end - if its something you want to keep private, just replace the base URL with something like example.com
.
Good - idea for adding more useful output info, I'll try and get that added.
Please try testing https://github.com/roemhildtg/vscode-arcgis-assistant/releases/tag/v2.3.0
It has some additional logging if you are unable to add a portal.
https://delta.co.clatsop.or.us/portal/
We run public services here so I don't see any harm in sharing it.
On Sat, Dec 5, 2020 at 9:57 AM Gregg Roemhildt notifications@github.com wrote:
Hi @brian32768 https://github.com/brian32768 - thanks for the report. Can you give me an example of the portal URL you are using? Just want to see if I can repro on my end - if its something you want to keep private, just replace the base URL with something like example.com.
Good - idea for adding more useful output info, I'll try and get that added.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/roemhildtg/vscode-arcgis-assistant/issues/24#issuecomment-739327823, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAP6RRE4FU4DH6AQ2XEHDLTSTJYB3ANCNFSM4UOB566Q .
-- Brian Wilson tel:707-827-0001
I installed 2.3.2 today. I can connect to our org account on arcgis.com and I can create a connection to our Portal. I get a 400 redirect error page in a browser window and eventually I got "User failed to authenticate in the required time" in VSCode.
The URL that the browser goes to is "https://delta.co.clatsop.or.us/portal/sharing/rest/oauth2/authorize?response_type=code&redirect_uri=**http%3A%2F%2Flvh.me%**3A3000%2Fcallback&client_id=ACTUAL_ID_REMOVED"
Nothing I put into Portal for the "Data Source URL" or "Redirect URI" seems to have any influence on this. I am unclear what those should be set to anyway.
What exactly does the browser error 400 say?
This is what I use for my VSCode App Item in portal:
Note: for support questions, please use stackoverflow. This repository's issues are reserved for feature requests and bug reports.
I'm submitting a ...
What is the current behavior?
The assistant extension logs that it's creating a new connection but nothing happens.
In Portal, create an application and put the VSCode machines IP address into it (like http://10.10.4.68:3000). Copy the AppId. In VSCode, install the extension from the VSIX file and restart. Open the Explorer and click on the + next to ArcGIS to do addPortal (or F1 AddPortal) and enter the URL for the portal (eg https://myserver.mydomain/portal). Hit Enter. When prompted, paste in AppId. Hit Enter.
It should prompt for user/pass credentials then populate the Explorer with the contents of the Portal.
Also, according to docs it should remember the portal settings. It does not.
To make it functional.
Please tell us about your environment:
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
Produce more useful information in the OUTPUT window beyond just "Creating new portal". Tell if it failed, and what the error was.