git ssb

30+

cel / git-ssb-web



I've had search hang git-ssb-web a few times. I haven't been able to reliably replicate this error, but I've had it happen a few times. In the terminal I see

%FRFevxVYAoKsIBWaFd/erYUijxY4xeugTcoEr0kOnuY=.sha256
Closedev opened this issue on 10/5/2016, 5:58:10 PM

I've had search hang git-ssb-web a few times. I haven't been able to reliably replicate this error, but I've had it happen a few times. In the terminal I see

isAddress? translation false
isAddress? git ssb false
isAddress? git ssb false

Once these appear in the terminal of my vps, git-ssb-web hangs and doesn't load anymore. I have to restart git-ssb-web before it works again.

%Y5kuKitSUrZtKzDr/9kNUlzEw1sUqOtKm3/zQi31cMs=.sha256 ev · 10/5/2016, 5:59:16 PM

The version of git-ssb-web I'm using is: 2.0.0-collab2

%4br+6kAcPpVGyYDWFvdzwDCivVhDbWIFFUmnHMkg+xU=.sha256 cel · 10/5/2016, 6:14:02 PM

I think I have seen this hang as well. I'm not sure where isAddress is coming from

%bpE9OchiE0d3DT4NBQGYhpwWT+jSHLfeAclGgoFbm40=.sha256 ev · 10/12/2016, 5:55:33 PM

I'm not sure if this is related, however now when git-ssb-web hangs for me I see many of these errors in the console:

about { Error: write EPIPE
    at exports._errnoException (util.js:1036:11)
    at WriteWrap.afterWrite (net.js:794:14) code: 'EPIPE', errno: 'EPIPE', syscall: 'write' }
%RtbIxb1IHxosJwHvBkOhWAxD0U0YRHLb83qDMyvBB0I=.sha256 ev · 10/15/2016, 10:53:03 PM

Here's a little more information on this issue. It appears to happen when users are clicking around the site. Some git repositories are not rendering on gitmx.com. However, I was able to get this particular one to render on my local and on git-ssb.celehner.com, so I'm unable to duplicate it.

Sometimes git-ssb-web is able to recover from the error, but other times it hangs the server and I need to restart the server in order for it to work again.

See screenshot: 2016-10-15-174801_841x378_scrot.png

%TwuD+WCj/aiHh+sF40NqmPmxP1+gcRMqC7mh37Flzrk=.sha256 cel · 10/18/2016, 6:51:46 PM

Some of these errors might happen if sbot restarts while git-ssb-web is connected to it. It is supposed to reconnect but that might not be working properly. An alternative is to run git-ssb-web as an sbot plugin

%fzOPqz+6kTbGHkU1f8HkKYTlL4yd7EMW/nMJ7R2LCjE=.sha256 ev · 10/18/2016, 11:06:45 PM

@cel Cool, I should try running git-ssb-web as an sbot plugin.

How do I do that? just sbot plugins.install git-ssb-web? How do I tell it to run as public?

%NNLBm7ZUkE+QLnWinDhqCxQJ2Qz4O894k9SnWm0Op7A=.sha256 cel · 10/18/2016, 11:09:54 PM

@ev

sbot plugins.install git-ssb-web

Yes. Or if you want to run it from git, symlink the repo directory into ~/.ssb/node_modules/git-ssb-web, and set "plugins": {"git-ssb-web": true} in ~/.ssb/config.

To tell it to run as public, set "public": true in ~/.ssb/config.

%wkx6GjzqsdSkG0QQk22QUkmWPTdvCikBry5qryj5xe4=.sha256 ev closed this issue · 10/22/2016, 12:33:41 AM

This is resolved. Closing issue.

Built with git-ssb-web