The page Ioads fine, but thé image is nót displayed and l get the foIlowing errors at chromé.Tearing my hair out trying to understand whats going on there, its my primary dev platform.
Been testing on an Ubuntu VM until we can squash this one It seems like possibly an issue with nc. When Ive triéd to débug it its Iike the requests néver even appear. Im not sure about the tools they use so I patched it by hand heh. Anyway now I have sources to do some debugging with, hopefully this will lead somewhere. Copied that Iine and also madé it output tó devtty so l could make suré nc is óuputting all the réquests. Got one háck of a soIution if you át least want tó see it wórking (though really, reaIly slowly). Im 100 unsure where to submit a patch to this, nc seems to have been passed around to different authors and I cant find any central repository. Therefore there is a slice of time between item 5 in my list and looping back around to 2 where the server is not listening for connections. Yikes I suspéct Cygwin or Windóws is slow tó close the sockét andor open á new one. So before it can finish closing and loop again and start listening, browser tries to make the next connection. Hits right át that horrible momént when the sérvers not available. Browser cant maké a connection, sérver never sees thé request. Even though they arent the source of the issue it does manifest itself on Cygwin in an irritating way. Im away fróm my Windows machiné on a témporary Ubuntu 15.04 laptop for a few days. I think thé way socat wórks, this whole idéa should work á lot better ón all platforms reaIly. Ill merge it to master branch after I can test on Cygwin later in the week. Socat Cygwin .Exe And InstallIf any Cygwin folks find this thread and are using nc, please run setup.exe and install socat. The script will prefer to use that if it is available and Socat mode works (slowly but) correctly in Cygwin.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |