I have a service fabric (on-premises) application written in .NET Framework 4.6.1 with one service with WebAPI using OWIN. When I make wrong request (bad uri) to api on local machine cluster it gives me 404 not found but when I deploy it to server and try same uri it takes some time and finally give FABRIC_E_TIMEOUT. I tried to add some custom IHttpControllerSelector and IHttpActionSelector like in this article https://dzone.com/articles/handling-http-404-error-aspnet but it was not helping. What can I do to make app on server work like on local cluster and return 404 immidiatelly?
Related Questions in ASP.NET-WEB-API
- Implement Onfailure in webApi controller
- WebApi: Reading errors
- Why web API return 404 when deploy to IIS
- One Web API calls the other Web APIs
- colon(:) in url causes error in asp.net
- Make a per-web-application object available to Web API and SignalR controllers
- Using Azure MobileServices library with my own LAN WebApi
- redirect to actionResult method from an api
- How to catch postpack result to Web Api
- Exposing webapi to third party
- .net Web Api 2 Owin authentication token expires suddenly and often on IIS 8.5
- Can you use the same token in ADFS for 2 different relying parties?
- Does 'api/SomeEntity/ForOtherEntity/{otherEntityId}' break REST?
- Generic webAPI method based on parameter types of arrays
- Where can I find user identity when using webapi with Windows Authentication on IIS8
Related Questions in OWIN
- Make a per-web-application object available to Web API and SignalR controllers
- .net Web Api 2 Owin authentication token expires suddenly and often on IIS 8.5
- Identity 2.0 After Login go to Infinite Loop asp.net mvc 5
- How to define multiple partial Owin Startup classes and have them all run their code
- How to use IAppBuilder-based Owin Middleware in ASP.NET 5
- How to create a Certificate Signing Request (CSR) OWIN Selfhosted
- URL Rewrite Module (IIS) not working with OWIN Middleware hosted on IIS
- Integrating social networks authentication. Asp.Net MVC
- Owin and switch user
- How to store session data using Owin hosting?
- MVC5 Login to custom Database
- OWIN Authentication Server for multiple applications
- Owin Websockets - Understanding IOwinContext and WebSocketAccept
- Web API 2 action parameter becomes null after enabling OpenId Authentication
- Microsoft.AspNet.Identity.Owin.OwinContextExtensions doesn't seem to work
Related Questions in AZURE-SERVICE-FABRIC
- Pub/sub pattern in Azure Service Fabric
- Azure Service Bus 1.1 Failing to Start
- Should actors/services be split into multiple projects?
- Viewing processes, cores, threads and end points of a Azure Service Fabric application
- Windows Azure Service Fabric count not start
- Service Fabric, Akka.net and Persistent actor integration
- Service Fabric deployment in the cloud
- Host MVC app on Azure Service Fabric
- Share queue with two or more stateful services within Service Fabric
- Service Fabric Client on Azure App Service. Unable to load DLL 'FabricCommon.dll'
- Service Fabric ApplicationManifest parameterized certificaterefs?
- ASP.NetCore Website error when added to Service Fabric
- HTTPS endpoints not working in Service Fabric local cluster
- Thumbprint::Initialize: Failed to parse 9CD9F80CB5B0FB999
- Service Fabric: Is it possible to run both Linux and Windows nodes
Related Questions in SERVICE-FABRIC-ON-PREMISES
- Use SSL Certificate on local ServiceFabric httpGatewayEndpointPort
- Standalone Service Fabric and Maintaining Seed Nodes
- Tool for explore and query ETW logs from Service Fabric on premise
- Service Fabric - Use Docker Hub As Container Registry (existing .net Application)
- Application Insights with ServiceFabric StatefulServices and .Net Core 2.1
- how to connect app engine and on premise server through VPN?
- Get the port assigned to the current service in Service Fabric
- ServiceFabric deployment. Modify hosts on hosted agent
- Docker Windows Container with Service Fabric on Windows Server
- FABRIC_E_TIMEOUT only on server?
- V2Listener not found error
- Azure Service Fabric reset
- Service Fabric (On-premise) Routing to Multi-tenancy Containerized Application
- Service Fabric project fail to add reference to Microsoft.ApplicationInsights.ServiceFabric.Native
- Getting error as part of trying to upgrade Service Fabric Application using Start-ServiceFabricApplicationUpgrade
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?