Skip to content

Catch the errors related to untrusted self signed certificates for federation - #7450

Merged
rullzer merged 1 commit into
masterfrom
log_correct_self_signed
Dec 11, 2017
Merged

Catch the errors related to untrusted self signed certificates for federation#7450
rullzer merged 1 commit into
masterfrom
log_correct_self_signed

Conversation

@rullzer

Copy link
Copy Markdown
Member

Found in our sentry setup.

Basically catch more generic exceptions. As well as the ringexceptions. They basically can happen for some weird curl reasons. Just catch them and log. Since the admin can't help what curl is getting back anyway.

…deration
* Added tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@MorrisJobke
MorrisJobkeforce-pushed the log_correct_self_signed branch from 14a13ae to 2c2e1c4CompareDecember 11, 2017 17:14
@MorrisJobke

Copy link
Copy Markdown
Member

Rebased to contain the fixes from master.

@codecov

codecovBot commented Dec 11, 2017

Copy link
Copy Markdown

Codecov Report

Merging #7450 into master will decrease coverage by 0.28%.
The diff coverage is 100%.

@@ Coverage Diff @@## master #7450 +/- ##
============================================
- Coverage 51.08% 50.79% -0.29% - Complexity 24858 25074 +216 
============================================
Files 1596 1596 Lines 94590 95156 +566 Branches 1367 1367 ============================================
+ Hits 48317 48334 +17 - Misses 46273 46822 +549
Impacted FilesCoverage ΔComplexity Δ
...s/federation/lib/BackgroundJob/GetSharedSecret.php66.66% <100%> (+1.07%)21 <0> (+1)⬆️
...deration/lib/BackgroundJob/RequestSharedSecret.php69.87% <100%> (+1.12%)19 <0> (+1)⬆️
lib/private/Server.php58.53% <0%> (-23.45%)228% <0%> (+100%)
lib/private/Files/View.php70.07% <0%> (-14.15%)485% <0%> (+114%)
apps/files_trashbin/lib/Trashbin.php72.28% <0%> (-0.25%)136% <0%> (ø)

@MorrisJobkeMorrisJobke mentioned this pull request Dec 11, 2017
28 tasks
@MorrisJobke

Copy link
Copy Markdown
Member

@blizzz@ChristophWurst@skjnldsv I would like to have this in the beta 2 as well.

@rullzer
rullzer merged commit f18ac08 into masterDec 11, 2017
@rullzer
rullzer deleted the log_correct_self_signed branch December 11, 2017 18:15
@ChristophWurstChristophWurst mentioned this pull request Dec 22, 2020
1 task
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@rullzer@MorrisJobke@ChristophWurst