X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.22.2a (ClamAV engine v0.102.2) X-Junk-Score: 0 [] X-KAS-Score: 0 [] From: "Jeffrey Schmitz" Received: from mout.perfora.net ([74.208.4.197] verified) by selbstdenker.ag (CommuniGate Pro SMTP 6.3.3) with ESMTPS id 25552792 for webobjects-dev@wocommunity.org; Thu, 11 Mar 2021 00:49:54 +0100 Received-SPF: none receiver=post.selbstdenker.com; client-ip=74.208.4.197; envelope-from=jeff.schmitz@netbrackets.com Received: from mbp2018.attlocal.net ([104.190.211.55]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPSA (Nemesis) id 0MLvj8-1lNPpw2KK4-007lzR for ; Thu, 11 Mar 2021 00:49:32 +0100 Content-Type: multipart/alternative; boundary="Apple-Mail=_72CE58A4-D2B2-46C8-9750-F6D711EDDCFD" Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: [WO-DEV] address isn't valid error Date: Wed, 10 Mar 2021 17:49:31 -0600 References: To: WebObjects & WOnder Development In-Reply-To: Message-Id: <0FA15C55-1DB6-43EB-9E05-45658DBD699B@netbrackets.com> X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Provags-ID: V03:K1:m4Jicorvi0uvhLZKURd3o/4JLMzep6oh5pj4aViuJ5JDUy6pEJP +B8ZtBaiRbh8p2sXOc0Yi1uPKZjpMG4wEnyvy2uF8VN2ScSZWYRjZbl1vue2/NthVnuZsy5 LZOIKwBDzqKxvtB8kz8VlSWLMmHkdMT6YypiFcpnrkQw7uBPuxpuWwxWRLx8/uu8kQ3hTB9 VL2rECKprwrQAEHj3KuKw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:qYDv5qiitFk=:O63W8DwJ26yy1pW9A1Ohdn AZEyPcQbBWrI9RWxpe4UYqwfyutzmROj37m8pKKZegzYRor3tP6HhJah8XbiVAiffWzTQ9Mat lSAsyHdP5GODqLiwDC9xkI6obZ03l3xXY7MVM5GH6VMxJLGzwM8uXPXJ6uXX9QSlzuU806xzG /uSQijc+mzrbBGQKhTB66aZ1zG78Cdo9MD34mOr52aXlPatrockbm8wc97H0r2w6dWRmlah0i cIiTZPbHZ3as2CMxKv4eu0+EJreM5M9EguVdwTW3e6QWYKmwfS8EbHrcfuwDkDWDe5Yp6zXP+ 4SPfiKbEXOSmJtuU5YU8nKc3WiKqWn2/8eUWAC6axQW7PKj7uDaLw5GVA3i8m9ChnlA3F5xJK CLpiliiEYfIACQLOe3cMtzt130VP4BGqWrSqA8iNxZcHqAR54WDcE18k0SjDUH0YKg98XaIPg KwwqMR9k91oTSsgwcQV5NXdTPtelUcs= --Apple-Mail=_72CE58A4-D2B2-46C8-9750-F6D711EDDCFD Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 The error had to do with a bad check I was doing for if the app was = running in the dev environment, in which case it doesn't make any of the = pages encrypted. It was based on a specific home network, but I just = added a second one and my laptop sometimes connects to it. So.. it was trying to generate an encrypted page when running in direct = connect mode. I'm not sure why it would lead to the error I was seeing = which didn't indicate that the URL being processed by the browser was a = secure one (no https and no secure port), but I can certainly see where = it would lead to an error. btw, here is the error Firefox was giving.. The site at = http://localhost:49292/cgi-bin/WebObjects/netBrackets.woa/wa/poolLogin?wos= id=3Dvb8wmpwIAAHfPJVx35pJCg = has experienced a network protocol = violation that cannot be repaired. Jeff > On Mar 10, 2021, at 11:29 AM, Aaron Rosenzweig = wrote: >=20 > Jeff, probably spoked Safari=E2=80=99s content blocker or a safari = extension of some sort causing grief.=20 >=20 > I=E2=80=99d first try a different browser like Firefox or Chrome and = see if it is =E2=80=9Cok=E2=80=9D - if it is, then you know it=E2=80=99s = a Safari issue.=20 >=20 > If you can narrow it to Safari then try disabling extensions (if you = have them) and the content blocker too. If it starts working then you = need to think harder about what is different.=20 >=20 > I don=E2=80=99t know, maybe there is a JS error=E2=80=A6 maybe you = think the two URLs load the same but did you verify the HTML source that = they generate through another browser?=20 >=20 > Yeah, it=E2=80=99s a head scratcher for sure but those are my first = thoughts.=20 >=20 >> On Mar 9, 2021, at 7:05 PM, Jeffrey Schmitz = > = wrote: >>=20 >> Hello List, >> I'm using direct connect for local development on my laptop, and = all the sudden when I bring up my app, if I click to go to any page I = get (for example): >>=20 >> "Safari can't open the page = localhost:65449/cgi-bin/WebObjects/netBrackets.woa/wa/poolLogin because = the page's address isn't valid" >>=20 >> Note that the main page comes up fine. >>=20 >> http://localhost:65449/cgi-bin/WebObjects/netBrackets.woa = >>=20 >> but the below page does not because the "address isn't valid" = according to Safari: >>=20 >> = http://localhost:65449/cgi-bin/WebObjects/netBrackets.woa/wa/poolLogin = >>=20 >> I set my debugger to block in the performActionNamed function in the = DirectAction class, and that seemlngly returns a good WOActionResults = object. >>=20 >> Any ideas what might be causing this? I've tried using Apache to = debug but I always get an Application can't be found error when I run my = app to debug, but that's another story. >>=20 >> Jeff >=20 --Apple-Mail=_72CE58A4-D2B2-46C8-9750-F6D711EDDCFD Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 The = error had to do with a bad check I was doing for if the app was running = in the dev environment, in which case it doesn't make any of the pages = encrypted.  It was based on a specific home network, but I just = added a second one and my laptop sometimes connects to it.

So.. it was trying to = generate an encrypted page when running in direct connect mode. =  I'm not sure why it would lead to the error I was seeing which = didn't indicate that the URL being processed by the browser was a secure = one (no https and no secure port), but I can certainly see where it = would lead to an error.

btw, here is the error Firefox was giving..

The site = at http://localhost:49292/cgi-bin/WebObjects/netBrackets.woa/wa/po= olLogin?wosid=3Dvb8wmpwIAAHfPJVx35pJCg has experienced a = network protocol violation that cannot be repaired.

Jeff

On Mar = 10, 2021, at 11:29 AM, Aaron Rosenzweig <webobjects-dev@wocommunity.org> wrote:

Jeff, probably spoked = Safari=E2=80=99s content blocker or a safari extension of some sort = causing grief. 

I=E2=80=99d first try a different browser like Firefox or = Chrome and see if it is =E2=80=9Cok=E2=80=9D - if it is, then you know = it=E2=80=99s a Safari issue. 

If you can narrow it to Safari then try = disabling extensions (if you have them) and the content blocker too. If = it starts working then you need to think harder about what is = different. 

I don=E2=80=99t know, maybe there is a JS error=E2=80=A6 = maybe you think the two URLs load the same but did you verify the HTML = source that they generate through another browser? 

Yeah, it=E2=80=99s a = head scratcher for sure but those are my first thoughts. 

On Mar 9, 2021, at 7:05 PM, Jeffrey Schmitz <webobjects-dev@wocommunity.org> wrote:

Hello List,
   I'm using direct connect for local development = on my laptop, and all the sudden when I bring up my app, if I click to = go to any page I get (for example):

  "Safari can't open the page = localhost:65449/cgi-bin/WebObjects/netBrackets.woa/wa/poolLogin because the = page's address isn't valid"

Note that the main page comes up = fine.

http://localhost:65449/cgi-bin/WebObjects/netBrackets.woa

but the below = page does not because the "address isn't valid" according to = Safari:


I = set my debugger to block in the performActionNamed function in the = DirectAction class, and that seemlngly returns a good WOActionResults = object.

Any = ideas what might be causing this?  I've tried using Apache to debug = but I always get an Application can't be found error when I run my app = to debug, but that's another story.

Jeff


= --Apple-Mail=_72CE58A4-D2B2-46C8-9750-F6D711EDDCFD--