urbit / landscape

Product board for Landscape.
20 stars 6 forks source link

Landscape page will not load #934

Closed belisarius222 closed 3 years ago

belisarius222 commented 3 years ago

Describe the bug Going to localhost:8080, where I run my ship, now loads just a blank page, and in the Chrome console I see two 404 errors for JS files. Fortunately, I have :dbug running, and localhost:8080/~debug does load. On that page I see more 404 errors, this time for Spinner.png and Favicon.png. Oddly, despite the landscape homepage not loading, its favicon does load, whereas the debug page's favicon does not.

Refreshing and hard-refreshing the page do not affect the issue.

There was a :glob crash in my dojo earlier, so maybe that was related:

; ~marzod is ok
http: fail (1470, 504): I/O timeout
glob: thread failed; will retry
%crash
/lib/strandio/hoon:<[416 3].[417 46]>
/lib/strandio/hoon:<[415 3].[417 46]>
/lib/strandio/hoon:<[414 3].[417 46]>
/lib/strandio/hoon:<[413 3].[417 46]>
/lib/strandio/hoon:<[426 3].[426 33]>
/lib/strand/hoon:<[102 21].[102 43]>
/lib/strand/hoon:<[102 14].[102 44]>
/lib/strand/hoon:<[97 5].[103 7]>
/lib/strand/hoon:<[96 5].[103 7]>
/lib/strand/hoon:<[95 5].[103 7]>
/lib/strand/hoon:<[93 5].[103 7]>
/lib/strand/hoon:<[94 7].[94 18]>
/lib/strand/hoon:<[93 5].[103 7]>
/lib/strand/hoon:<[142 20].[142 49]>
/lib/strand/hoon:<[142 7].[164 9]>
/lib/strand/hoon:<[139 7].[164 9]>
/lib/strand/hoon:<[138 7].[164 9]>
/app/spider/hoon:<[427 7].[427 61]>

Screenshots

js-404 png-404

Desktop (please complete the following information):

Additional context base hash: 0v1t.cdv9k.ggpop.o6q78.dl64t.densq.9qqo0.3efv5.aa68o.o13ai.4dii7

belisarius222 commented 3 years ago

Restarting Vere also did not affect this.

matildepark commented 3 years ago
:glob [%kick /'~landscape'/js/bundle]

or

:goad %force
belisarius222 commented 3 years ago

Thank you, that fixed it.

disbelief commented 3 years ago

I'm having the same problem with the js bundle 404, and neither of the fixes mentioned by @matildepark seem to fix it. Is there anything else I can try? I've also tried just restarting urbit which didn't help. I'm running urbit 1.5

I was able to login to Landscape, and then the page is blank thanks to this error.

matildepark commented 3 years ago

@disbelief There's an open issue at https://github.com/urbit/urbit/issues/5042#issuecomment-868267442 that seems to imply there can be some issues when running locally over an intermittent connection. Are you running locally?

(I wonder if doing the two globs simultaneously can produce some strange error over low-connectivity or the like. Of course, you may be on a droplet, and therefore this doesn't apply.)

disbelief commented 3 years ago

@matildepark thanks for the idea, however I'm running my node on a cloud server with a solid internet connection so this wouldn't apply to me.