[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cookie=.AspNetCore.Identity.Application not sent (expired)
Hi, I have spent many hours searching the Archive for why the cookie
is not being sent before resorting to this post. The only thing I
found was a reference to "Temporary" cookies which would not be
exported to the cookie file if specified. I think it was also implied
it would not be sent back up on the next attempt to do something in the
same session as well. It was mentioned in the HTTPAPI and Cookie
support or the Cookie testers wanted thread.
The cookie has an expiration of "cookie attr expires=Sun, 11 Dec 2016
15:29:54 GMT" and the web side developers assure me that it is not
temporary.
See the log below.. thanks in advance for any suggestions. I will
investigate and test them immediately.
HTTPAPI Ver 1.32 released 2016-02-10
NTLM Ver 1.4.0 released 2014-12-22
OS/400 Ver V7R1M0
New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819. ProtLoc=0
http_url_post(): entered
http_persist_open(): entered
http_long_ParseURL(): entered
DNS resolver retrans: 2
DNS resolver retry : 2
DNS resolver options: x'00000136'
DNS default domain: i5-microfirst.local
DNS server found: 192.168.200.254
DNS server found: 10.30.0.54
DNS server found: 10.0.0.11
Nagle's algorithm (TCP_NODELAY) disabled.
http_persist_post(): entered
http_persist_req(POST) entered.
http_long_ParseURL(): entered
http_long_ParseURL(): entered
do_oper(POST): entered
cookie_read(): read cookies from /home/DLERMAN/mbvCookie.txt
There are 0 cookies in the cache
POST /api/Login HTTP/1.1
Host: 10.0.1.248
User-Agent: http-api/1.32
Content-Type: application/json
Content-Length: 54
senddoc(): entered
{"User":{"UserName":"password1","Password":"password1"}}
recvresp(): entered
HTTP/1.1 200 OK
Cache-Control: no-cache
Pragma: no-cache
Transfer-Encoding: chunked
Content-Type: application/json; charset=utf-8
Expires: -1
Server: Kestrel
Set-Cookie:
.AspNetCore.Identity.Application=CfDJ8Labg42Ph2VBp9zbMgWAc60I67FKD-oOam
NZ_ZppLy0OccHNF1xxIsjDWxHjWuMu00oaqLAdIE3_z-20IqJxUXzlugoDkEyey5Ewcp6RF
hiMoHm-cxlPZOTTL7SyIHkk9kiLImwYqHbBRmTgJva4VX4Y808LmTslQmT6N7EIfz-E2HZI
NBCKeKXIyqjGpm4VuRjdc0-Q9f876RJnINUY8TmdrlhbAYHYXhRrtzo4ZpbzkfGqLEY0cST
ALFz9ziR0N_qiK-EeHcl4yXLsWeWvFpOz1lc9Idj5f8hil2qyQweNvSYSIb3_0-ORBHRxVr
EsLKN8CQg8kjWD3kLcIqUavA43XhXwkemKiny858dS3r8fEOGwz89vnkz585dCqOPCW0wb8
Cim-nZf_SuE8L8FDtn_io_al3A5xsY1SMxxN0iO9DJsJtwUvOw8T9MM8-iJRTLmhuXOYYCB
J_KLVeRXPVgWXVnshjDOxoKx1yUjA4iEsIbNtM26Jmvw7tNou3Xctiauscu9CjW316cPG4-
tu0DqJnA4Flxg0zZmNABjKHvw_Ho8qSqaMKA9aKB-rqPoXbZkDTWfYCiWMnow4j0EADkNdn
Ih3FrK65XkzlGDFe6aOCVqxhDmGJ89D535GBFY0tDRjck_m9WRCFfT5J2WehSRGrpY46Qy0
d1DJL9b8TflrLBHZp0jIdCMPTc2V8KM83WNNjSjIIEfgg2Gwcb9VcU; expires=Sun, 11
Dec 2016 15:29:54 GMT; path=/; httponly
Date: Thu, 01 Dec 2016 15:29:56 GMT
SetError() #13: HTTP/1.1 200 OK
recvresp(): end with 200
recvdoc parms: chunked 0
header_load_cookies() entered
cookie_read(): read cookies from /home/DLERMAN/mbvCookie.txt
cookie_parse() entered
cookie =
.AspNetCore.Identity.Application=CfDJ8Labg42Ph2VBp9zbMgWAc60I67FKD-oOam
NZ_ZppLy0OccHNF1xxIsjDWxHjWuMu00oaqLAdIE3_z-20IqJxUXzlugoDkEyey5Ewcp6RF
hiMoHm-cxlPZOTTL7SyIHkk9kiLImwYqHbBRmTgJva4VX4Y808LmTslQmT6N7EIfz-E2HZI
NBCKeKXIyqjGpm4VuRjdc0-Q9f876RJnI
cookie attr
.AspNetCore.Identity.Application=CfDJ8Labg42Ph2VBp9zbMgWAc60I67FKD-oOam
NZ_ZppLy0OccHNF1xxIsjDWxHjWuMu00oaqLAdIE3_z-20IqJxUXzlugoDkEyey5Ewcp6RF
hiMoHm-cxlPZOTTL7SyIHkk9kiLImwYqHbBRmTgJva4VX4Y808LmTslQmT6N7EIfz-E2HZI
NBCKeKXIyqjGpm4VuRjdc0-Q9f876RJ
cookie attr expires=Sun, 11 Dec 2016 15:29:54 GMT
cookie attr path=/
cookie attr httponly=
cookie_dump() entered.
cookie file is /home/DLERMAN/mbvCookie.txt
recvchunk(): entered
get_chunk_size(): entered
152
chunk size = 338
get_chunk_size returned 338
calling comm_blockread
{"Claims":{"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/namei
dentifier":"ff66fbdf-72cb-4d02-af49-408915e80970","http://schemas.xmlso
ap.org/ws/2005/05/identity/claims/name":"Pitboss1","AspNet.Identity.Sec
urityStamp":"dbbac734-87e5-43b8-86cb-ea5f0e81e19e","http://schemas.micr
osoft.com/ws/2008/06/identity/claims/role":"Pitboss"}}
comm_blockread returned 338
get_chunk_size(): entered
0
chunk size = 0
get_chunk_size returned 0
http_close(): entered
HTTPAPI Ver 1.32 released 2016-02-10
NTLM Ver 1.4.0 released 2014-12-22
OS/400 Ver V7R1M0
http_url_get(): entered
http_persist_open(): entered
http_long_ParseURL(): entered
DNS resolver retrans: 2
DNS resolver retry : 2
DNS resolver options: x'00000136'
DNS default domain: i5-microfirst.local
DNS server found: 192.168.200.254
DNS server found: 10.30.0.54
DNS server found: 10.0.0.11
Nagle's algorithm (TCP_NODELAY) disabled.
http_persist_get(): entered
http_persist_req(GET) entered.
http_long_ParseURL(): entered
http_long_ParseURL(): entered
do_oper(GET): entered
cookie_read(): read cookies from /home/DLERMAN/mbvCookie.txt
There are 1 cookies in the cache
cookie=.AspNetCore.Identity.Application not sent (expired)
GET /api/Orders HTTP/1.1
Host: 10.0.1.248
User-Agent: http-api/1.32
recvresp(): entered
HTTP/1.1 401 Unauthorized
Transfer-Encoding: chunked
Content-Type: text/plain; charset=utf-8
Server: Kestrel
Date: Thu, 01 Dec 2016 15:30:01 GMT
SetError() #13: HTTP/1.1 401 Unauthorized
recvresp(): end with 401
recvdoc parms: chunked 0
SetError() #36: This page requires a user-id & password
http_close(): entered
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------