Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

guzzle http : error getting dns for pushfeed.nextcloud.com #29821

Closed
erwdavid opened this issue Nov 20, 2021 · 2 comments
Closed

guzzle http : error getting dns for pushfeed.nextcloud.com #29821

erwdavid opened this issue Nov 20, 2021 · 2 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@erwdavid
Copy link

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. upgrade tp nextcloud 22.2.3
    2.wait sometime
  2. get error messages from the cron job

Expected behaviour

No email should be sent by the cron job

Actual behaviour

irregular emails with this error

{"reqId":"6frh83ybe9NH79MQcmBt","level":3,"time":"2021-11-19T17:00:10+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"dns_get_record(): DNS Query failed at /usr/local/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php#83","userAgent":"--","version":"22.2.3.0","exception":{"Exception":"Error","Message":"dns_get_record(): DNS Query failed at /usr/local/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php#83","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"dns_get_record(): DNS Query failed","/usr/local/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php",83]},{"file":"/usr/local/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php","line":83,"function":"dns_get_record","args":["pushfeed.nextcloud.com",16]},{"file":"/usr/local/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php","line":128,"function":"dnsResolve","class":"OC\\Http\\Client\\DnsPinMiddleware","type":"->","args":["pushfeed
.nextcloud.com",1]},{"file":"/usr/local/nextcloud/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php","line":35,"function":"OC\\Http\\Client\\{closure}","class":"OC\\Http\\Client\\DnsPinMiddleware","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/local/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php","line":31,"function":"__invoke","class":"GuzzleHttp\\PrepareBodyMiddleware","type":"->","args":["*** sensitive parameter replaced ***","*** sensitive parameter replaced ***"]},{"file":"/usr/local/nextcloud/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php","line":71,"function":"GuzzleHttp\\{closure}","class":"GuzzleHttp\\Middleware","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/local/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php","line":63,"function":"__invoke","class":"GuzzleHttp\\RedirectMiddleware","type":"->","args":["*** sensitive parameter replaced ***","*** sensitive parameter replaced ***
"]},{"file":"/usr/local/nextcloud/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php","line":75,"function":"GuzzleHttp\\{closure}","class":"GuzzleHttp\\Middleware","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/local/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php","line":331,"function":"__invoke","class":"GuzzleHttp\\HandlerStack","type":"->","args":["*** sensitive parameter replaced ***","*** sensitive parameter replaced ***"]},{"file":"/usr/local/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php","line":168,"function":"transfer","class":"GuzzleHttp\\Client","type":"->","args":["*** sensitive parameter replaced ***","*** sensitive parameter replaced ***"]},{"file":"/usr/local/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php","line":187,"function":"requestAsync","class":"GuzzleHttp\\Client","type":"->","args":["get",{"__class__":"GuzzleHttp\\Psr7\\Uri"},{"verify":"/usr/local/nextcloud/resources/config/ca-bundle.crt","timeout":30,"allow_redi
rects":{"on_redirect":{"__class__":"Closure"}},"nextcloud":{"allow_local_address":false},"synchronous":true,"0":"And 6 more entries, set log level to debug to see all entries"}]},{"file":"/usr/local/nextcloud/lib/private/Http/Client/Client.php","line":223,"function":"request","class":"GuzzleHttp\\Client","type":"->","args":["get","https://pushfeed.nextcloud.com/feed.signature",{"verify":"/usr/local/nextcloud/resources/config/ca-bundle.crt","timeout":30,"allow_redirects":{"on_redirect":{"__class__":"Closure"}},"nextcloud":{"allow_local_address":false},"headers":{"User-Agent":"Nextcloud Server Crawler","Accept-Encoding":"gzip"},"0":"And 1 more entries, set log level to debug to see all entries"}]},{"file":"/usr/local/nextcloud/apps/nextcloud_announcements/lib/Cron/Crawler.php","line":198,"function":"get","class":"OC\\Http\\Client\\Client","type":"->","args":["https://pushfeed.nextcloud.com/feed.signature"]},{"file":"/usr/local/nextcloud/apps/nextcloud_announcements/lib/Cron/Cra
wler.php","line":135,"function":"readFile","class":"OCA\\NextcloudAnnouncements\\Cron\\Crawler","type":"->","args":[".signature"]},{"file":"/usr/local/nextcloud/apps/nextcloud_announcements/lib/Cron/Crawler.php","line":77,"function":"loadFeed","class":"OCA\\NextcloudAnnouncements\\Cron\\Crawler","type":"->","args":[]},{"file":"/usr/local/nextcloud/lib/public/BackgroundJob/Job.php","line":79,"function":"run","class":"OCA\\NextcloudAnnouncements\\Cron\\Crawler","type":"->","args":[null]},{"file":"/usr/local/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":63,"function":"execute","class":"OCP\\BackgroundJob\\Job","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"},{"__class__":"OC\\Log"}]},{"file":"/usr/local/nextcloud/cron.php","line":127,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"},{"__class__":"OC\\Log"}]}],"File":"/usr/local/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"C
ustomMessage":"--"}}
{"reqId":"6frh83ybe9NH79MQcmBt","level":3,"time":"2021-11-19T17:00:15+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"chmod(): Operation not permitted at /usr/local/nextcloud/lib/private/Log/File.php#86","userAgent":"--","version":"22.2.3.0"}


### Server configuration

**Operating system:**
FreeBSD 13.0

**Web server:**
nginx

**Database:**
postgresql 13

**PHP version:**
php 8.0

**Nextcloud version:** (see Nextcloud admin page)
22.2.3

**Updated from an older Nextcloud/ownCloud or fresh install:**
Upgraded from older Nextcloud

**Where did you install Nextcloud from:**
22.0 installed from nextcloud tar ball, then upgraded

**Signing status:**
<details>
<summary>Signing status</summary>

No errors have been found.

</details>

**List of activated apps:**
<details>
<summary>App list</summary>

Enabled:

  • accessibility: 1.8.0
  • activity: 2.15.0
  • apporder: 0.13.0
  • audioplayer: 3.2.2
  • bookmarks: 10.0.2
  • breezedark: 22.1.0
  • calendar: 2.3.4
  • camerarawpreviews: 0.7.13
  • carnet: 0.24.2
  • circles: 22.1.1
  • cloud_federation_api: 1.5.0
  • comments: 1.12.0
  • contacts: 4.0.6
  • dav: 1.19.0
  • extract: 1.3.2
  • federatedfilesharing: 1.12.0
  • files: 1.17.0
  • files_external: 1.13.0
  • files_markdown: 2.3.4
  • files_pdfviewer: 2.3.1
  • files_rightclick: 1.1.0
  • files_sharing: 1.14.0
  • files_trashbin: 1.12.0
  • files_versions: 1.15.0
  • files_videoplayer: 1.11.0
  • firstrunwizard: 2.11.0
  • gpxpod: 4.3.0
  • groupfolders: 10.0.0
  • logreader: 2.7.0
  • lookup_server_connector: 1.10.0
  • music: 1.4.1
  • nextcloud_announcements: 1.11.0
  • notifications: 2.10.1
  • oauth2: 1.10.0
  • password_policy: 1.12.0
  • photos: 1.4.0
  • privacy: 1.6.0
  • provisioning_api: 1.12.0
  • recommendations: 1.1.0
  • serverinfo: 1.12.0
  • settings: 1.4.0
  • sharebymail: 1.12.0
  • sharerenamer: 2.7.3
  • spreed: 12.1.2
  • tasks: 0.14.2
  • text: 3.3.0
  • theming: 1.13.0
  • twofactor_backupcodes: 1.11.0
  • twofactor_totp: 6.1.0
  • updatenotification: 1.12.0
  • user_status: 1.2.0
  • viewer: 1.6.0
  • weather_status: 1.2.0
  • workflowengine: 2.4.0
    Disabled:
  • admin_audit
  • contactsinteraction
  • dashboard
  • encryption
  • federation
  • support
  • survey_client
  • systemtags
  • user_ldap
</details>

**Nextcloud configuration:**
<details>
<summary>Config report</summary>

{
"system": {
"updatechecker": true,
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"vapeur.rail.eu.org"
],
"datadirectory": "REMOVED SENSITIVE VALUE",
"overwrite.cli.url": "https://vapeur.rail.eu.org",
"dbtype": "pgsql",
"version": "22.2.3.0",
"dbname": "REMOVED SENSITIVE VALUE",
"dbhost": "REMOVED SENSITIVE VALUE",
"dbtableprefix": "oc_",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"logfile": "/var/log/nextcloud/nextcloud.log",
"logtimezone": "UTC",
"installed": true,
"instanceid": "REMOVED SENSITIVE VALUE",
"memcache.local": "\OC\Memcache\APCu",
"mail_smtpmode": "smtp",
"mail_from_address": "REMOVED SENSITIVE VALUE",
"mail_domain": "REMOVED SENSITIVE VALUE",
"mail_smtphost": "REMOVED SENSITIVE VALUE",
"mail_smtpport": "465",
"log_rotate_size": 10485760,
"theme": "",
"loglevel": 2,
"maintenance": false,
"htaccess.RewriteBase": "/",
"appstore.experimental.enabled": true,
"mail_smtpauthtype": "PLAIN",
"mail_smtpauth": 1,
"mail_smtpname": "REMOVED SENSITIVE VALUE",
"mail_smtppassword": "REMOVED SENSITIVE VALUE",
"mail_smtpsecure": "ssl",
"updater.release.channel": "stable",
"has_rebuilt_cache": true,
"default_phone_region": "fr",
"app_install_overwrite": [
"extract",
"sharerenamer",
"dashboard",
"twofactor_admin"
],
"versions_retention_obligation": "auto,15"
},
"apps": {
"accessibility": {
"types": "",
"enabled": "yes",
"installed_version": "1.8.0"
},
"activity": {
"types": "filesystem",
"enabled": "yes",
"notify_stream_favorite": "1",
"installed_version": "2.15.0",
"notify_email_favorite": "0",
"notify_stream_file_changed": "1",
"notify_email_file_changed": "0",
"notify_stream_file_created": "1",
"notify_email_file_created": "0",
"notify_stream_file_deleted": "1",
"notify_email_file_deleted": "0",
"notify_stream_file_favorite": "0",
"notify_stream_file_restored": "1",
"notify_email_file_restored": "0",
"notify_stream_comments": "1",
"notify_email_comments": "0",
"notify_stream_calendar": "1",
"notify_email_calendar": "0",
"notify_stream_calendar_event": "1",
"notify_email_calendar_event": "0",
"notify_stream_calendar_todo": "1",
"notify_email_calendar_todo": "0",
"notify_stream_shared": "1",
"notify_email_shared": "0",
"notify_stream_remote_share": "1",
"notify_email_remote_share": "0",
"notify_stream_public_links": "1",
"notify_email_public_links": "0",
"notify_stream_systemtags": "1",
"notify_email_systemtags": "0",
"notify_setting_batchtime": "86400",
"notify_setting_self": "1",
"notify_setting_selfemail": "0"
},
"apporder": {
"types": "",
"order": "["/index.php/apps/files/","/index.php/apps/news/","/index.php/apps/audioplayer/","/index.php/apps/gallery/","/index.php/apps/bookmarks/","/index.php/apps/calendar/","/index.php/apps/contacts/","/index.php/apps/tasks/","/index.php/apps/notes/","/index.php/apps/activity/"]",
"hidden": "["/index.php/apps/audioplayer/","/index.php/apps/gallery/"]",
"enabled": "yes",
"installed_version": "0.13.0"
},
"audioplayer": {
"types": "filesystem",
"enabled": "yes",
"installed_version": "3.2.2"
},
"backgroundjob": {
"lastjob": "113"
},
"bookmarks": {
"types": "",
"enabled": "yes",
"installed_version": "10.0.2"
},
"breezedark": {
"types": "",
"theme_enabled": "1",
"theme_login_page": "1",
"enabled": "yes",
"installed_version": "22.1.0"
},
"bruteforcesettings": {
"enabled": "no",
"installed_version": "1.0.2",
"types": ""
},
"calendar": {
"types": "",
"signed": "true",
"enabled": "yes",
"installed_version": "2.3.4"
},
"camerarawpreviews": {
"types": "filesystem",
"installed_version": "0.7.13",
"enabled": "yes"
},
"caniupdate": {
"types": "",
"enabled": "no",
"installed_version": "0.2.0",
"published-deprecation-notification": "yes"
},
"carnet": {
"installed_version": "0.24.2",
"types": "filesystem",
"enabled": "yes"
},
"circles": {
"installed_version": "22.1.1",
"types": "filesystem,dav",
"enabled": "yes",
"loopback_tmp_scheme": "https",
"maintenance_run": "0",
"maintenance_update": "{"maximum":3,"3":1637427608,"2":1637431208,"1":1637431208,"4":1637373600,"5":1637377208}"
},
"cloud_federation_api": {
"types": "filesystem",
"enabled": "yes",
"installed_version": "1.5.0"
},
"comments": {
"types": "logging",
"enabled": "yes",
"installed_version": "1.12.0"
},
"contacts": {
"types": "dav",
"enabled": "yes",
"installed_version": "4.0.6"
},
"contactsinteraction": {
"types": "dav",
"enabled": "no",
"installed_version": "1.3.0"
},
"core": {
"installedat": "1458319995.8732",
"public_files": "files_sharing/public.php",
"umgmt_send_email": "false",
"umgmt_show_email": "true",
"public_calendar": "calendar/share.php",
"public_caldav": "calendar/share.php",
"public_documents": "documents/public.php",
"repairlegacystoragesdone": "yes",
"umgmt_show_last_login": "false",
"umgmt_show_backend": "false",
"remote_webdav": "dav/appinfo/v1/webdav.php",
"remote_contacts": "dav/appinfo/v1/carddav.php",
"remote_carddav": "dav/appinfo/v1/carddav.php",
"remote_calendar": "dav/appinfo/v1/caldav.php",
"remote_caldav": "dav/appinfo/v1/caldav.php",
"public_webdav": "dav/appinfo/v1/publicwebdav.php",
"remote_files": "dav/appinfo/v1/webdav.php",
"remote_dav": "dav/appinfo/v2/remote.php",
"backgroundjobs_mode": "cron",
"outgoing_server2server_share_enabled": "no",
"incoming_server2server_share_enabled": "no",
"shareapi_allow_public_notification": "yes",
"shareapi_default_expire_date": "yes",
"vendor": "nextcloud",
"moveavatarsdone": "yes",
"previewsCleanedUp": "1",
"installed.bundles": "["CoreBundle"]",
"enterpriseLogoChecked": "yes",
"scss.variables": "054e45de6f7856d5d47a039dba4a71e2",
"updater.secret.created": "1625760266",
"lastupdatedat": "1637431391",
"theming.variables": "60927a7602d4c78b9083838cfe5f4431",
"oc.integritycheck.checker": "[]",
"lastupdateResult": "[]",
"lastcron": "1637431208"
},
"dashboard": {
"types": "",
"installed_version": "7.0.0",
"enabled": "no"
},
"dav": {
"types": "filesystem",
"enabled": "yes",
"buildCalendarSearchIndex": "yes",
"OCA\DAV\Migration\ValueFixInsert_ran": "true",
"installed_version": "1.19.0",
"buildCalendarReminderIndex": "yes",
"chunks_migrated": "1",
"regeneratedBirthdayCalendarsForYearFix": "yes"
},
"documents": {
"types": "",
"ocsid": "168711",
"converter": "local",
"enabled": "no",
"installed_version": "0.13.1"
},
"erwan": {
"documents": "save_path"
},
"extract": {
"types": "",
"enabled": "yes",
"installed_version": "1.3.2"
},
"federatedfilesharing": {
"types": "",
"enabled": "yes",
"installed_version": "1.12.0"
},
"federation": {
"installed_version": "0.0.4",
"types": "authentication",
"enabled": "no"
},
"files": {
"types": "filesystem",
"enabled": "yes",
"cronjob_scan_files": "500",
"installed_version": "1.17.0"
},
"files_antivirus": {
"av_infected_action": "delete",
"signed": "true",
"types": "filesystem",
"installed_version": "0",
"ocsid": "157439",
"av_path": "/usr/bin/clamscan",
"av_mode": "socket",
"av_socket": "/var/run/clamav/clamd.ctl",
"av_host": "",
"av_port": "0",
"enabled": "no",
"av_cmd_options": "",
"av_chunk_size": "1024"
},
"files_external": {
"installed_version": "1.13.0",
"types": "filesystem",
"enabled": "yes"
},
"files_markdown": {
"types": "",
"installed_version": "2.3.4",
"enabled": "yes"
},
"files_pdfviewer": {
"types": "",
"enabled": "yes",
"installed_version": "2.3.1"
},
"files_rightclick": {
"types": "",
"enabled": "yes",
"installed_version": "1.1.0"
},
"files_sharing": {
"types": "filesystem",
"enabled": "yes",
"outgoing_server2server_share_enabled": "no",
"incoming_server2server_share_enabled": "no",
"installed_version": "1.14.0"
},
"files_snapshots": {
"installed_version": "0.1.1",
"types": "",
"enabled": "no",
"snap_format": "/data/.zfs/snapshot/%snapshot%/",
"date_format": "Y-m-d-H-i"
},
"files_texteditor": {
"types": "",
"enabled": "no",
"installed_version": "2.8.0"
},
"files_trashbin": {
"enabled": "yes",
"types": "filesystem,dav",
"installed_version": "1.12.0"
},
"files_versions": {
"enabled": "yes",
"types": "filesystem,dav",
"installed_version": "1.15.0"
},
"files_videoplayer": {
"types": "",
"enabled": "yes",
"installed_version": "1.11.0"
},
"files_videoviewer": {
"installed_version": "0.1.3",
"ocsid": "166054",
"types": "",
"enabled": "no"
},
"firstrunwizard": {
"enabled": "yes",
"types": "logging",
"installed_version": "2.11.0"
},
"gallery": {
"types": "",
"enabled": "no",
"installed_version": "18.4.0"
},
"galleryplus": {
"ocsid": "169116",
"enabled": "no",
"types": "",
"installed_version": "15.1.1"
},
"gpxedit": {
"installed_version": "0.0.6",
"types": "",
"enabled": "no"
},
"gpxpod": {
"reset304": "1",
"resetPics404": "1",
"types": "",
"installed_version": "4.3.0",
"enabled": "yes"
},
"groupfolders": {
"types": "filesystem,dav",
"installed_version": "10.0.0",
"enabled": "yes"
},
"html5_videoplayer": {
"enabled": "no",
"installed_version": "1.0",
"types": "",
"ocsid": "173950"
},
"logreader": {
"types": "",
"enabled": "yes",
"installed_version": "2.7.0"
},
"lookup_server_connector": {
"types": "authentication",
"enabled": "yes",
"installed_version": "1.10.0"
},
"mail": {
"types": "",
"ocsid": "169914",
"enabled": "no",
"installed_version": "0.5.2",
"signed": "true"
},
"maps": {
"types": "filesystem",
"installed_version": "0.1.9"
},
"music": {
"types": "filesystem",
"ocsid": "164319",
"installed_version": "1.4.1",
"enabled": "yes"
},
"news": {
"types": "",
"installed_version": "14.1.3",
"enabled": "no"
},
"nextcloud_announcements": {
"types": "logging",
"enabled": "yes",
"pub_date": "Thu, 24 Oct 2019 00:00:00 +0200",
"installed_version": "1.11.0"
},
"notes": {
"types": "",
"enabled": "no",
"installed_version": "2.5.1"
},
"notifications": {
"enabled": "yes",
"types": "logging",
"installed_version": "2.10.1"
},
"oauth2": {
"types": "authentication",
"enabled": "yes",
"installed_version": "1.10.0"
},
"ownnote": {
"installed_version": "1.08",
"enabled": "no",
"types": "",
"ocsid": "168512"
},
"password_policy": {
"enabled": "yes",
"types": "authentication",
"installed_version": "1.12.0"
},
"photos": {
"types": "",
"enabled": "yes",
"installed_version": "1.4.0"
},
"podcasts": {
"ocsid": "174708",
"installed_version": "0.8.2",
"types": "",
"enabled": "no"
},
"privacy": {
"readableLocation": "fr",
"types": "",
"enabled": "yes",
"installed_version": "1.6.0"
},
"provisioning_api": {
"enabled": "yes",
"types": "prevent_group_restriction",
"installed_version": "1.12.0"
},
"rainloop": {
"installed_version": "4.22",
"types": "",
"ocsid": "165254",
"enabled": "no"
},
"recommendations": {
"types": "",
"enabled": "yes",
"installed_version": "1.1.0"
},
"serverinfo": {
"types": "",
"enabled": "yes",
"installed_version": "1.12.0",
"cached_count_filecache": "29382",
"cached_count_storages": "11"
},
"settings": {
"types": "",
"enabled": "yes",
"installed_version": "1.4.0"
},
"sharebymail": {
"types": "filesystem",
"enabled": "yes",
"installed_version": "1.12.0"
},
"sharerenamer": {
"types": "",
"installed_version": "2.7.3",
"enabled": "yes"
},
"spreed": {
"installed_version": "12.1.2",
"types": "dav,prevent_group_restriction",
"enabled": "yes",
"stun_servers": "REMOVED SENSITIVE VALUE",
"project_access_invalidated": "1",
"signaling_ticket_secret": "REMOVED SENSITIVE VALUE",
"has_reference_id": "yes"
},
"support": {
"installed_version": "1.0.0",
"types": "",
"enabled": "no"
},
"survey_client": {
"types": "",
"installed_version": "1.5.0",
"enabled": "no",
"last_sent": "1572529504",
"last_report": "{"id":"octkce7gulir","items":[["server","version","17.0.0.9"],["server","code","other"],["server","enable_avatars","yes"],["server","enable_previews","yes"],["server","memcache.local","\\OC\\Memcache\\APCu"],["server","memcache.distributed","none"],["server","asset-pipeline.enabled","no"],["server","filelocking.enabled","yes"],["server","memcache.locking","none"],["server","debug","no"],["server","cron","cron"],["php","version","7.3.11"],["php","memory_limit",536870912],["php","max_execution_time",0],["php","upload_max_filesize",17179869184],["database","type","pgsql"],["database","version","PostgreSQL 9.6.15 on amd64-portbld-freebsd11.2, compiled by FreeBSD clang version 6.0.0 (tags\/RELEASE_600\/final 326565) (based on LLVM 6.0.0), 64-bit"],["database","size",174389784],["apps","updater","disabled"],["apps","files","1.12.0"],["apps","files_videoviewer","disabled"],["apps","rainloop","disabled"],["apps","ownnote","disabled"],["apps","music","disabled"],["apps","files_texteditor","disabled"],["apps","galleryplus","disabled"],["apps","files_antivirus","disabled"],["apps","contacts","3.1.6"],["apps","mail","disabled"],["apps","federation","disabled"],["apps","extract","1.2.0"],["apps","documents","disabled"],["apps","templateeditor","disabled"],["apps","weather","disabled"],["apps","activity","2.10.1"],["apps","files_external","1.8.0"],["apps","files_trashbin","1.7.0"],["apps","files_versions","1.10.0"],["apps","comments","1.7.0"],["apps","firstrunwizard","2.6.0"],["apps","notifications","2.5.0"],["apps","systemtags","1.7.0"],["apps","carnet","0.18.7"],["apps","gpxpod","4.0.5"],["apps","provisioning_api","1.7.0"],["apps","podcasts","disabled"],["apps","html5_videoplayer","disabled"],["apps","bruteforcesettings","disabled"],["apps","bookmarks","2.3.1"],["apps","spreed","disabled"],["apps","user_external","disabled"],["apps","caniupdate","disabled"],["apps","workflowengine","1.7.0"],["apps","files_pdfviewer","1.6.0"],["apps","news","14.0.1"],["apps","nextcloud_announcements","1.6.0"],["apps","calendar","1.7.1"],["apps","files_videoplayer","1.6.0"],["apps","audioplayer","2.8.4"],["apps","password_policy","1.7.0"],["apps","survey_client","1.5.0"],["apps","twofactor_backupcodes","1.6.0"],["apps","updatenotification","1.7.0"],["apps","lookup_server_connector","1.5.0"],["apps","oauth2","1.5.0"],["apps","dav","1.13.0"],["apps","files_sharing","1.9.0"],["apps","sharebymail","1.7.0"],["apps","theming","1.8.0"],["apps","tasks","0.11.3"],["apps","logreader","2.2.0"],["apps","serverinfo","1.7.0"],["apps","gpxedit","disabled"],["apps","files_snapshots","disabled"],["apps","notes","disabled"],["apps","federatedfilesharing","1.7.0"],["apps","gallery","18.4.0"],["apps","text","1.1.0"],["apps","apporder","0.8.0"],["apps","files_markdown","2.1.0"],["apps","support","disabled"],["apps","dashboard","disabled"],["apps","camerarawpreviews","0.7.2"],["apps","accessibility","1.3.0"],["apps","viewer","1.1.0"],["apps","privacy","1.1.0"],["apps","recommendations","0.5.0"],["apps","cloud_federation_api","1.0.0"],["apps","files_rightclick","0.15.1"],["apps","sharerenamer","2.7.2"],["stats","num_files",16174],["stats","num_users",4],["stats","num_storages",11],["stats","num_storages_local",3],["stats","num_storages_home",4],["stats","num_storages_other",4],["stats","num_comments",0],["stats","num_comment_markers",0],["stats","num_systemtags",0],["stats","num_systemtags_mappings",0],["files_sharing","num_shares",7],["files_sharing","num_shares_user",2],["files_sharing","num_shares_groups",5],["files_sharing","num_shares_link",0],["files_sharing","num_shares_link_no_password",0],["files_sharing","num_fed_shares_sent",0],["files_sharing","num_fed_shares_received",0],["files_sharing","permissions_1_7",1],["files_sharing","permissions_0_1",1],["files_sharing","permissions_1_1",1],["files_sharing","permissions_1_31",2],["files_sharing","permissions_0_17",1],["files_sharing","permissions_1_5",1],["encryption","enabled","no"],["encryption","default_module","no"]]}"
},
"systemtags": {
"types": "logging",
"enabled": "no",
"installed_version": "1.7.0"
},
"tasks": {
"types": "",
"enabled": "yes",
"signed": "true",
"installed_version": "0.14.2"
},
"templateeditor": {
"types": "",
"installed_version": "0.2",
"enabled": "no"
},
"text": {
"types": "dav",
"enabled": "yes",
"installed_version": "3.3.0"
},
"theming": {
"faviconMime": "image/png",
"types": "logging",
"enabled": "yes",
"installed_version": "1.13.0",
"color": "#2d75b0",
"slogan": "REMOVED SENSITIVE VALUE",
"name": "Vapeur",
"url": "REMOVED SENSITIVE VALUE",
"cachebuster": "12"
},
"twofactor_backupcodes": {
"types": "",
"enabled": "yes",
"installed_version": "1.11.0"
},
"twofactor_totp": {
"types": "",
"installed_version": "6.1.0",
"enabled": "yes"
},
"updatenotification": {
"types": "",
"enabled": "yes",
"news": "14.1.3",
"documents": "0.13.1",
"notify_groups": "["admin"]",
"bruteforcesettings": "1.0.3",
"files_pdfviewer": "1.1.2",
"calendar": "2.3.4",
"audioplayer": "3.2.2",
"spreed": "11.3.2",
"gpxpod": "4.3.0",
"installed_version": "1.12.0",
"update_check_errors": "0",
"caniupdate": "0.1.3",
"theming": "1.4.5",
"notes": "2.6.0",
"files_rightclick": "0.15.0",
"sharerenamer": "2.7.3",
"apporder": "0.13.0",
"carnet": "0.24.2",
"twofactor_totp": "6.1.0",
"files_markdown": "2.3.4",
"extract": "1.3.2",
"bookmarks": "10.0.2",
"tasks": "0.14.2",
"camerarawpreviews": "0.7.13",
"contacts": "4.0.6",
"groupfolders": "9.0.3",
"breezedark": "21.0.11",
"core": "22.2.3.0"
},
"updater": {
"installed_version": "0.6",
"types": "",
"enabled": "no"
},
"user_external": {
"installed_version": "0.4",
"types": "authentication,prelogin",
"enabled": "no"
},
"user_status": {
"installed_version": "1.2.0",
"types": "",
"enabled": "yes"
},
"viewer": {
"types": "",
"enabled": "yes",
"installed_version": "1.6.0"
},
"weather": {
"types": "",
"ocsid": "170605",
"installed_version": "1.5.5",
"enabled": "no",
"openweathermap_api_key": "36aa733cd390c86573d0c0339893b477"
},
"weather_status": {
"types": "",
"enabled": "yes",
"installed_version": "1.2.0"
},
"workflowengine": {
"types": "filesystem",
"enabled": "yes",
"installed_version": "2.4.0"
}
}
}

</details>

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

**Are you using encryption:** yes/no

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

### Client configuration
Cron error (system crom, FreeBSD 13.0)

### Logs

<!--- Reports without logs might be closed as unqualified reports! -->

#### Web server error log
<details>
<summary>Web server error log</summary>

021/11/20 19:03:29 [error] 93079#107517: *51910 FastCGI sent in stderr: "oCGRo4MnpbQyqVD","level":3,"time":"2021-11-20T18:03:27+00:00","remoteAddr":"2a01:e0a:2b7:70e1:3d0f:c440:cecb:d4d7","user":"erwan","app":"PHP","method":"GET","url":"/settings/admin/serverinfo","message":"dns_get_record(): DNS Query failed at /usr/local/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php#83","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0","version":"22.2.3.0","exception":{"Exception":"Error","Message":"dns_get_record(): DNS Query failed at /usr/local/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php#83","Code":0,"Trace":[{"function":"onError","class":"OC\Log\ErrorHandler","type":"::","args":[2,"dns_get_record(): DNS Query failed","/usr/local/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php",83]},{"file":"/usr/local/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php","line":83,"function":"dns_get_record","args":["apps.nextcloud.com",16]},{"file":"/usr/local/nextcloud/lib/private/Http/Client/DnsPinMiddl" while reading response header from upstream, client: 2a01:e0a:2b7:70e1:3d0f:c440:cecb:d4d7, server: vapeur.rail.eu.org, request: "GET /settings/admin/serverinfo HTTP/2.0", upstream: "fastcgi://172.18.1.5:9000", host: "vapeur.rail.eu.org"
2021/11/20 19:03:29 [error] 93079#107517: *51910 FastCGI sent in stderr: "PHP message: {"reqId":"ahyVkoCGRo4MnpbQyqVD","level":3,"time":"2021-11-20T18:03:29+00:00","remoteAddr":"2a01:e0a:2b7:70e1:3d0f:c440:cecb:d4d7","user":"erwan","app":"PHP","method":"GET","url":"/settings/admin/serverinfo","message":"chmod(): Operation not permitted at /usr/local/nextcloud/lib/private/Log/File.php#86","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0","version":"22.2.3.0"}" while reading upstream, client: 2a01:e0a:2b7:70e1:3d0f:c440:cecb:d4d7, server: vapeur.rail.eu.org, request: "GET /settings/admin/serverinfo HTTP/2.0", upstream: "fastcgi://172.18.1.5:9000", host: "vapeur.rail.eu.org"

</details>

#### Nextcloud log (data/nextcloud.log)
<details>
<summary>Nextcloud log</summary>

{"reqId":"c37KBDkSih8R6Rp3hiW9","level":3,"time":"2021-11-13T15:00:04+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"dns_get_record(): DNS Query failed at /usr/local/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php#83","userAgent":"--","version":"22.2.0.2","exception":{"Exception":"Error","Message":"dns_get_record(): DNS Query failed at /usr/local/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php#83","Code":0,"Trace":[{"function":"onError","class":"OC\Log\ErrorHandler","type":"::","args":[2,"dns_get_record(): DNS Query failed","/usr/local/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php",83]},{"file":"/usr/local/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php","line":83,"function":"dns_get_record","args":["updates.nextcloud.com",16]},{"file":"/usr/local/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php","line":128,"function":"dnsResolve","class":"OC\Http\Client\DnsPinMiddleware","type":"->","args":["updates.nextcloud.com",1]},{"file":"/usr/local/nextcloud/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php","line":35,"function":"OC\Http\Client\{closure}","class":"OC\Http\Client\DnsPinMiddleware","type":"->","args":["*** sensitive parameters replaced "]},{"file":"/usr/local/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php","line":31,"function":"__invoke","class":"GuzzleHttp\PrepareBodyMiddleware","type":"->","args":[" sensitive parameter replaced "," sensitive parameter replaced "]},{"file":"/usr/local/nextcloud/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php","line":71,"function":"GuzzleHttp\{closure}","class":"GuzzleHttp\Middleware","type":"::","args":[" sensitive parameters replaced "]},{"file":"/usr/local/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php","line":63,"function":"__invoke","class":"GuzzleHttp\RedirectMiddleware","type":"->","args":[" sensitive parameter replaced "," sensitive parameter replaced "]},{"file":"/usr/local/nextcloud/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php","line":75,"function":"GuzzleHttp\{closure}","class":"GuzzleHttp\Middleware","type":"::","args":[" sensitive parameters replaced "]},{"file":"/usr/local/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php","line":331,"function":"__invoke","class":"GuzzleHttp\HandlerStack","type":"->","args":[" sensitive parameter replaced "," sensitive parameter replaced "]},{"file":"/usr/local/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php","line":168,"function":"transfer","class":"GuzzleHttp\Client","type":"->","args":[" sensitive parameter replaced "," sensitive parameter replaced "]},{"file":"/usr/local/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php","line":187,"function":"requestAsync","class":"GuzzleHttp\Client","type":"->","args":["get",{"class":"GuzzleHttp\Psr7\Uri"},{"verify":"/usr/local/nextcloud/resources/config/ca-bundle.crt","timeout":30,"allow_redirects":{"on_redirect":{"class":"Closure"}},"nextcloud":{"allow_local_address":false},"synchronous":true,"0":"And 6 more entries, set log level to debug to see all entries"}]},{"file":"/usr/local/nextcloud/lib/private/Http/Client/Client.php","line":223,"function":"request","class":"GuzzleHttp\Client","type":"->","args":["get","https://updates.nextcloud.com/updater_server/?version=22x2x0x2x1458319995.8732x1636815604xstablexx2021-09-29T21:21:53+00:00 07e359b7de671a81a7baad701d4496a9f871a770x8x0x12",{"verify":"/usr/local/nextcloud/resources/config/ca-bundle.crt","timeout":30,"allow_redirects":{"on_redirect":{"class":"Closure"}},"nextcloud":{"allow_local_address":false},"headers":{"User-Agent":"Nextcloud Server Crawler","Accept-Encoding":"gzip"},"0":"And 1 more entries, set log level to debug to see all entries"}]},{"file":"/usr/local/nextcloud/lib/private/Updater/VersionCheck.php","line":127,"function":"get","class":"OC\Http\Client\Client","type":"->","args":["https://updates.nextcloud.com/updater_server/?version=22x2x0x2x1458319995.8732x1636815604xstablexx2021-09-29T21:21:53+00:00 07e359b7de671a81a7baad701d4496a9f871a770x8x0x12"]},{"file":"/usr/local/nextcloud/lib/private/Updater/VersionCheck.php","line":92,"function":"getUrlContent","class":"OC\Updater\VersionCheck","type":"->","args":["https://updates.nextcloud.com/updater_server/?version=22x2x0x2x1458319995.8732x1636815604xstablexx2021-09-29T21:21:53+00:00 07e359b7de671a81a7baad701d4496a9f871a770x8x0x12"]},{"file":"/usr/local/nextcloud/apps/updatenotification/lib/Notification/BackgroundJob.php","line":101,"function":"check","class":"OC\Updater\VersionCheck","type":"->","args":[]},{"file":"/usr/local/nextcloud/apps/updatenotification/lib/Notification/BackgroundJob.php","line":86,"function":"checkCoreUpdate","class":"OCA\UpdateNotification\Notification\BackgroundJob","type":"->","args":[]},{"file":"/usr/local/nextcloud/lib/private/BackgroundJob/Job.php","line":51,"function":"run","class":"OCA\UpdateNotification\Notification\BackgroundJob","type":"->","args":[null]},{"file":"/usr/local/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":58,"function":"execute","class":"OC\BackgroundJob\Job","type":"->","args":[{"class":"OC\BackgroundJob\JobList"},{"class":"OC\Log"}]},{"file":"/usr/local/nextcloud/cron.php","line":127,"function":"execute","class":"OC\BackgroundJob\TimedJob","type":"->","args":[{"class":"OC\BackgroundJob\JobList"},{"class":"OC\Log"}]}],"File":"/usr/local/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"c37KBDkSih8R6Rp3hiW9","level":3,"time":"2021-11-13T15:00:05+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"dns_get_record(): DNS Query failed at /usr/local/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php#83","userAgent":"--","version":"22.2.0.2","exception":{"Exception":"Error","Message":"dns_get_record(): DNS Query failed at /usr/local/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php#83","Code":0,"Trace":[{"function":"onError","class":"OC\Log\ErrorHandler","type":"::","args":[2,"dns_get_record(): DNS Query failed","/usr/local/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php",83]},{"file":"/usr/local/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php","line":83,"function":"dns_get_record","args":["apps.nextcloud.com",16]},{"file":"/usr/local/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php","line":128,"function":"dnsResolve","class":"OC\Http\Client\DnsPinMiddleware","type":"->","args":["apps.nextcloud.com",1]},{"file":"/usr/local/nextcloud/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php","line":35,"function":"OC\Http\Client\{closure}","class":"OC\Http\Client\DnsPinMiddleware","type":"->","args":["
sensitive parameters replaced "]},{"file":"/usr/local/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php","line":31,"function":"__invoke","class":"GuzzleHttp\PrepareBodyMiddleware","type":"->","args":[" sensitive parameter replaced "," sensitive parameter replaced "]},{"file":"/usr/local/nextcloud/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php","line":71,"function":"GuzzleHttp\{closure}","class":"GuzzleHttp\Middleware","type":"::","args":[" sensitive parameters replaced "]},{"file":"/usr/local/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php","line":63,"function":"__invoke","class":"GuzzleHttp\RedirectMiddleware","type":"->","args":[" sensitive parameter replaced "," sensitive parameter replaced "]},{"file":"/usr/local/nextcloud/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php","line":75,"function":"GuzzleHttp\{closure}","class":"GuzzleHttp\Middleware","type":"::","args":[" sensitive parameters replaced "]},{"file":"/usr/local/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php","line":331,"function":"__invoke","class":"GuzzleHttp\HandlerStack","type":"->","args":[" sensitive parameter replaced "," sensitive parameter replaced "]},{"file":"/usr/local/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php","line":168,"function":"transfer","class":"GuzzleHttp\Client","type":"->","args":[" sensitive parameter replaced "," sensitive parameter replaced ***"]},{"file":"/usr/local/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php","line":187,"function":"requestAsync","class":"GuzzleHttp\Client","type":"->","args":["get",{"class":"GuzzleHttp\Psr7\Uri"},{"verify":"/usr/local/nextcloud/resources/config/ca-bundle.crt","timeout":60,"allow_redirects":{"on_redirect":{"class":"Closure"}},"nextcloud":{"allow_local_address":false},"synchronous":true,"0":"And 6 more entries, set log level to debug to see all entries"}]},{"file":"/usr/local/nextcloud/lib/private/Http/Client/Client.php","line":223,"function":"request","class":"GuzzleHttp\Client","type":"->","args":["get","https://apps.nextcloud.com/api/v1/apps.json",{"verify":"/usr/local/nextcloud/resnextcl

</details>

#### Browser log
<details>
<summary>Browser log</summary>

No log available

</details>
@erwdavid erwdavid added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Nov 20, 2021
@erwdavid
Copy link
Author

I found that nextcloud did not have anymore the write rights to the log directory. It might have an influence on the behaviour.

@kesselb
Copy link
Contributor

kesselb commented Jun 11, 2022

Hi, looks like #28105 to me. Closing this report. Please make sure to run the latest release and check your dns. Thanks 👍

@kesselb kesselb closed this as completed Jun 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug
Projects
None yet
Development

No branches or pull requests

2 participants