urbit / landscape

Product board for Landscape.
20 stars 6 forks source link

Landscape times out on load #1488

Closed invaliduser closed 2 years ago

invaliduser commented 2 years ago

Caddy file:

urbit@tornes-bidfet:~$ cat /etc/caddy/Caddyfile
tornes-bidfet.chickenkiller.com 
  reverse_proxy 127.0.0.1:8080

logs while starting ship:

urbit@tornes-bidfet:~$ ship-of-calm/.run --http-port 8080 -p 34543
~
urbit 1.10
boot: home is /home/urbit/ship-of-calm
loom: mapped 2048MB
lite: arvo formula 11a9e7fe
lite: core 38d4ad4d
lite: final state 38d4ad4d
loom: mapped 2048MB
boot: protected loom
live: loaded: MB/938.508.288
boot: installed 351 jets
vere: checking version compatibility
ames: live on 34543
conn: listening on /home/urbit/ship-of-calm/.urb/conn.sock
crud: %coup event failed
~tornes-bidfet:dojo> /sys/vane/gall/hoon:<[1.372 9].[1.372 37]>
~tornes-bidfet:dojo> /app/hood/hoon:<[85 3].[102 5]>
~tornes-bidfet:dojo> /app/hood/hoon:<[86 3].[102 5]>
~tornes-bidfet:dojo> /app/hood/hoon:<[87 3].[98 5]>
~tornes-bidfet:dojo> /app/hood/hoon:<[88 3].[98 5]>
~tornes-bidfet:dojo> /app/hood/hoon:<[89 3].[98 5]>
~tornes-bidfet:dojo> /app/hood/hoon:<[90 3].[98 5]>
~tornes-bidfet:dojo> /app/hood/hoon:<[92 3].[98 5]>
~tornes-bidfet:dojo> /app/hood/hoon:<[94 22].[94 53]>
~tornes-bidfet:dojo> /app/hood/hoon:<[99 18].[99 70]>
~tornes-bidfet:dojo> /app/hood/hoon:<[99 34].[99 60]>
~tornes-bidfet:dojo> /lib/hood/drum/hoon:<[139 3].[147 5]>
~tornes-bidfet:dojo> /lib/hood/drum/hoon:<[140 3].[147 5]>
~tornes-bidfet:dojo> /lib/hood/drum/hoon:<[141 26].[141 65]>
~tornes-bidfet:dojo> /lib/hood/drum/hoon:<[141 31].[141 49]>
~tornes-bidfet:dojo> /lib/hood/drum/hoon:<[112 3].[113 16]>
~tornes-bidfet:dojo> /lib/hood/drum/hoon:<[112 16].[113 16]>
~tornes-bidfet:dojo> /lib/hood/drum/hoon:<[113 3].[113 16]>
~tornes-bidfet:dojo> /lib/hood/drum/hoon:<[286 3].[297 40]>
~tornes-bidfet:dojo> /lib/hood/drum/hoon:<[287 3].[297 40]>
~tornes-bidfet:dojo> /lib/hood/drum/hoon:<[288 5].[293 7]>
~tornes-bidfet:dojo> /lib/hood/drum/hoon:<[291 17].[291 36]>
~tornes-bidfet:dojo> /lib/hood/drum/hoon:<[291 24].[291 35]>
~tornes-bidfet:dojo> decrement-underflow
gall: not running %docket yet, got %leave
gall: not running %docket yet, got %leave
gall: not running %docket yet, got %leave
http: web interface live on http://localhost:8080
http: loopback live on http://localhost:12321
conn: %born failure; %fyrd not supported
pier (303302): live
; ~ripwet not responding still trying
~tornes-bidfet:dojo> |hi ~ripwet
> |hi ~ripwet
~tornes-bidfet:dojo> >=
ames: czar wet.urbit.org: ip .34.121.77.1
; ~ripwet is ok
~tornes-bidfet:dojo> hi ~ripwet successful
ames: czar deg.urbit.org: ip .13.59.219.247
ames: czar zod.urbit.org: ip .35.247.119.159
ames: czar dev.urbit.org: ip .35.227.173.38
ames: czar lur.urbit.org: ip .35.233.250.88
ames: czar nus.urbit.org: ip .34.83.26.147
ames: czar ten.urbit.org: ip .104.196.239.18
ames: czar ref.urbit.org: ip .143.198.51.180
ames: czar dys.urbit.org: ip .157.90.16.237
ames: czar feb.urbit.org: ip .34.82.25.47
ames: czar pub.urbit.org: ip .35.230.48.78
ames: czar bus.urbit.org: ip .35.247.126.229
ames: czar del.urbit.org: ip .142.93.228.23
ames: czar rel.urbit.org: ip .34.83.230.207
ames: czar rys.urbit.org: ip .23.239.12.212
ames: czar rep.urbit.org: ip .198.199.121.116
ames: czar tyr.urbit.org: ip .208.87.131.244
ames: czar def.urbit.org: ip .35.230.109.40
(add 2 2)
> (add 2 2)
~tornes-bidfet:dojo> 4
~tornes-bidfet:dojo> +vat %landscape
clay: %a no file at path [%base 2 /gen/vat/hoon]
dojo: %writ fail [i=%~.hand t=/gen/vat]
> +vat %landscape
~tornes-bidfet:dojo> /gen/vat/hoon
~tornes-bidfet:dojo> %generator-build-fail
~tornes-bidfet:dojo> 

Upon attempting to visit url in browser, browser doesn't get a response.

sigilante commented 2 years ago

Can you |install ~lander-dister-dozzod-dozzod %landscape?

What about changing upstream sponsor, e.g. |ota ~marzod or |ota ~binzod?

The fact that +vat is missing tells me things aren't getting installed. Who's your sponsor now, do you know? Guessing ~ripwet.

invaliduser commented 2 years ago

current sponsor is indeed ~ripwet ran |install ~lander-dister-dozzod-dozzod %landscape:

kiln: beginning install into %landscape from [~lander-dister-dozzod-dozzod %landscape]
> |install ~lander-dister-dozzod-dozzod %landscape
>=
kiln: activated install into %landscape from [~lander-dister-dozzod-dozzod %landscape]
; ~lander-dister-dozzod-dozzod not responding still trying
; ~lander-dister-dozzod-dozzod is ok
kiln: downloading update for %landscape from [~lander-dister-dozzod-dozzod %landscape]
kiln: finished downloading update for %landscape from [~lander-dister-dozzod-dozzod %landscape]
kiln: future version [lal=%zuse num=418], enqueueing
gall: %docket dozing, got %fact
gall: %hark-system-hook dozing, got %fact

then |ota ~marzod:

>=
; ~marzod not responding still trying
; ~marzod is ok
kiln: activated install into %base from [~marzod %kids]
kiln: downloading update for %base from [~marzod %kids]
kiln: finished downloading update for %base from [~marzod %kids]
kiln: applying OTA to %base from [~marzod %kids], kelvin: [lal=%zuse num=418]
kiln: merge into %base succeeded
kiln: merging %base into %kids
>   arvo: beginning upgrade

lot of updates...

ping: strange state [~wet ~ u=[rift=0 ship-state=[%waiting until=~2022.9.27..18.53.42..81b2]]]
kiln: OTA to %kids succeeded
gall: %docket dozing, got %fact
gall: %hark-system-hook dozing, got %fact
...
kiln: merge into %landscape succeeded
...

when this finished I was in dojo, turned off the ship then started it up again (landscape still not coming up), and here we are:

ames: czar rep.urbit.org: ip .198.199.121.116
; ~ripwet is ok
ping: strange state [~ripwet ~ u=[rift=0 ship-state=[%waiting until=~2022.9.27..18.58.46..4a34]]]
ping: strange state [~ripwet ~ u=[rift=0 ship-state=[%waiting until=~2022.9.27..18.58.46..4a34]]]
~tornes-bidfet:dojo> 
invaliduser commented 2 years ago
+vat %landscape
%landscape
  /sys/kelvin:      [%zuse 418]
  base hash:        0v1r.rjcef.sdu8l.15orr.dl5ie.r47ep.esf8n.as1cu.sbdlb.aq220.46ooa
  %cz hash:         0v1r.rjcef.sdu8l.15orr.dl5ie.r47ep.esf8n.as1cu.sbdlb.aq220.46ooa
  app status:       running
  force on:         ~
  force off:        ~
  publishing ship:  [~ ~lander-dister-dozzod-dozzod]
  updates:          tracking
  source ship:      ~lander-dister-dozzod-dozzod
  source desk:      %landscape
  source aeon:      28
  pending updates:  ~
::
invaliduser commented 2 years ago

running python -m http.server 8080 successfully serves up the directory it's run from, I don't think it's a port/dns issue

sigilante commented 2 years ago

Well, you have +vat now so something's getting fixed. Maybe |bump and try installing %garden too.

It's progress.

invaliduser commented 2 years ago

can run landscape from a comet on local, I'll be at hoon school this week (v. new to urbit), suspect I'll be learning enough in the next month to make solving it trivial.

was serious about compensation btw, if you send me your venmo I'll send some cash

sigilante commented 2 years ago

it's almost def. an installation blocked or failing then..

appreciated and per ~minder-folden's ethic I understand the value of paying for time, but I am already paid once to do some of this sort of thing

invaliduser commented 2 years ago

:+1: