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

sphinxcontrib_confluencebuilder throws error #1068

Closed
rakeshcbpur opened this issue Dec 23, 2024 · 2 comments
Closed

sphinxcontrib_confluencebuilder throws error #1068

rakeshcbpur opened this issue Dec 23, 2024 · 2 comments
Labels
confluence-issue An issue that related to a Confluence-related bug.

Comments

@rakeshcbpur
Copy link

We are using sphinxcontrib_confluencebuilder for publishing RST files to confluence and Quite often we get below error , but few times it successfully publishes all our rst files to confluence with out any error.

Note : The command we use is as below

python -m sphinx -b confluence . _build/confluence -E -a -Dconfluence_publish_token=%PUBLISHTOKEN% -Dconfluence_space_key=%CONFLUENCE_SPACE_KEY% -Dconfluence_parent_page="%CONFLUENCE_PARENT_PAGE%"

�[2K�[01mpublishing assets... �[39;49;00m[ 27%] �[32mimage012.png�[39;49;00m
�[2K�[01mpublishing assets... �[39;49;00m[ 28%] �[32mimage013.png�[39;49;00m
�[91msphinxcontrib.confluencebuilder error:�[39;49;00m


Invalid Confluence URL detected

An issue has been detected when trying to communicate with the
configured Confluence instance. Ensure the instance is running and
inspect that the configured Confluence URL is valid:

https://inside-docupedia.bosch.com/confluence/

(details: HTTPSConnectionPool(host='inside-docupedia.bosch.com', port=443): Max retries exceeded with url: /confluence/rest/api/user/watch/content/5016717258 (Caused by ProxyError('Unable to connect to proxy', RemoteDisconnected('Remote end closed connection without response'))))

Note: Today (23rd dec) did not see the error atleast once, probably because usage of confluence is very less due to vacations.

@jdknight
Copy link
Member

jdknight commented Jan 9, 2025

often we get below error , but few times it successfully publishes all our rst files

My initial impression is that this is a corporate proxy or security tool issue over something specific with this extension. The following message says something in the remote line stopped unexpectedly:

Remote end closed connection without response

You could try to run publish events with confluence_publish_debug = 'headers' enable to see if it reveals any hints.

@jdknight jdknight added the confluence-issue An issue that related to a Confluence-related bug. label Jan 9, 2025
@rakeshcbpur
Copy link
Author

@jdknight thanks for the response
currently confluence_publish_delay = 0.25 setting this option solves my issue.

@jdknight jdknight closed this as completed Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confluence-issue An issue that related to a Confluence-related bug.
Projects
None yet
Development

No branches or pull requests

2 participants