I have been playing with jhs, and sometimes when I save a temp file
and then run it, I get a 409 error from the attempt to run it.

So I reload the jijx window, and that succeeds, but the browser
immediately follows that with a request for favicon.ico, which looks
like this:

GET http://127.0.0.1:65001/favicon.ico HTTP/1.1
Host: 127.0.0.1:65001
Connection: keep-alive
Accept: */*
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/34.0.1847.131 Safari/537.36
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8

And so JHS responds with:

HTTP/1.1 409 Conflict
Content-Type: text/html; charset=utf-8
Connection: close


get/post request failed<br>
response code 409<br>
application did not produce result<br>
try browsing to url again<br>
additional info in jijx

Which basically means I have to shut down jhs and restart it, because
once a 409 error has been sent, further requests like this:

POST http://127.0.0.1:65001/jijx HTTP/1.1
Host: 127.0.0.1:65001
Connection: keep-alive
Content-Length: 56
Origin: http://127.0.0.1:65001
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/34.0.1847.131 Safari/537.36
Content-Type: text/plain;charset=UTF-8
Accept: */*
Referer: http://127.0.0.1:65001/jijx
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8

jdo=%20%20%20i.2&jtype=enter&jmid=log&jsid=&jdata=&jwid=

get a response which looks like this:

HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Cache-Control: no-cache
Content-Length: 207

<div 
class="file">*** response not sent for favicon.ico</div><div
class="file">*** html409 Conflict</div><div
class="log">i.2</div><div id="prompt"
class="log"></div>

Has anyone seen anything like this before? If so, what did you do to resolve it?

Or do I need to debug this myself?

The relevant code looks to be in addons/ide/jhs/core.ijs, specifically:

if. _1~:SKSERVER do. try. ".'urlresponse_',URL,'_ y' catch. end. end. NB. jijx
if. _1~:SKSERVER do. jbad'' end.

But I do not have enough of an understanding of the ideal here, to
know what changes would be advisable.

Thanks,

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to