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

Save as Daisy - Proxy error #25

Closed
Alibobz opened this issue Dec 12, 2022 · 3 comments
Closed

Save as Daisy - Proxy error #25

Alibobz opened this issue Dec 12, 2022 · 3 comments
Assignees
Labels
Milestone

Comments

@Alibobz
Copy link

Alibobz commented Dec 12, 2022

We are trying to deploy Save-As-Daisy, everything seems to install ok. All clients are required to authenticate to a proxy server. When choosing to save as "DAISY XML (from Single docx)" we get the option to "Export to DTbook XML," I fill out the Title, Publisher then Output Folder then click Translate, a few seconds later an error is returned stating "The remote server returned an error: (407) Proxy Authentication Required." If I bypass the proxy the application successfully completes.

Can you tell me why the application is using the proxy & what it is trying to access? Also, can the plugin be configured to not require an internet connection?

Thanks.

@NPavie
Copy link
Contributor

NPavie commented Dec 12, 2022

Hi, thanks for your feedback.

If i recall, the application might access the internet to check for validation files (dtds) but i'm not sure at 100%.
The plugin currently rely on a Microsoft component to apply transformations and I think it is this component that tries to check for public dtds online.
I'll do some investigation and see if i can reproduce the error to confirm and to see if we can provide a fix to disable the internet connection issue through a setting.

@NPavie NPavie self-assigned this Dec 12, 2022
@NPavie NPavie added the bug label Dec 12, 2022
@Alibobz
Copy link
Author

Alibobz commented Jan 11, 2023

Hi,

Adding Daisy.org as a proxy bypass works around this issue.

NPavie added a commit to NPavie/word-save-as-daisy that referenced this issue Jun 30, 2023
Updating the embedded resources xml resolver to used embedded dtds and entities
for mathml and dtbook
to avoid http requests while processing the xml.
@NPavie NPavie added this to the 2.8 milestone Jun 30, 2023
@NPavie
Copy link
Contributor

NPavie commented Jun 30, 2023

Should be fixed by commit fba3588 :
I tested it with wireshark running and no http requests to W3C and Daisy domain was detected

@NPavie NPavie closed this as completed Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants