Comments (8)
Hi @kevinkuan1969
Can you share the logs in the time that you received this message?
from libresign.
from libresign.
from libresign.
Also saw another error log before the event happened. But check at the local browser, it worked well.
Error | PHP | fsockopen(): Unable to connect to 127.0.0.1:8888 (Connection refused) at /var/www/nextcloud/apps/libresign/lib/Handler/CfsslHandler.php#237 -- | -- | --from libresign.
Sounds that this error isn't really from LibreSign:
Error | libresign | OC\Files\View::basicOperation(): Argument #2 ($path) must be of type string, null given, called in /var/www/nextcloud/lib/private/Files/View.php on line 528 -- | -- | --
But, maybe, because didn't made the right error handling to catch the possible errors when manipulate a file, would be possible that this error be throw by LibreSign.
Did you split the row from your log file in two messages? The first message is a backtrace, have not an error message and the second message is only the error message.
from libresign.
And, the question about CFSSL, is a bit strange that you can access the CFSSL server in your browser using 127.0.0.1. Is your server installed on your personal computer?
I put at the code to use the localhost IP to make only be possible access the CFSSL server from Nextcloud server.
Have a flow to use CFSSL in the code:
- Check if CFSSL server is UP, if true, all is OK and will return from this flow
- get the path of CFSSL from settings of LibreSign
- get the config path of CFSSL that have the root certificate files fom settings of LibreSign
- start the CFSSL server in background
- check if the CFSSL server is UP trying to do a socket connection to IP and port of CFSSL a time by second during 4 seconds.
Is at this point that you get the error
Looking at this point of code, the command to run the CFSSL server in background have not a check if was executed with success. I think that have problems when try to start the CFSSL server in your environment and would be good to try to run the command handmade in terminal of your server to verify if all is ok or if will return an error.
As a follow up of this problem, will be necessary to put a check at this point to verify if the command was executed with success but this change will only come in the next version of LibreSign. I send a comment about next version here:
A new feature that will come in the next version is that will be possible to choose between CFSSL or OpenSSL to issue the root certificate. With this, will be possible to don't use CFSSL and if you have problems with CFSSL, only changing to OpenSSL engine to generate the root certificate, will solve your problem.
from libresign.
Thank you very much @vitormattos for your reply.
And, the question about CFSSL, is a bit strange that you can access the CFSSL server in your browser using 127.0.0.1. Is your server installed on your personal computer?
We installed everything in 1 PC using Ubuntu 23.10 and the latest version of Nextcloud 27.1.3. Discovered the error of CFSSL (fsockopen(): Unable to connect to 127.0.0.1:8888 (Connection refused) ) when immediately after reboot or OS system is ready. In this case, do not think it is related to above issue of not getting the Identification Document signed.
In term of the logs for the above issue, there are two separate items which the print-screen as below:
from libresign.
Hi! Could you test again at the newest release of LibreSign?
from libresign.
Related Issues (20)
- Can't request signature from existing users HOT 4
- Enabled "Identification documents" flow does not ask for document upload
- Allow LibreSign to use Nextcloud Viewer app to visualize PDF files HOT 4
- When documents signed, send email notification HOT 1
- Signature areas are overlapping in Safari HOT 2
- Allow inserting of additional fields when signing HOT 1
- Can only place signature positions on first page HOT 4
- Only one signature gets written to the PDF, even when multiple signature placements are present. HOT 3
- Internal error when sign usign password with UTF8 chars HOT 1
- Remove deprecated namespace of vfsStream at tests
- Error: PDFtk binary is invalid HOT 4
- About custom footer and its settings HOT 1
- Document not visible when singing from iOS
- Extended check for Java binaries. Support for Alpine/Nextcloud-AIO HOT 9
- Cannot set non existing property OCA\\Libresign\\Handler\\CertificateEngine\\CfsslHandler HOT 3
- Use attributes on Controller methods to define routes
- 404 invalid user - for links sent to users without an account HOT 1
- White page on opening signing document HOT 25
- Cannot Reinstall Java after Upgrade to v8.0.2 HOT 1
- Cannot set non existing property OCA\\Libresign\\Handler\\CertificateEngine\\CfsslHandler HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libresign.