Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
765 views
in Technique[技术] by (71.8m points)

c# - How to fix WCF - Bad Gateway Error (502) in local

I'm working on a maintenance MVC.Net project. This project consume WCF service(as a Client). When I run the application locally through Visual Studio I'm getting "The remote server returned an unexpected response (502) bad gateway" error from the WCF Service. Same project works well for other developers.

When debugging I see this message in the proxy object :

InnerChannel = Obtaining the runtime type of transparent proxy is not supported in this context

I tested the WCF Service using WCF Test Client and it worked well. I compared PROXY (Internet Explorer > Connection > LAN > Proxy settings) and I don't see any difference with other developers.

I believe this is due to default PROXY settings and I would like to know the fix for this.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...