Truly bizarre this is. > On May 16, 2020, at 5:03 PM, Sam Ruby <ru...@intertwingly.net> wrote: > > OK, lets try two things. Working up from my zero dependency Ruby test > script first, try this Ruby program next: > > --- > require 'sinatra' > get '/' do > "Hello world! The time is #{Time.now}\n" > end > --- > > Once that is running, visit http://localhost:4567/
Like a charm, it works. I had left the tabs open from the previous tries and found that both localhost:3000 and 0.0.0.0:3000 had returned the ASF Roster Tool main page. But whimsy.local:3000 was still waiting for Godot. I had spent a goodly number of minutes before returning to the web pages, so I cannot tell exactly how long it took before returning. But at least 10 minutes. I'll try this again. New request returned within a minute. Restarting the server. Requesting localhost:3000 Seven minutes later the response came back. I was monitoring activity during the time. Throughout this, idle: 90%; system: 5%; user: 5%. Now I just have to learn to be patient. Any ideas on the 7 minute delay? And whimsy.local:3000 still hangs. Now that I'm past this particular issue, how do I configure clr.conf to access my local repo. It's looking for /srv/svn/iclas.txt but it actually should be looking for /Users/clr/apache/foundation/officers/iclas.txt. I have added this to my clr.conf in the whimsy directory: # for roster Alias /foundation /Users/clr/apache/foundation Alias /officers /Users/clr/apache/foundation/officers Alias /member_apps /Users/clr/apache/documents/member_apps Alias /iclas /Users/clr/apache/documents/iclas Alias /cclas /Users/clr/apache/documents/cclas Alias /grants /Users/clr/apache/documents/grants Alias /emeritus /Users/clr/apache/documents/emeritus Alias /emeritus-requests-received /Users/clr/apache/documents/emeritus-requests-received Craig > > Next, lets try working down from a full passenger application. From > the whimsy/roster directory, try the following command: > > bundle exec rackup > > Once that is running, visit http://localhost:9292/ > > - Sam Ruby > > On Sat, May 16, 2020 at 7:23 PM Craig Russell <apache....@gmail.com> wrote: >> >> 192.168.0.12:5678 works >> 192.168.0.12:3000 hangs >> localhost:3000 hangs >> localhost:5678 works >> whimsy.local:3000 hangs >> whimsy.local:5678 works >> 0.0.0.0 can't connect >> 0.0.0.0:3000 hangs >> 0.0.0.0:5678 works >> >> >>> On May 16, 2020, at 4:48 AM, Sam Ruby <ru...@intertwingly.net> wrote: >>> >>> On Sat, May 16, 2020 at 12:18 AM Craig Russell <apache....@gmail.com> wrote: >>>> >>>> While the script was running, I could reload the page and the time would >>>> change. Once I killed the script, the browser could not connect to the >>>> server any more. >>> >>> Cool. Now with both the test.rb and rake server running, try various >>> combinations of: >>> >>> hosts: 192.168.0.12, localhost, whimsy.local, 0.0.0.0 >>> ports: 5678, 3000 >>> >>> Which combinations work, and which do not? >>> >>> - Sam Ruby >> >> Craig L Russell >> c...@apache.org >> Craig L Russell c...@apache.org