edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Karl Dahlke <eklhad@comcast.net>
To: edbrowse-dev@lists.the-brannons.com
Subject: [Edbrowse-dev] A possible login issue on gkg.net
Date: Wed, 07 Mar 2018 07:30:26 -0500	[thread overview]
Message-ID: <20180207073026.eklhad@comcast.net> (raw)
In-Reply-To: <alpine.LRH.2.03.1803061547210.20263@carhart.net>

[-- Attachment #1: Type: text/plain, Size: 1565 bytes --]

The thing we have to remember, I have to remember, is when the second page issues a 403 error, there's no point in looking at the second page, neither its html nor its js nor its css.
The error occurred before we got any of that data.
It's all about the first page, and the http exchange to fetch the second page, which looks right to me, according to db4.
I did something I haven't done in years, downloaded lynx and ran it.
With no screen readers etc, this is the only other browser I can run.
I pulled up the home page, put in a fake login and password, went to the next page, and got the same 403.
So lynx doesn't handle it either, and lynx probably does cookies properly, and certainly sends the post request properly, so that rules out a couple of things.

The next step, which I am not able to do, is to run this in chrome or firefox and sniff the packets as they go by,
and see exactly what http headers it is sending to gkg to get the second page.
If you have a proxy server with monitor perhaps you could use that instead of a packet sniffer.
That might be worthwhile if we were serious about debugging edbrowse in the ongoing future,
so we could compare and contrast internet traffic.
Logically, if we send exactly the same http headers as firefox, it will work.
Yes, I tried changing the user agent, that didn't help.

By coincidence, tsp ran into a 403 error, and we fixed it by fixing referer, which is part of the http headers, and was not being sent properly.
I was hoping that was it here, but referer looks right.

Karl Dahlke

      reply	other threads:[~2018-03-07 12:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-06 23:31 Chuck Hallenbeck
2018-03-06 23:42 ` Karl Dahlke
2018-03-06 23:54   ` Kevin Carhart
2018-03-07 12:30     ` Karl Dahlke [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180207073026.eklhad@comcast.net \
    --to=eklhad@comcast.net \
    --cc=edbrowse-dev@lists.the-brannons.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).