Windows error 0x80090308, -2146893048

Detailed Error Information

SEC_E_INVALID_TOKEN[1]

MessageThe token supplied to the function is invalid
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode9 (0x009)
NameFACILITY_SSPI[2][1]
DescriptionThe source of the error code is the Security API layer.[2][1]
Error Code776 (0x0308)

Questions

5votes
0answers

CURL FTPS failure (InitializeSecurityContext)

Using Curl 7.55.1 on Windows 10 attempting to confirm an FTPS server is using TLSv1.2. (If there's a better/easier way to do this, feel free to let me know) I am running the command curl -v --insecure --tlsv1.2 ftps://[server:port] and receive the following response: * Trying [server]... * TCP_NODELAY set [...] read more
ssl
curl
5votes
0answers

curl: (35) schannel: next InitializeSecurityContext failed: SEC_E_INVALID_TOKEN (0x80090308) - The token supplied to the function is invalid

Guys I'm trying to solve this issue and I'm kinda desperate now after failing so many times. I am trying to deploy my django app on apache I configured a license but I am getting this error curl: (35) schannel: next InitializeSecurityContext failed: SEC_E_INVALID_TOKEN (0x80090308) - The token supplied to [...] read more
django
apache
2votes
0answers

MSSQL Server 2017 on Centos - AD auth - SSPI handshake failed

We have SQL Server 2017 installed on CentOS and connected to domain according to this tutorial - https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-active-directory-authentication?view=sql-server-2017 . Every day every 12-24 hours SQL rejecting AD domain logins: sssd[18880]: ; TSIG error with server: tsig verify failure # Error: 17806, Severity: 20, State: 14. # SSPI handshake failed with [...] read more
centos
active-directory
sql-server
2votes
0answers

AD DC - Error 4625 Status 0x80090308

I recognzie a small amount of Event 4625 entries with a status of 0x80090308 and substatus 0x0; 2% over all 4625's. It is basically a failed logon but without any information I could use to look further into it. And that's the point which draws my intereset. I don't know [...] read more
active-directory
windows-server-2012-r2
windows-event-log
2votes
0answers

Doing SSL on Windows8 Metro app

I am trying to do implement a simple C# XMPP client that can exchange messages with the facebook chat server. On the facebook chat api page(https://developers.facebook.com/docs/chat/), it specifies that the messages need to be send over TLS for the setup to be successful, which leads me to my problem. I [...] read more
c#
ssl
microsoft-metro
1vote
0answers

VisualStudio won't accept credentials in enterprise environment - StatusCode: 0x80090308

I'm currently using Visual Studio Community 2015, Version 14.0 Update 3. My problem is, that I can't connect to my own MS TeamFoundationServer 2015 from my workplace. The problem is definitely not missing access rights, because I can connect from anywhere except my office. I try to add my TFS [...] read more
active-directory
windows-server-2012
visual-studio
team-foundation-server
ntlm
1vote
0answers

Angular / Express SSO authentication error

I have a local server made with express and angular 9 for client side. I try to authenticate using a npm module called node-expose-sspi but I always get 401 Unauthorized with error: > UnauthorizedError: Error while doing SSO: AcceptSecurityContext: > SECURITY_STATUS incorrect (<0): (error code: 0x80090308) The token supplied to [...] read more
angular
express
authentication
single-sign-on
1vote
1answer

Have issue during curl URL for REST API used Flask url: (35) schannel: next InitializeSecurityContext failed

I have design web app using Flask for REST API server for get id and key from frontend, backend will get info and do some action (only using POST method) curl command curl -X POST -H "Content-Type:application/json" --data "{/"account_id/":/"100002/", /"access_key/":/"AKIAWDL6TY5M2INS6J7E/"}" https://192.168.172.130:443/account However, when I am using curl command as below: [...] read more
python
rest
flask
1vote
0answers

how to debug ntml authentication with titanium web proxy

I am setting up a c# proxy, which authenticates all http negotiate requests with the usercredentials running the proxy. Sadly, using the titanium web proxy i am not able to authenticate via NTML / NTMLV2. Regarding to the github repository, this feature should work out of the box (when setting [...] read more
c#
proxy
ntlm-authentication
titanium-web-proxy
1vote
0answers

how to install gganimate in R

I am trying to install gganimate in Rstudio, but failed. Before submitting this question, I have already searched for similar question. I tried the following code people recommend, but it does not work. library(devtools) library(RCurl) library(httr) set_config( config( ssl_verifypeer = 0L ) ) devtools::install_github("RcppCore/Rcpp") devtools::install_github("thomasp85/gganimate") > Error in curl::curl_fetch_memory(url, handle [...] read more
r
1vote
1answer

winhttp WINHTTP_CALLBACK_STATUS_FLAG_SECURITY_CHANNEL_ERROR

I am using Casablanka Rest SDK with Visual C++ 2015. The Casablanka SDK is based on winhttp. Whenever a request is sent over SSL, an exception is received. The exception is: "SSL error: WINHTTP_CALLBACK_STATUS_FLAG_SECURITY_CHANNEL_ERROR internal error." The problem is only with Windows 2008 R2 server. My laptop running Windows 10 [...] read more
c++
rest
sdk
winhttp
0votes
0answers

Transparent reverse proxy to SSL host

I'll just explain my case. I have a HTTPS website say https://**site.com which is located on some servers. Those server IPs are blocked for the clients. So I need to make this site available for clients browsers transparently. So client browser goes to https://unblocked.**site.com and gets the requests content as [...] read more
nginx
squid
0votes
0answers

Intermittent SEC_E_INVALID_TOKEN (0x80090308) when performing SSH requests

I'm currently working with a client (a government institution) to automate some data gathering, and I've written some python scripts to gather data from a REST API. The client is behind a corporate firewall, which traps malicious traffic (viruses, EXE-files etc.), and they have a self-signed root CA certificate MITM [...] read more
windows-10
ssh
curl
0votes
0answers

Getting Curl error while token supplied as invalid in mapped port

My .yml file code Quert-authentication: image: datadog/squid networks: - prod-tese-network container_name: Quert-authentication volumes: - ./conf/squid/authenticated:/etc/squid ports: - 12000:3128 I am making this container using command : "docker-compose -f filename.yml up --build -d" Now as per my understanding port 12000 in my local host is mapped to 3128 port of docker. [...] read more
docker
curl
0votes
3answers

cannot connect to TFS 2015 git repository from Jenkins

I cannot connect to my TFS 2015 git repository from Jenkins. I keep getting the following error: Failed to connect to repository : Command "C:\Program Files\Git\bin\git.exe ls-remote -h -- https://tfsservername/tfs/DefaultCollection/_git/reponame.git HEAD" returned status code 128: stdout: stderr: Logon failed, use ctrl+c to cancel basic credential prompt. fatal: Authentication failed for [...] read more
git
jenkins
tfs
tfs-2015
0votes
0answers

R quantmod: Connection error when pulling data

I am trying to pull some stock quotes for Amazon via quantmod. I just downloaded the package for the first time and am using R x64 3.5.3. When I run this code: library(quantmod) amzn = getSymbols("AMZN",auto.assign=FALSE) I get the following error: Error in curl::curl_download(cu, tmp, handle = h) : schannel: [...] read more
r
quantmod
0votes
1answer

SSPI WDigest Server Vaildation Failure

I'm trying to get the Win32 SSPI API to validate a challenge response from a client. The call to AcceptSecurityContext is always failing with either SEC_E_INVALID_TOKEN (0x80090308) or SEC_E_INTERNAL_ERROR (0x80090304). I've stripped down the problem to this sample code: #define SECURITY_WIN32 #define WIN32_LEAN_AND_MEAN #include <Windows.h> #include <security.h> #include <wdigest.h> #include [...] read more
winapi
sspi
0votes
1answer

Can't access to Dashboard from my desktop in LAN

I installed a raspberry pi Kubernetes cluster at home. I wanted to access to a dashboard to monitor things in my private network. So I installed the arm version of k8s dashboard. The service is up and running : NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE default kubernetes ClusterIP 10.96.0.1 [...] read more
kubernetes
lan
kubernetes-service
kubernetes-dashboard
0votes
1answer

How do I download gridded sst data?

I've recently been introduced to R and trying the heatwaveR package. I get an error when loading erddap data ... Here's the code I have used so far: library(rerddap) library(ncdf4) info(datasetid = "ncdc_oisst_v2_avhrr_by_time_zlev_lat_lon", url = "https://www.ncei.noaa.gov/erddap/") And I get the following error: > Error in curl::curl_fetch_memory(x$url$url, handle = x$url$handle) : [...] read more
heatmap
0votes
1answer

C++ and Curl: Failed to receive handshake, need more data

I am trying to access a FTP using credentials. I have never used curl and have limited understanding of what I'm doing, although I did research a lot of the functions I used. I have once developped a working FTP client and server in C, but it was unix only [...] read more
c++
ssl
curl
ftp
certificate
0votes
0answers

NTLM authentication token invalid only from Apache HttpClient

I'm trying to use NTLM authentication in HttpClient 4.3.3 as follows: BasicCredentialsProvider credentialsProvider = new BasicCredentialsProvider(); AuthScope authScope = new AuthScope(uri.getHost(), uri.getPort(), AuthScope.ANY_REALM, "ntlm"); credentialsProvider.setCredentials(authScope, new NTCredentials(username + ":" + password)); context.setCredentialsProvider(credentialsProvider); I see it negotiating NTLM state up to MSG_TYPE3_GENERATED before the server fails with 404.1 and logs The [...] read more
android
iis
apache-httpclient-4.x
ntlm
apache-commons-httpclient

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0