Intermittent failure when pushing with Projects feature

I'm having an intermittent problem with the projects feature when attempting to push to my remote repo. Clicking the Push button results in the dialog going away briefly and returning with nothing actually being pushed. Node-RED will not push until it's restarted.

I looked through the logs and found errors like this:

ResponseServer unexpectedError: Error: listen EACCES /run/user/1000/node-red-git-askpass-7db88a.6e3f8968-sock
{ Error: listen EACCES /run/user/1000/node-red-git-askpass-7db88a.6e3f8968-sock
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at Server.setupListenHandle [as _listen2] (net.js:1350:19)
    at listenInCluster (net.js:1408:12)
    at Server.listen (net.js:1503:5)
    at /usr/local/lib/node_modules/node-red/red/runtime/storage/localfilesystem/projects/git/authServer.js:113:16
    at new Promise (<anonymous>)
    at ResponseSSHServer (/usr/local/lib/node_modules/node-red/red/runtime/storage/localfilesystem/projects/git/authServer.js:83:12)
    at runGitCommandWithSSHCommand (/usr/local/lib/node_modules/node-red/red/runtime/storage/localfilesystem/projects/git/index.js:106:12)
    at Object.fetch (/usr/local/lib/node_modules/node-red/red/runtime/storage/localfilesystem/projects/git/index.js:584:24)
  code: 'EACCES',
  errno: 'EACCES',
  syscall: 'listen',
  address: '/run/user/1000/node-red-git-askpass-7db88a.6e3f8968-sock',
  port: -1,
  remote: 'origin' }

Node-RED is running on Ubuntu 18.04 LTS. Here are the first few lines of a startup:

Welcome to Node-RED
===================
4 Feb 15:58:39 - [info] Node-RED version: v0.19.5
4 Feb 15:58:39 - [info] Node.js  version: v8.11.1
4 Feb 15:58:39 - [info] Linux 4.15.0-45-generic x64 LE
4 Feb 15:58:39 - [info] Loading palette nodes
4 Feb 15:58:39 - [warn] rpi-gpio : Raspberry Pi specific node set inactive
4 Feb 15:58:39 - [warn] rpi-gpio : Cannot find Pi RPi.GPIO python library
4 Feb 15:58:39 - [info] Dashboard version 2.13.2 started at /ui

I can't seem to find anything in the issues on github nor here in the forum, and unfortunately, I don't know if there's a pattern to it.

Any suggestions? I'd be happy to attempt to repro on a test machine and try to debug.

1 Like