http-status-code-401 Questions

4

Solved

I'm tried to pull some SharePoint 2013 list data I created which works fine when running locally on my machine and when run locally one the server. I'm user the same credentials when running both l...

1

We are getting intermittent 401 Unauthorized errors from Google's GCM service. In the past, it worked 100% of the time. The problem might coincide with our routers accepting IPv6 traffic, but the p...

2

I have a part of my website protected by auth_basic : location / { auth_basic "Authorization Required"; auth_basic_user_file .htpasswd; index app.php; try_files $uri @rewriteapp; } For una...
Scholem asked 24/1, 2013 at 12:7

1

I've never seen this happen before: I've decorated a controller with an [Authorize (Roles = "Admin"]attribute, but instead of sending unregistered/un-signed users to the Login View via 302 redirect...

1

Solved

I am trying to connect to a site that is running on IIS on my local machine. When I am using Anonymous Authentication, it works fine in Chrome and Firefox, but in IE I get HTTP Error 401.0 - Unaut...

2

Can anyone give a help in Vimeo API using scribe? My goal is to access a private video (which I uploaded) without having to force the user to put password (this process should be done in background...
Bat asked 28/9, 2012 at 15:30

1

Solved

We have developed a WPF Application with C# and are using RestSharp to communicate with a simple Web Service like this: Client = new RestClient(serviceUri.AbsoluteUri); Client.Authenticator = new ...
Eastnortheast asked 11/8, 2015 at 8:34

5

I have made an ASP.NET MVC 3 Intranet site with Windows Authentication enabled: in the Visual Studio project file properties in the web.config, i.e. <authentication mode="Windows"/> on the ...

4

I successfully implemented role based authorization in ASP.NET. When a person does not have the needed role he gets to see an error page for 401.2 not authorized. What I would like to accomplish ...
Rubyeruch asked 13/1, 2010 at 13:47

1

Solved

I have a script running on a web page that needs to use the JQuery $.ajax method (currently using jquery 1.7.2) to submit several GET requests to a service endpoint on a different domain. I have th...
Corbin asked 21/4, 2015 at 20:14

2

Solved

I'm creating a RESTful service to provide data to a web application. I have two related questions about this. 1. How to deal with unauthorized requests? I'm intending to respond to requests with ...

1

Solved

My code runs successfully when tested within the Eclipse IDE. I'm connecting to MS SharePoint 2010 via Web Services using the generated Copy.wsdl When I deploy my code on the JBoss server (Runni...

1

Solved

I am running the below program.But am getting the below error Message. 401 **** 401 **** (keeps on repeating) The code(got from some forum) basically tries to connect to Twitter and fetch tweets. ...
Sandy asked 9/11, 2014 at 11:44

5

Solved

I am getting 401 unauthorized error . My web service is written in mvc . in IIS configured to use windows authentication. Below is screen shot of fiddler When I hit URL from browser it gives me p...
Suboceanic asked 7/8, 2013 at 15:8

2

Solved

I am writing a REST client for CouchDB in Java. The following code should be quite standard: this.httpCnt.connect(); Map<String, String> responseHeaders = new HashMap<>(); int i = 1...
Isoclinal asked 11/5, 2014 at 13:56

1

Solved

Chrome throws 401 restricted errors for Basic auth'd IMG-urls in the vein of http://user:[email protected]/image, but did not do this before with the same resources and code. When called direc...
Arcanum asked 8/10, 2013 at 9:31

0

I have a WPF client application which calls multiple ASMX webservices I keep on getting 401 authentication errors. Sometimes for whatever reason one succeeds whereas the other one fails but then ...
Ressieressler asked 6/11, 2013 at 7:42

2

Solved

We're in the process of developing a WCF REST web service which just receives a bunch of arbitrary text from any anonymous user and then performs some processing on the back end. For example, here...
Kugler asked 17/8, 2011 at 15:45

2

I'm working my ASP.NET MVC 2 project. I create exception filter for catching unauthorized access exception that occur when user does not has permission to view some action. [CustomError(typeof(Una...
Corpora asked 5/12, 2010 at 10:27

3

I'm trying to get the html code of certain webpage, I have a username and a password that are correct but i still can't get it to work, this is my code: private void buttondownloadfile_Click(objec...
Sovran asked 10/1, 2010 at 21:56

1

Solved

Angular.js v1.0.6 When making an $http.post and receiving a non 200 resposne (401 in this case) $http.post('http://localhost:3030/auth/login', { username: 'username', password: 'password' }) .s...
Motherofpearl asked 16/5, 2013 at 14:11

1

Solved

Is there a simple way I can encode a front-end php redirect to a custom page upon error? I have a page in a directory protected by an .htaccess password, but if you cancel the system dialog or ent...
Bon asked 10/5, 2013 at 9:47

1

Solved

I'm having trouble discerning why my app is returning a 401 Unauthorized. Other actions in my Institutions controller are working just fine while not signed in. However, this and another page are r...
Lollapalooza asked 25/4, 2013 at 18:46

2

I'm calling an api through javascript using a jQuery.ajax call. The api respond with 401 if the user is not authenticated and I want to ignore this error only for this call. I've tried all the call...
Zygosis asked 15/1, 2013 at 12:37

1

This is a strange one. They always are when I get to this point. I have an MVC app. It's a single page app so all routes are ajax calls but I don't think this is relevant. Strangely and all of a ...

© 2022 - 2024 — McMap. All rights reserved.