Git Product home page Git Product logo

pdq's People

Stargazers

 avatar

Watchers

 avatar

pdq's Issues

sclone fails due to SSL cert declined

Environment: Win10 with Windows Subsystem for Linux v2 (WSL2) running Arch Linux:

[matt@geolaptop mypdq]$ jsish -m sclone
current directory is not within an open checkout
clone https://jsish.org/afossil/pdq mypdq.fossil

Long pause, nothing happenng. Pressed enter.

SSL cert declined
server returned an error - clone aborted
CALL BACKTRACE:
#1: Manage.jsi:348:  in moduleRun( "sclone" )
#2: Manage.jsi:345:  in Manage( [ "sclone" ], {} )
#3: Jsish.jsi:344:  in Jsi_CmdTable( [ "sclone" ], { createmod:[ "function createmod(fn:string, tmpname:string=\"Mo ...)
#4: Manage.jsi:80:  in sclone()
#5: Manage.jsi:141:  in fossil( "clone https://jsish.org/afossil/pdq mypdq.fossil" )

/zvfs/lib/Manage.jsi:141: error: program exit code (1)
ERROR:

After much flailing about ran fossil clone https://jsish.org/afossil/pdq mypdq.fossil manually and realized the long pause is due to hidden prompts, the default to which are No. There are 3 such prompts. I can't get a record of them now as my machine has cached them, but they are along the lines of

  1. SSL cert hash is ABCD1231EF456, do you accept [y,N]?
  2. remember this for later [y,N]?
  3. mumble autosync something [y,N]?

So running again and this time pressing Y-Enter for each pause:

jsish -m sclone
current directory is not within an open checkout
clone https://jsish.org/afossil/pdq code.fossil
Round-trips: 2   Artifacts sent: 0  received: 108
Clone done, wire bytes sent: 535  received: 3497792  ip: 50.116.0.90
Rebuilding repository meta-data...
  100.0% complete...
Extra delta compression...
Vacuuming the database...
project-id: 5b7e1585db8601042a0bf504a57c9a799ac8a12f
server-id:  4d471f06a9a4518e4b17e5abd510169d34d0d101
admin-user: matt (password is "adIUsjkbdi")

y
y
Autosync failed.
y
DONE! To finish setup run: "jsish ."

After this jsish . is successful. (Sort of. there are problems with wsl<->windows network filtering, not PDQ's problem. I'll write up more on that somewhere else later once I've learned more.)

Install report on Dreamhost.com

Install report on Dreamhost.com.
I have jsi symlinked to jsish binary.

[thomas-lynch-jr] $ uname -a
Linux thomas-lynch-jr 4.14.117-grsec-grsec+ #1 SMP Sat May 11 00:40:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
[thomas-lynch-jr]$ mkdir pdq && cd pdq

[thomas-lynch-jr]$ jsi -m sclone
current directory is not within an open checkout
clone https://jsish.org/afossil/pdq pdq.fossil
Round-trips: 2   Artifacts sent: 0  received: 117
Clone done, wire bytes sent: 538  received: 3500564  ip: 50.116.0.90
Rebuilding repository meta-data...
  100.0% complete...
Extra delta compression...
Vacuuming the database...
project-id: 5b7e1585db8601042a0bf504a57c9a799ac8a12f
server-id:  121281c49c09e5189c1c611a2061e5cbe74bfd1d
admin-user: dh_user (password is "Q******8c")

Autosync failed.
y
DONE! To finish setup run: "jsish ."

Note here I had to answer Y to the blind SSL prompt, as before in Windows WSL.

[thomas-lynch-jr]$ jsi .
FAI /var/www/fossil/pdq-plugins.fossil
pdq.jsi:683:  "INFO: Project == PDQ and not created with: "jsish -m sclone"", main()
ccc { histmode:false, home:"/admin", noBreak:false }
Pdq started: file=index.html, port=43339

At this point links text browser is launched automatically in the bash console but doesn't appear to be usable.
Pointing a browser from my desktop at my-domain.dreamhosters.com/pdq shows web pages but there doesn't appear to be any live content.
Using my-domain.dreamhosters.com:43339/pdq instead times out with no connection.

/zvfs/lib/Manage.jsi:46: error: program exit code (1)

When fossil is not available the following error occurs for jsish -m sclone

CALL BACKTRACE:
#1: Manage.jsi:348:  in moduleRun( "sclone" )
#2: Manage.jsi:345:  in Manage( [ "sclone" ], {} )
#3: Jsish.jsi:344:  in Jsi_CmdTable( [ "sclone" ], { createmod:[ "function createmod(fn:string, tmpname:string=\"Mo ...)
#4: Manage.jsi:46:  in sclone()

/zvfs/lib/Manage.jsi:46: error: program exit code (1)
ERROR: 

Install fossil and everything is fine.

Linux vm-kubuntu 5.4.0-86-generic #97-Ubuntu SMP Fri Sep 17 19:19:40 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.