From db6d7c5ebe4f814d99f8694d9187310eccd8e7a3 Mon Sep 17 00:00:00 2001 From: WPLake Date: Mon, 5 Aug 2024 08:57:59 +0300 Subject: [PATCH 1/3] issue-16_using-subversion-page_new-troubleshooting-section --- wordpress-org/how-to-use-subversion/index.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/wordpress-org/how-to-use-subversion/index.md b/wordpress-org/how-to-use-subversion/index.md index dc81e1d..eda7b88 100644 --- a/wordpress-org/how-to-use-subversion/index.md +++ b/wordpress-org/how-to-use-subversion/index.md @@ -239,6 +239,24 @@ When tagging a new version, **remember to update** the `Stable Tag` field in [`t Congratulations! You've updated your code! +## Troubleshooting + +In this section, you'll find descriptions of the issues you may encounter and ways to solve them. + +### svn: E175012: Connection timed out + +This issue occurs on the client's (your) side when the server (wordpress.org) takes a very long time to process the input. + +Usually, it happens only with large plugins that contain hundreds of files. For example, contributors to the Gutenberg plugin (which is a part of WordPress but is also available as a plugin) [have faced](https://github.com/WordPress/gutenberg/issues/55295) this issue. + +To solve this problem, you need to add a special timeout-increasing option to the commit command: + +``` +svn ci -m "new version" --config-option=servers:global:http-timeout=900 +``` + +In this command, 900 is the number of seconds. Using this trick, you'll be able to bypass the timeout issue. + ## Notes Don't put anything in SVN that you're not willing and prepared to have deployed to everyone who uses your plugin. This _includes_ vendor files, `.gitignore` and everything else. From eabc45ac57ce15ef51fb1ed9a5ecf46ec22880fb Mon Sep 17 00:00:00 2001 From: Francisco Torres Date: Fri, 3 Jan 2025 19:30:34 +0100 Subject: [PATCH 2/3] Update wordpress-org/how-to-use-subversion/index.md Co-authored-by: Brian Alexander <824344+ironprogrammer@users.noreply.github.com> --- wordpress-org/how-to-use-subversion/index.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/wordpress-org/how-to-use-subversion/index.md b/wordpress-org/how-to-use-subversion/index.md index eda7b88..b6ae188 100644 --- a/wordpress-org/how-to-use-subversion/index.md +++ b/wordpress-org/how-to-use-subversion/index.md @@ -245,11 +245,9 @@ In this section, you'll find descriptions of the issues you may encounter and wa ### svn: E175012: Connection timed out -This issue occurs on the client's (your) side when the server (wordpress.org) takes a very long time to process the input. +This issue can occur when the SVN repository takes a long time to process uploaded files, particularly with large plugins that contain hundreds of files. The default timeout for SVN in the plugin repository is 10 minutes (600 seconds). -Usually, it happens only with large plugins that contain hundreds of files. For example, contributors to the Gutenberg plugin (which is a part of WordPress but is also available as a plugin) [have faced](https://github.com/WordPress/gutenberg/issues/55295) this issue. - -To solve this problem, you need to add a special timeout-increasing option to the commit command: +To work around this issue, you can increase SVN's timeout during commit with the `servers:global:http-timeout` option, passing it a timeout in seconds. For instance, to set the timeout to 15 minutes: ``` svn ci -m "new version" --config-option=servers:global:http-timeout=900 From 846d54b2d04056920d40ded111b0a355fe508770 Mon Sep 17 00:00:00 2001 From: Francisco Torres Date: Fri, 3 Jan 2025 19:30:42 +0100 Subject: [PATCH 3/3] Update wordpress-org/how-to-use-subversion/index.md Co-authored-by: Brian Alexander <824344+ironprogrammer@users.noreply.github.com> --- wordpress-org/how-to-use-subversion/index.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/wordpress-org/how-to-use-subversion/index.md b/wordpress-org/how-to-use-subversion/index.md index b6ae188..8bc243f 100644 --- a/wordpress-org/how-to-use-subversion/index.md +++ b/wordpress-org/how-to-use-subversion/index.md @@ -253,8 +253,6 @@ To work around this issue, you can increase SVN's timeout during commit with the svn ci -m "new version" --config-option=servers:global:http-timeout=900 ``` -In this command, 900 is the number of seconds. Using this trick, you'll be able to bypass the timeout issue. - ## Notes Don't put anything in SVN that you're not willing and prepared to have deployed to everyone who uses your plugin. This _includes_ vendor files, `.gitignore` and everything else.