getsentry / sentry-cli

A command line utility to work with Sentry.
https://docs.sentry.io/cli/
BSD 3-Clause "New" or "Revised" License
900 stars 221 forks source link

[56] Failure when receiving data from the peer (Send failure: Broken pipe) #2117

Closed muradtries closed 1 month ago

muradtries commented 2 months ago

CLI Version

2.33.0

Operating System and Architecture

Operating System Version

macOS 14.5.0

Link to reproduction repository

No response

CLI Command

sentry-cli debug-files upload

Exact Reproduction Steps

  1. Add build phase script to Xcode
  2. Run workflow on Xcode Cloud

Expected Results

I expected debug symbols will be uploaded to Sentry via Xcode Cloud workflow as I did it with same script on my local machine.

Actual Results

However CLI displayed an error "[56] Failure when receiving data from the peer (Send failure: Broken pipe)"

Logs

2024-08-02T06:00:31.149037633Z error: API request failed 2024-08-02T06:00:31.149179799Z caused by: [56] Failure when receiving data from the peer (Send failure: Broken pipe)

szokeasaurusrex commented 2 months ago

Hi @muradtries, this error message looks like it could be caused by some sort of network problem in Xcode Cloud. To check whether this is truly a problem with the CLI or whether there might be some network issue, could you try making an HTTP request manually (e.g. with curl) to https://sentry.io (if you are using SaaS) or your self-hosted Sentry server (if you are self-hosting) within the same build phase script?

muradtries commented 2 months ago

Hi @szokeasaurusrex . Unfortunately, I couldn't upload them via curl. Instead I can provide you with the full log. From my understanding, the error may be originating from misconfigured db setup as there are "state_not_found" responses.

2024-08-02T06:00:30.885081212Z    INFO    2024-08-01 23:00:07.891912 -07:00 Issuing a command for Organization: pb-digital Project: ma-retail-ios
2024-08-02T06:00:30.885098033Z    DEBUG   2024-08-01 23:00:07.893980 -07:00 request GET https://our.domain.com/api/0/organizations/pb-digital/chunk-upload/
2024-08-02T06:00:30.885109030Z    DEBUG   2024-08-01 23:00:07.894006 -07:00 using token authentication
2024-08-02T06:00:30.885120588Z    DEBUG   2024-08-01 23:00:07.894023 -07:00 retry number 0, max retries: 0
2024-08-02T06:00:30.885137660Z    DEBUG   2024-08-01 23:00:08.823827 -07:00 > GET /api/0/organizations/pb-digital/chunk-upload/ HTTP/1.1
2024-08-02T06:00:30.885153650Z    DEBUG   2024-08-01 23:00:08.823869 -07:00 > Host: our.domain.com
2024-08-02T06:00:30.885164317Z    DEBUG   2024-08-01 23:00:08.823874 -07:00 > Accept: */*
2024-08-02T06:00:30.885191062Z    DEBUG   2024-08-01 23:00:08.823877 -07:00 > Connection: TE
2024-08-02T06:00:30.885203100Z    DEBUG   2024-08-01 23:00:08.823881 -07:00 > TE: gzip
2024-08-02T06:00:30.885219744Z    DEBUG   2024-08-01 23:00:08.823914 -07:00 > User-Agent: sentry-cli/2.33.0
2024-08-02T06:00:30.885234838Z    DEBUG   2024-08-01 23:00:08.824278 -07:00 > Authorization: Bearer sntrys_e***
2024-08-02T06:00:30.885245410Z    DEBUG   2024-08-01 23:00:09.331593 -07:00 < HTTP/1.1 200 OK
2024-08-02T06:00:30.885256106Z    DEBUG   2024-08-01 23:00:09.331686 -07:00 < Date: Fri, 02 Aug 2024 06:00:09 GMT
2024-08-02T06:00:30.885266705Z    DEBUG   2024-08-01 23:00:09.331700 -07:00 < Content-Type: application/json
2024-08-02T06:00:30.885277133Z    DEBUG   2024-08-01 23:00:09.331707 -07:00 < Content-Length: 375
2024-08-02T06:00:30.885287290Z    DEBUG   2024-08-01 23:00:09.331714 -07:00 < Connection: keep-alive
2024-08-02T06:00:30.885307827Z    DEBUG   2024-08-01 23:00:09.331721 -07:00 < Allow: GET, POST, HEAD, OPTIONS
2024-08-02T06:00:30.885336982Z    DEBUG   2024-08-01 23:00:09.331727 -07:00 < Access-Control-Allow-Methods: GET, POST, HEAD, OPTIONS
2024-08-02T06:00:30.885355080Z    DEBUG   2024-08-01 23:00:09.331748 -07:00 < Access-Control-Allow-Headers: X-Sentry-Auth, X-Requested-With, Origin, Accept, Content-Type, Authentication, Authorization, Content-Encoding, sentry-trace, baggage, X-CSRFToken
2024-08-02T06:00:30.885371433Z    DEBUG   2024-08-01 23:00:09.331760 -07:00 < Access-Control-Expose-Headers: X-Sentry-Error, X-Sentry-Direct-Hit, X-Hits, X-Max-Hits, Endpoint, Retry-After, Link
2024-08-02T06:00:30.885388428Z    DEBUG   2024-08-01 23:00:09.331770 -07:00 < Access-Control-Allow-Origin: *
2024-08-02T06:00:30.885413387Z    DEBUG   2024-08-01 23:00:09.331776 -07:00 < Vary: Accept-Language, Cookie
2024-08-02T06:00:30.885424057Z    DEBUG   2024-08-01 23:00:09.331782 -07:00 < Content-Language: en
2024-08-02T06:00:30.885434195Z    DEBUG   2024-08-01 23:00:09.331788 -07:00 < X-Frame-Options: deny
2024-08-02T06:00:30.885444786Z    DEBUG   2024-08-01 23:00:09.331794 -07:00 < X-Content-Type-Options: nosniff
2024-08-02T06:00:30.885458859Z    DEBUG   2024-08-01 23:00:09.331816 -07:00 < X-XSS-Protection: 1; mode=block
2024-08-02T06:00:30.885472558Z    DEBUG   2024-08-01 23:00:09.331823 -07:00 < Content-Security-Policy-Report-Only: style-src 'unsafe-inline' *; frame-ancestors 'none'; default-src 'none'; worker-src 'none'; base-uri 'none'; media-src *; script-src 'self' 'unsafe-inline' 'report-sample'; connect-src 'self' *.algolia.net *.algolianet.com *.algolia.io; img-src blob: data: *; object-src 'none'; font-src 'self' data:
2024-08-02T06:00:30.885486211Z    DEBUG   2024-08-01 23:00:09.331843 -07:00 < Set-Cookie: TS01fcfa2c=016353eb3ce7cda5491091120f174eb743f77e689555aea554839715b10bd8e16b6a245738de7e44d0a675eb1c7a817b6d388b965f; Path=/; Domain=.our.domain.com; Secure
2024-08-02T06:00:30.885497961Z    DEBUG   2024-08-01 23:00:09.331875 -07:00 response status: 200
2024-08-02T06:00:30.885521355Z    DEBUG   2024-08-01 23:00:09.331891 -07:00 body: {"url":"https://our.domain.com/api/0/organizations/pb-digital/chunk-upload/","chunkSize":8388608,"chunksPerRequest":64,"maxFileSize":2147483648,"maxRequestSize":33554432,"concurrency":8,"hashAlgorithm":"sha1","compression":["gzip"],"accept":["debug_files","release_files","pdbs","sources","bcsymbolmaps","il2cpp","portablepdbs","artifact_bundles","artifact_bundles_v2"]}
2024-08-02T06:00:30.885534379Z    DEBUG   2024-08-01 23:00:14.578136 -07:00 request POST https://our.domain.com/api/0/projects/pb-digital/ma-retail-ios/files/difs/assemble/
2024-08-02T06:00:30.885592371Z    DEBUG   2024-08-01 23:00:14.578215 -07:00 using token authentication
2024-08-02T06:00:30.885653261Z    DEBUG   2024-08-01 23:00:14.578343 -07:00 json body: {"e9d76cfdd77f4f48cba1ddf8a5e578dfc797d17c":{"name":"data","debug_id":"8b311a28-e696-3287-9d65-04dea1bcbe0c","chunks":["7c42d6f403776df6586be0bbaa0b5e4c82df9d59","d3430e143c81a0d249f342fdfff0ac89105588db"]},"ef072767203bf4f7cf386b141d1160d03a87536e":{"name":"presentation","debug_id":"a4aa7d22-6973-31cf-b87f-71437c939f14","chunks":["ad5f630122900f27a1151829f9bf7b6ecee28fdb","d65f6aa5ac5f6d82af1825d0f681befc8c91a6e8","14b2c98748047ba064a80db0776cf9d2ece1f726","a51e95fdab904356350c65d4fee7d7fb48db52b1","297ab018e6cc5277f938709a459e3551149dd40d","0903d5221e032c73ee0db7438f2a685666badf3f","f846e3a12aa763c4bbe247b10e337c7e8ee458fc"]},"a18d94adc79d0a46bacdf9f1a1f16ea4af8be25c":{"name":"presentation","debug_id":"a4aa7d22-6973-31cf-b87f-71437c939f14","chunks":["34378cdf787c873b11ab11d44a06b586fa49714e","e941c3e19bcc77308f20e0882842e6aaa263b0be","83d33133ba7fd84b06d5b08e579b7c40163070c7","8cc8efb0fa6818a7598fa234c480a196094507dc"]},"aec1925d53352b1a0f9e139982306ff0153db357":{"name":"domain","debug_id":"828c1902-c9f8-3e7b-991c-04a0ae324936","chunks":["f312f16c6c5fc70b8efad67ba3ee2fc68522907a","1bded6baa4986345d1daae375cacf1c2921a04b6"]},"4ad00c88215329ea38c58b91063695585031697c":{"name":"data","debug_id":"8b311a28-e696-3287-9d65-04dea1bcbe0c","chunks":["41c2a46d0031318985840488cb257f68e41ff7ac","e047d09fc99d14c219fb07e67b768a755306d9ab","4326090e775f7c1771be7aa7aae754b1394cf358","40d4e619a6ae82fb96b5ce7e5ea4c4fdec3826fd"]},"5ffcfe1d9d0c3db6da9fd008f6e27c49f8ec2e02":{"name":"PASHA Bank","debug_id":"5555d3b4-3845-3653-bd3b-a36c458e052d","chunks":["5ffcfe1d9d0c3db6da9fd008f6e27c49f8ec2e02"]},"9b05def9822bc670a001fbf0bd008111748eed68":{"name":"data","debug_id":"8b311a28-e696-3287-9d65-04dea1bcbe0c","chunks":["7c42d6f403776df6586be0bbaa0b5e4c82df9d59","6c9832a1f27d833d442bf69c209cd31a8f4ca805"]},"0d0ef0d5cdcab694b65b48b6be9001146ff3588d":{"name":"domain","debug_id":"828c1902-c9f8-3e7b-991c-04a0ae324936","chunks":["f312f16c6c5fc70b8efad67ba3ee2fc68522907a","1ccb57bf75922f38a48bdd00db9cddc3169b2083"]},"5f1972bec2fe4fa9d2f081e98504a87c8eea1c66":{"name":"ParkingWidgetExtension","debug_id":"aaf27341-e4ff-3bca-8ca1-f8bfd9b0f9c1","chunks":["5f1972bec2fe4fa9d2f081e98504a87c8eea1c66"]},"7e881a030096145f3852424d883d5d3ac6a65170":{"name":"presentation","debug_id":"a4aa7d22-6973-31cf-b87f-71437c939f14","chunks":["34378cdf787c873b11ab11d44a06b586fa49714e","e941c3e19bcc77308f20e0882842e6aaa263b0be","83d33133ba7fd84b06d5b08e579b7c40163070c7","f007962a469134c72662e1c375a16f0377a172fd"]},"3339a1827069b10d12e8fdb0aaf3cadfaf10c1c1":{"name":"ParkingWidgetExtension","debug_id":"aaf27341-e4ff-3bca-8ca1-f8bfd9b0f9c1","chunks":["3339a1827069b10d12e8fdb0aaf3cadfaf10c1c1"]},"8bff5b274c27b3222d6d440860023251c94d9ea3":{"name":"PASHA Bank","debug_id":"5555d3b4-3845-3653-bd3b-a36c458e052d","chunks":["8bff5b274c27b3222d6d440860023251c94d9ea3"]},"394af9898868d4754b26f04ed590e6d2d17c0d21":{"name":"RealmSwift","debug_id":"7052ea72-b45a-336c-b974-1a65bdb03a12","chunks":["8cbde6ee3e7a7bdae29a464eea40d1c8080c67ce","7b65cf34c65b1a15f61586120ece4ccc6c542755"]},"f1b3206678dd2ffa63646cafae6e9032efc209eb":{"name":"domain","debug_id":"828c1902-c9f8-3e7b-991c-04a0ae324936","chunks":["7014d019643f04f45154e218adf9536599db96e3","2ac092e7bbdc8bebe60b7ebc57af70855ac1b016","31e14ed91ab412d04a702cbad2298b5c34fb5926","174759200eb3165f679eee0b1a1298a38b5dfca2"]},"d8f4a9f415769809264d4ad798a1fd82fac10f0e":{"name":"RealmSwift","debug_id":"7052ea72-b45a-336c-b974-1a65bdb03a12","chunks":["9a1041b12e4c63d792a95243b032a6c1b017eb8c","73c61b93753892cd0211920416a6cedb751e8259","4ce92d6153ce77df01c8f434e0e889cc34bb41fe","5abdbeac41ace6917037eb320ab347325761fbac","5f6b8986575c8fc9f9e7ff370216d70dc7d95969","ddf8be441865b2781b86e716d348d979d5231ef5","2c3b179a0aa0650cd39454b41a0c11e52852b861","cb5e578d04c99ad519f5fc3756578427e864cb70","a375efbd37d8c5ed6786875d46c452b513616440","e00794fa8f2090474f3e23ebfcb0ae39fcd91fb5","6b965806ef72b4484a6fa03082693ab5e02607e7","3110e72bf8bf1fc2f6c7174e9633bf6224b1dc8d","fdd49cd9ff3d4bf8f9931c2410d646e98b759289","426dcd9c877f68bc85762c126202240192c03f21","52c773ec26abbb9d287bd021129341420318db6f","41a401a72aa63f8cdaaadeea8f74072d7412af94"]}}
2024-08-02T06:00:30.885685561Z    DEBUG   2024-08-01 23:00:14.578367 -07:00 retry number 0, max retries: 5
2024-08-02T06:00:30.885697242Z    DEBUG   2024-08-01 23:00:14.578648 -07:00 > POST /api/0/projects/pb-digital/ma-retail-ios/files/difs/assemble/ HTTP/1.1
2024-08-02T06:00:30.885708304Z    DEBUG   2024-08-01 23:00:14.578660 -07:00 > Host: our.domain.com
2024-08-02T06:00:30.885718972Z    DEBUG   2024-08-01 23:00:14.578664 -07:00 > Accept: */*
2024-08-02T06:00:30.885734911Z    DEBUG   2024-08-01 23:00:14.578668 -07:00 > Connection: TE
2024-08-02T06:00:30.885751704Z    DEBUG   2024-08-01 23:00:14.578674 -07:00 > TE: gzip
2024-08-02T06:00:30.885762126Z    DEBUG   2024-08-01 23:00:14.578695 -07:00 > User-Agent: sentry-cli/2.33.0
2024-08-02T06:00:30.885776039Z    DEBUG   2024-08-01 23:00:14.578732 -07:00 > Authorization: Bearer sntrys_e***
2024-08-02T06:00:30.885792349Z    DEBUG   2024-08-01 23:00:14.578739 -07:00 > Content-Type: application/json
2024-08-02T06:00:30.885802786Z    DEBUG   2024-08-01 23:00:14.578743 -07:00 > Content-Length: 4170
2024-08-02T06:00:30.885816432Z    DEBUG   2024-08-01 23:00:15.371941 -07:00 < HTTP/1.1 200 OK
2024-08-02T06:00:30.885832244Z    DEBUG   2024-08-01 23:00:15.371981 -07:00 < Date: Fri, 02 Aug 2024 06:00:15 GMT
2024-08-02T06:00:30.885843076Z    DEBUG   2024-08-01 23:00:15.371989 -07:00 < Content-Type: application/json
2024-08-02T06:00:30.885869790Z    DEBUG   2024-08-01 23:00:15.372008 -07:00 < Content-Length: 3525
2024-08-02T06:00:30.885898265Z    DEBUG   2024-08-01 23:00:15.372014 -07:00 < Connection: keep-alive
2024-08-02T06:00:30.885916166Z    DEBUG   2024-08-01 23:00:15.372032 -07:00 < Allow: POST, OPTIONS
2024-08-02T06:00:30.885926911Z    DEBUG   2024-08-01 23:00:15.372038 -07:00 < Access-Control-Allow-Methods: POST, OPTIONS
2024-08-02T06:00:30.885964782Z    DEBUG   2024-08-01 23:00:15.372049 -07:00 < Access-Control-Allow-Headers: X-Sentry-Auth, X-Requested-With, Origin, Accept, Content-Type, Authentication, Authorization, Content-Encoding, sentry-trace, baggage, X-CSRFToken
2024-08-02T06:00:30.885985918Z    DEBUG   2024-08-01 23:00:15.372061 -07:00 < Access-Control-Expose-Headers: X-Sentry-Error, X-Sentry-Direct-Hit, X-Hits, X-Max-Hits, Endpoint, Retry-After, Link
2024-08-02T06:00:30.885997317Z    DEBUG   2024-08-01 23:00:15.372068 -07:00 < Access-Control-Allow-Origin: *
2024-08-02T06:00:30.886007861Z    DEBUG   2024-08-01 23:00:15.372073 -07:00 < Vary: Accept-Language, Cookie
2024-08-02T06:00:30.886018257Z    DEBUG   2024-08-01 23:00:15.372082 -07:00 < Content-Language: en
2024-08-02T06:00:30.886029259Z    DEBUG   2024-08-01 23:00:15.372104 -07:00 < X-Frame-Options: deny
2024-08-02T06:00:30.886051818Z    DEBUG   2024-08-01 23:00:15.372111 -07:00 < X-Content-Type-Options: nosniff
2024-08-02T06:00:30.886062845Z    DEBUG   2024-08-01 23:00:15.372120 -07:00 < X-XSS-Protection: 1; mode=block
2024-08-02T06:00:30.886085070Z    DEBUG   2024-08-01 23:00:15.372138 -07:00 < Content-Security-Policy-Report-Only: style-src 'unsafe-inline' *; frame-ancestors 'none'; default-src 'none'; worker-src 'none'; base-uri 'none'; media-src *; script-src 'self' 'unsafe-inline' 'report-sample'; connect-src 'self' *.algolia.net *.algolianet.com *.algolia.io; img-src blob: data: *; object-src 'none'; font-src 'self' data:
2024-08-02T06:00:30.886098648Z    DEBUG   2024-08-01 23:00:15.372149 -07:00 < Set-Cookie: TS01fcfa2c=016353eb3c6a34a1e9f8e84adbdf6c0b310e7f26d07a7525e475f2a7016269fd2751f23b1c9243c63c1e23fa3660f8d0699c348325; Path=/; Domain=.our.domain.com; Secure
2024-08-02T06:00:30.886109973Z    DEBUG   2024-08-01 23:00:15.372184 -07:00 response status: 200
2024-08-02T06:00:31.148825441Z    DEBUG   2024-08-01 23:00:15.372196 -07:00 body: {"e9d76cfdd77f4f48cba1ddf8a5e578dfc797d17c":{"state":"not_found","missingChunks":["7c42d6f403776df6586be0bbaa0b5e4c82df9d59","d3430e143c81a0d249f342fdfff0ac89105588db"]},"ef072767203bf4f7cf386b141d1160d03a87536e":{"state":"not_found","missingChunks":["a51e95fdab904356350c65d4fee7d7fb48db52b1","f846e3a12aa763c4bbe247b10e337c7e8ee458fc","ad5f630122900f27a1151829f9bf7b6ecee28fdb","297ab018e6cc5277f938709a459e3551149dd40d","d65f6aa5ac5f6d82af1825d0f681befc8c91a6e8","0903d5221e032c73ee0db7438f2a685666badf3f","14b2c98748047ba064a80db0776cf9d2ece1f726"]},"a18d94adc79d0a46bacdf9f1a1f16ea4af8be25c":{"state":"not_found","missingChunks":["e941c3e19bcc77308f20e0882842e6aaa263b0be","34378cdf787c873b11ab11d44a06b586fa49714e","8cc8efb0fa6818a7598fa234c480a196094507dc","83d33133ba7fd84b06d5b08e579b7c40163070c7"]},"aec1925d53352b1a0f9e139982306ff0153db357":{"state":"not_found","missingChunks":["f312f16c6c5fc70b8efad67ba3ee2fc68522907a","1bded6baa4986345d1daae375cacf1c2921a04b6"]},"4ad00c88215329ea38c58b91063695585031697c":{"state":"not_found","missingChunks":["40d4e619a6ae82fb96b5ce7e5ea4c4fdec3826fd","41c2a46d0031318985840488cb257f68e41ff7ac","4326090e775f7c1771be7aa7aae754b1394cf358","e047d09fc99d14c219fb07e67b768a755306d9ab"]},"5ffcfe1d9d0c3db6da9fd008f6e27c49f8ec2e02":{"state":"not_found","missingChunks":["5ffcfe1d9d0c3db6da9fd008f6e27c49f8ec2e02"]},"9b05def9822bc670a001fbf0bd008111748eed68":{"state":"not_found","missingChunks":["6c9832a1f27d833d442bf69c209cd31a8f4ca805","7c42d6f403776df6586be0bbaa0b5e4c82df9d59"]},"0d0ef0d5cdcab694b65b48b6be9001146ff3588d":{"state":"not_found","missingChunks":["1ccb57bf75922f38a48bdd00db9cddc3169b2083","f312f16c6c5fc70b8efad67ba3ee2fc68522907a"]},"5f1972bec2fe4fa9d2f081e98504a87c8eea1c66":{"state":"not_found","missingChunks":["5f1972bec2fe4fa9d2f081e98504a87c8eea1c66"]},"7e881a030096145f3852424d883d5d3ac6a65170":{"state":"not_found","missingChunks":["e941c3e19bcc77308f20e0882842e6aaa263b0be","34378cdf787c873b11ab11d44a06b586fa49714e","f007962a469134c72662e1c375a16f0377a172fd","83d33133ba7fd84b06d5b08e579b7c40163070c7"]},"3339a1827069b10d12e8fdb0aaf3cadfaf10c1c1":{"state":"not_found","missingChunks":["3339a1827069b10d12e8fdb0aaf3cadfaf10c1c1"]},"8bff5b274c27b3222d6d440860023251c94d9ea3":{"state":"not_found","missingChunks":["8bff5b274c27b3222d6d440860023251c94d9ea3"]},"394af9898868d4754b26f04ed590e6d2d17c0d21":{"state":"not_found","missingChunks":["7b65cf34c65b1a15f61586120ece4ccc6c542755","8cbde6ee3e7a7bdae29a464eea40d1c8080c67ce"]},"f1b3206678dd2ffa63646cafae6e9032efc209eb":{"state":"not_found","missingChunks":["174759200eb3165f679eee0b1a1298a38b5dfca2","31e14ed91ab412d04a702cbad2298b5c34fb5926","7014d019643f04f45154e218adf9536599db96e3","2ac092e7bbdc8bebe60b7ebc57af70855ac1b016"]},"d8f4a9f415769809264d4ad798a1fd82fac10f0e":{"state":"not_found","missingChunks":["e00794fa8f2090474f3e23ebfcb0ae39fcd91fb5","ddf8be441865b2781b86e716d348d979d5231ef5","3110e72bf8bf1fc2f6c7174e9633bf6224b1dc8d","6b965806ef72b4484a6fa03082693ab5e02607e7","4ce92d6153ce77df01c8f434e0e889cc34bb41fe","a375efbd37d8c5ed6786875d46c452b513616440","fdd49cd9ff3d4bf8f9931c2410d646e98b759289","9a1041b12e4c63d792a95243b032a6c1b017eb8c","2c3b179a0aa0650cd39454b41a0c11e52852b861","5abdbeac41ace6917037eb320ab347325761fbac","52c773ec26abbb9d287bd021129341420318db6f","73c61b93753892cd0211920416a6cedb751e8259","426dcd9c877f68bc85762c126202240192c03f21","5f6b8986575c8fc9f9e7ff370216d70dc7d95969","cb5e578d04c99ad519f5fc3756578427e864cb70","41a401a72aa63f8cdaaadeea8f74072d7412af94"]}}
2024-08-02T06:00:31.149037633Z  error: API request failed
2024-08-02T06:00:31.149179799Z    caused by: [56] Failure when receiving data from the peer (Send failure: Broken pipe)
2024-08-02T06:00:31.149193729Z    DEBUG   2024-08-01 23:00:30.193573 -07:00 skipping update nagger because session is not attended
szokeasaurusrex commented 2 months ago

@muradtries If I am reading your logs correctly, it looks like you are using Sentry self-hosted. Which version of Sentry self-hosted are you on? Perhaps, there is a problem with your self-hosted setup.

muradtries commented 2 months ago

@szokeasaurusrex our Sentry version is 24.4.2. The interesting part is that, whenever I run this script locally(connection is VPN established to servers), it works perfectly. However, it outputs such logs whenever being run through Xcode Cloud. Network team has also allowed to accept requests from IP adress of App Store Connect to our self-hosted Sentry.

szokeasaurusrex commented 2 months ago

@muradtries Given that the script works when it is run locally, it seems like the most likely explanation is some network problem with the communication between Xcode Cloud and your self-hosted instance. Perhaps, you could check your self-hosted Sentry logs to see if the requests from Xcode Cloud are coming through or getting interrupted at any point.

You could also try upgrading your Sentry to the latest version (24.7.1).

muradtries commented 1 month ago

@szokeasaurusrex , after investigating issue we have found out that, it was totally due to network blockage. now, it works as expected. thanks a lot for you assitance.