Closed medienfux closed 3 years ago
Could you add some logging information from the console and the server log, which occur at this moment?
Related: #930 and #771
@dartcafe ... I check this threads again, but as I saw earlier, they didnt help me very much as I am not such into programming. edit :: I am using version 1.8.1 on ubuntu-server 20.10 with apache, freshly set up (everything). Not sure, if the related #930 as the problem just disappeard or #771 for version 1.12 relay to this ?
@dartcafe ... will try to send you the log ... edit :: checked the logfile ... nothing happend there. If you like to read something special, would you be so kind and help me with the location, where I could find the neccessary information?
ps found this in the server-log
Apr 25 03:14:05 control loolwsd[883175]: wsd-883175-883290 2021-04-25 01:14:05.477431 [ websrv_poll ] WRN convert-to: Requesting address is denied: [server-address]| wsd/LOOLWSD.cpp:2391
Apr 25 03:14:56 control loolwsd[883175]: wsd-883175-883290 2021-04-25 01:14:56.017808 [ websrv_poll ] WRN convert-to: Requesting address is denied: [server-address]| wsd/LOOLWSD.cpp:2391
Apr 25 03:14:57 control loolwsd[883175]: wsd-883175-883290 2021-04-25 01:14:57.658647 [ websrv_poll ] WRN convert-to: Requesting address is denied: [server-address]| wsd/LOOLWSD.cpp:2391
Apr 25 03:17:01 control CRON[884027]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Apr 25 03:25:09 control loolwsd[883175]: wsd-883175-883290 2021-04-25 01:25:09.022364 [ websrv_poll ] WRN convert-to: Requesting address is denied: [server-address]| wsd/LOOLWSD.cpp:2391
Apr 25 03:30:01 control CRON[884520]: (root) CMD (test -e /run/systemd/system || SERVICE_MODE=1 /usr/lib/x86_64-linux-gnu/e2fsprogs/e2scrub_all_cron)
Apr 25 03:34:21 control loolwsd[883175]: wsd-883175-883290 2021-04-25 01:34:21.787051 [ websrv_poll ] WRN convert-to: Requesting address is denied: [server-address]| wsd/LOOLWSD.cpp:2391
Apr 25 03:35:13 control loolwsd[883175]: wsd-883175-883290 2021-04-25 01:35:13.593067 [ websrv_poll ] WRN convert-to: Requesting address is denied: [server-address]| wsd/LOOLWSD.cpp:2391
tnx :)
OK. I would have defined better. I didn't mean the server log from your os, but the nextcloud server log. You can find it unter settings -> logging.
But maybe, i would be easier, if you could give me an access to your poll. Share the public link with me (github (at) dartcafe.de), so I can inspect the console log.
I had a similar issue, my Nextcloud log is below. It seems like the server tries to connect to port 25 (SMTP) to send an email. But my SMTP server is not yet configured, so it fails. This error should be made non-blocking, or at least a more explicit error message should be displayed to the user.
Note that I replaced some texte with **** (domain name, mail address, etc)
[index] Error: Swift_TransportException: Connection could not be established with host ****** :stream_socket_client(): unable to connect to *****:25 (Connection refused) at <<closure>>
0. <<closure>>
Swift_Transport_StreamBuffer->{closure}("*** sensitive parameters replaced ***")
1. /var/www/html/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php line 264
stream_socket_client("****:25", 111, "Connection refused", 10, 4, null)
2. /var/www/html/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php line 58
Swift_Transport_StreamBuffer->establishSocketConnection()
3. /var/www/html/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php line 143
Swift_Transport_StreamBuffer->initialize({0: "And 3 more ... 1})
4. /var/www/html/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php line 65
Swift_Transport_AbstractSmtpTransport->start()
5. /var/www/html/lib/private/Mail/Mailer.php line 205
Swift_Mailer->send(Swift_Message {}, [])
6. /var/www/html/custom_apps/polls/lib/Service/MailService.php line 127
OC\Mail\Mailer->send(OC\Mail\Message {})
7. /var/www/html/custom_apps/polls/lib/Service/MailService.php line 159
OCA\Polls\Service\MailService->sendMail(OC\Mail\EMailTemplate {}, "****", "****")
8. /var/www/html/custom_apps/polls/lib/Service/ShareService.php line 320
OCA\Polls\Service\MailService->resendInvitation("nB4W8JY5AiCygqSf")
9. /var/www/html/custom_apps/polls/lib/Controller/PublicController.php line 350
OCA\Polls\Service\ShareService->personal("uxNbqh85ZKE4xnIz", "****", "****")
10. /var/www/html/custom_apps/polls/lib/Controller/ResponseHandle.php line 66
OCA\Polls\Controller\PublicController->OCA\Polls\Controller\{closure}("*** sensitive parameters replaced ***")
11. /var/www/html/custom_apps/polls/lib/Controller/PublicController.php line 351
OCA\Polls\Controller\PublicController->responseCreate(Closure {})
12. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 218
OCA\Polls\Controller\PublicController->register("uxNbqh85ZKE4xnIz", "****", "****")
13. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 127
OC\AppFramework\Http\Dispatcher->executeController(OCA\Polls\Controller\PublicController {}, "register")
14. /var/www/html/lib/private/AppFramework/App.php line 157
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Polls\Controller\PublicController {}, "register")
15. /var/www/html/lib/private/Route/Router.php line 302
OC\AppFramework\App::main("OCA\\Polls\\Con ... r", "register", OC\AppFramework\ ... {}, {token: "**** ... "})
16. /var/www/html/lib/base.php line 993
OC\Route\Router->match("/apps/polls/s/****/register")
17. /var/www/html/index.php line 37
OC::handleRequest()
POST /apps/polls/s/****/register
from ****** at 2021-05-20T22:38:22+00:00
@vfauth Thanks for the hint. It seems to be indeed an error, when the mail can't be sent out.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
As I created a test poll the shared link --> leads to a promt for login, but as the person wants to fill the requested credentials and press OK. It appears a message that there is an "Error saving username"