unidoc / unipdf

Golang PDF library for creating and processing PDF files (pure go)
https://unidoc.io
Other
2.46k stars 250 forks source link

[BUG] Proxy is not working #530

Closed surya945 closed 9 months ago

surya945 commented 9 months ago

Description

I have created PDF extractor docker pod which runs within private network. To connect to public network I need to setup proxy. I have setup the http_proxy in docker env, but it is not able to connect to Unipdf licence server within company proxy.

Expected Behavior

I should have control over http client of Unipdf, or some work around. I had same issue while I was connecting to openai, to fix this I had put the proxy in http Client and it worked.

Attachments

I can't put the full log here.

Error: Post https://cloud.unidoc.io/api/metered/status dial tcp: lookup cloud.unidoc.io on : no host Clearly proxy is not applied.

github-actions[bot] commented 9 months ago

Welcome! Thanks for posting your first issue. The way things work here is that while customer issues are prioritized, other issues go into our backlog where they are assessed and fitted into the roadmap when suitable. If you need to get this done, consider buying a license which also enables you to use it in your commercial products. More information can be found on https://unidoc.io/

surya945 commented 9 months ago

It is working after setting http.DefaultTransport