nextcloud / integration_whiteboard

✏ A whiteboard for Nextcloud, using Spacedeck
https://apps.nextcloud.com/apps/integration_whiteboard
GNU Affero General Public License v3.0
53 stars 7 forks source link

Spacedeck request connection error : cURL error 7: Failed to connect to localhost port 9666: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://localhost:9666/api/spaces #25

Closed nooblag closed 3 years ago

nooblag commented 3 years ago

Steps to reproduce

  1. Create a .whiteboard file
  2. Open the file

Expected behaviour

Whiteboard starts up

Actual behaviour

Error message thrown

Spacedeck request connection error : cURL error 7: Failed to connect to localhost port 9666: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://localhost:9666/api/spaces

Server configuration

Operating system: Ubuntu 18.04.5 LTS

Web server: nginx/1.14.0

Database: mysql Ver 14.14 Distrib 5.7.33, for Linux (x86_64)

PHP version: PHP 7.4.16

Nextcloud version: (see Nextcloud admin page) 21.0.1.1

Updated from an older Nextcloud/ownCloud or fresh install: Updated from 20.0.9

Where did you install Nextcloud from: nextcloud.com

Signing status:

Signing status ``` No errors have been found. ```

List of activated apps:

App list ``` Enabled: - accessibility: 1.7.0 - activity: 2.14.3 - admin_audit: 1.11.0 - announcementcenter: 5.0.0 - apporder: 0.12.0 - bruteforcesettings: 2.1.0 - calendar: 2.2.0 - camerarawpreviews: 0.7.10 - cloud_federation_api: 1.4.0 - comments: 1.11.0 - dav: 1.17.1 - drawio: 1.0.0 - event_update_notification: 1.2.0 - external: 3.8.1 - extract: 1.3.1 - federatedfilesharing: 1.11.0 - files: 1.16.0 - files_downloadactivity: 1.10.0 - files_pdfviewer: 2.1.0 - files_readmemd: 1.2.0 - files_rightclick: 1.0.0 - files_sharing: 1.13.1 - files_texteditor: 2.14.0 - files_trashbin: 1.11.0 - files_versions: 1.14.0 - files_videoplayer: 1.10.0 - firstrunwizard: 2.10.0 - groupfolders: 9.0.0 - impersonate: 1.8.0 - integration_whiteboard: 0.0.14 - logreader: 2.6.0 - lookup_server_connector: 1.9.0 - metadata: 0.13.0 - notes: 4.0.4 - notifications: 2.9.0 - oauth2: 1.9.0 - onlyoffice: 6.3.0 - password_policy: 1.11.0 - photos: 1.3.0 - previewgenerator: 3.1.1 - privacy: 1.5.0 - provisioning_api: 1.11.0 - quota_warning: 1.10.0 - ransomware_protection: 1.10.0 - recommendations: 1.0.0 - serverinfo: 1.11.0 - settings: 1.3.0 - sharebymail: 1.11.0 - systemtags: 1.11.0 - tasks: 0.13.6 - text: 3.2.0 - theming: 1.12.0 - twofactor_backupcodes: 1.10.0 - updatenotification: 1.11.0 - user_retention: 1.4.0 - viewer: 1.5.0 - workflowengine: 2.3.0 Disabled: - contacts - contactsinteraction - dashboard - encryption - federation - files_external - nextcloud_announcements - support - survey_client - user_ldap - user_status - weather_status - whiteboard ```

Nextcloud configuration:

Config report ``` { "system": { "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "***REMOVED SENSITIVE VALUE***", "***REMOVED SENSITIVE VALUE***" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "tempdirectory": "***REMOVED SENSITIVE VALUE***", "skeletondirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "pgsql", "version": "21.0.1.1", "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***", "htaccess.RewriteBase": "\/", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "log_type": "file", "logfile": "\/var\/log\/nextcloud\/nextcloud.log", "loglevel": 2, "logtimezone": "Australia\/Melbourne", "mail_smtpmode": "smtp", "remember_login_cookie_lifetime": 0, "log_rotate_size": "10485760", "trashbin_retention_obligation": "auto, 14", "versions_retention_obligation": "auto, 365", "simpleSignUpLink.shown": false, "login_form_autocomplete": true, "filelocking.enabled": true, "memcache.distributed": "\\OC\\Memcache\\Redis", "memcache.local": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": "6379", "dbindex": "0", "timeout": "1.5" }, "maintenance": false, "default_locale": "en_AU", "force_locale": "en_AU", "default_language": "en", "force_language": "en", "defaultapp": "activity,files", "activity_expire_days": 180, "session_lifetime": 14400, "session_keepalive": false, "auth.webauthn.enabled": false, "overwriteprotocol": "https", "app_install_overwrite": [ "activitylog", "uploaddetails", "drop_account", "files_readmemd", "afterlogic" ], "updater.release.channel": "stable", "theme": "", "connectivity_check_domains": [ "nextcloud.com", "duckduckgo.com" ], "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "forwarded_for_headers": [ "HTTP_CF_CONNECTING_IP" ], "mail_smtpsecure": "ssl", "mail_sendmailmode": "smtp", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtpauthtype": "LOGIN", "mail_smtpauth": 1, "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "465", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "updater.secret": "***REMOVED SENSITIVE VALUE***" } } ```

Are you using external storage, if yes which one: local/smb/sftp/... No

Are you using encryption: yes/no No

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... No

Client configuration

Browser: Firefox 87.0

Operating system: Windows 10

Logs

Web server error log

Web server error log ``` No errors ```

Nextcloud log (data/nextcloud.log)

Nextcloud log ``` [integration_whiteboard] Warning: Spacedeck request connection error : cURL error 7: Failed to connect to localhost port 9666: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://localhost:9666/api/spaces GET /apps/integration_whiteboard/space/175177 from xxx.xxx.xxx.xxx by ***REMOVED SENSITIVE VALUE*** at 2021-04-12T05:38:37+10:00 ```

Browser log

Browser log ``` No errors ```
jupsoleil commented 3 years ago

I wonder why this got closed - the issue is still there, see https://help.nextcloud.com/t/nc-21-whiteboard-integration-error/109462 . I'm running it in snap on ubuntu LTS 18.04, nextcloud version 21.0.1

nooblag commented 3 years ago

This fixed for me when I restarted the server, so I closed this issue. But if you're experiencing this on Snap you should open a new one ;)