Skip to content
This repository has been archived by the owner on Apr 26, 2023. It is now read-only.

DotNet : Throw "Error 500-Protocol Error" when passing ArcGIS Server uri with windows authentication #7

Closed
esoekianto opened this issue Feb 18, 2014 · 19 comments
Assignees
Milestone

Comments

@esoekianto
Copy link
Contributor

I know that proxy should only work with token-based arcgis server, but is there any way to allow the url for arcgis server that is not set for token based but window authentication only

proxy1
proxy2

@esoekianto
Copy link
Contributor Author

@afili has another proxy that works with window auth for arcgis server, do you think we need to add this here? @kellyhutchins @jgravois

@kellyhutchins kellyhutchins self-assigned this Mar 17, 2014
@bsvensson bsvensson added this to the 1.0 milestone Mar 17, 2014
@AmrEldib
Copy link

AmrEldib commented Apr 1, 2014

Was this fix merged? Is it planned?

@kellyhutchins kellyhutchins reopened this Apr 1, 2014
@kellyhutchins
Copy link
Member

@AmrEldib this issue has not yet been resolved and merged into the proxy. We will evaluate this issue and discuss the feasibility of incorporating this into a future release of the proxy.

@kellyhutchins kellyhutchins modified the milestone: 1.0 Apr 1, 2014
@bsvensson bsvensson added this to the 1.1 milestone Apr 3, 2014
@theBoringCoder
Copy link

I'm sorry...I don't understand the problem with using the proxy.ashx and Windows Authentication. I've got apps deployed to Windows 2008 web servers, using services on ArcGIS 10.0 servers that are secured with windows authentication, and everything works fine. Is this some new restriction that was introduced after AGS 10.0?

@jgravois
Copy link
Contributor

@theBoringCoder thanks for chiming in Tom. how exactly are you supplying your credentials in our current resource-proxy to accomplish this? in looking through the .NET code i don't see anything pertaining to authentication that isn't helping form requests to retrieve tokens.

@theBoringCoder
Copy link

I'm not sure I'm using your current one. The one I am using has been in place for a couple years now. The credentials are coming from proxy.config. I can post a (redacted) picture of the proxy.config if you like.

@AmrEldib
Copy link

I think this bug is about Windows credentials passed from the client (browser) rather than stored in the proxy.config file. That's the issue I'm running into.

@jgravois
Copy link
Contributor

thanks for the clarification guys. @theBoringCoder you must not be using our 'resource-proxy' as it was only released a few months ago. as @kellyhutchins said, we are looking into adding support for web tier windows authentication in the future.

@theBoringCoder
Copy link

My apologies. An ESRI Support Analyst my co-worker is working with pointed us at this thread as being about the HTTP 500 error we're experiencing with the proxy we're using...but we're not using this "resource-proxy"...we're using a proxy.ashx (handler) that has a matching proxy.config file, that we got from ESRI, which has "proxyConfig" as the root, then "serverItems", and then "serverItem" which then contains "url", "matchAll", "domain", "username", and "password" attributes.

@jgravois
Copy link
Contributor

@theBoringCoder. yes, we have had a number of different proxies floating around in the past, each with their own individual functionality, syntax and bugs. the 'resource-proxy' repository here is a new effort to consolidate our work in a single location and attempt to ensure parity across .NET, Java and .PHP versions.

@theBoringCoder
Copy link

Thanks for the clarification. I was not aware that there had been different proxies.

@esoekianto esoekianto changed the title Java/.NET : Throw "Error 500-Protocol Error" when passing ArcGIS Server uri with windows authentication DotNeT : Throw "Error 500-Protocol Error" when passing ArcGIS Server uri with windows authentication Apr 11, 2014
@esoekianto esoekianto changed the title DotNeT : Throw "Error 500-Protocol Error" when passing ArcGIS Server uri with windows authentication DotNet : Throw "Error 500-Protocol Error" when passing ArcGIS Server uri with windows authentication Apr 11, 2014
@msereda
Copy link

msereda commented Apr 25, 2014

Hi, I see there's been no update to this for a few weeks so I'll assume that Windows Authentication with the .NET proxy is not planned for the near future. @esoekianto had mentioned in his second post that there's another version of the proxy that supports this...Could I get a link to it, assuming it's on the web somewhere? We have great need for that functionality. Thanks!

@jgravois
Copy link
Contributor

@ReticulatingMoP we are definitely working on incorporating the functionality in the resource-proxy. in the meantime, you might check out the proxy linked about a third of the way down the page below, as i believe it provides what you need.

ArcGIS Silverlight API - Secure services
https://developers.arcgis.com/silverlight/guide/secure-services.htm

@msereda
Copy link

msereda commented Apr 25, 2014

@jgravois thank you for your reply. I took a look at the proxy you linked to and I don't see anything there that would help. The windows authentication section of the proxy there looks more like what theBoringCoder had been talking about, ie storing a specific user/pw in the proxy.config file. We need what @AmrEldib had talked about, being able to use the credentials of the current user.

I realize that you guys don't have definitive deadlines for changes, but do you by chance have a rough target? Just wondering if this is more likely to be weeks or months before it's put together? Thanks.

@jgravois
Copy link
Contributor

we are discussing the possiblity of adding hardcoded windows web tier credentials in the proxy.config (in addition to token credentials). we don't have any current plans to support passing authentication details from the client request dynamically.

@msereda
Copy link

msereda commented Apr 25, 2014

Oh I see. Thanks for clearing that up John, I guess I'll just have to try writing my own.

@jgravois
Copy link
Contributor

@ReticulatingMoP sounds good. we're definitely accepting pull requests.

@esoekianto
Copy link
Contributor Author

fixed at #118

@pfoppe
Copy link
Contributor

pfoppe commented Aug 21, 2017

We are configuring our IIS application pool identity to a 'headless service account' that has been configured for access to our 'web-tier' secured services. PR 309 was merged into the master in MAY 2017. Technically we are getting web-tier authentication working from the proxy making requests to the back-end servers running Microsoft Integrated Windows Authentication. You might find this useful getting you proxy working with web-tier services...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

8 participants