[GitHub] [manifoldcf] schuch commented on pull request #113: Enforce pre-emptive basic auth for Solr output connector
schuch commented on pull request #113: URL: https://github.com/apache/manifoldcf/pull/113#issuecomment-1022947513 The patch was accepted with https://github.com/apache/manifoldcf/commit/82dfbe3ccde2ad4ecd6df100dd9bc6dcc86898cc Many thanks for the contribution Markus! ❤️ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@manifoldcf.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[jira] [Assigned] (CONNECTORS-1694) Basic auth for Solr output connector not working for POST/DELETE requests
[ https://issues.apache.org/jira/browse/CONNECTORS-1694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Markus Schuch reassigned CONNECTORS-1694: - Assignee: Markus Schuch > Basic auth for Solr output connector not working for POST/DELETE requests > - > > Key: CONNECTORS-1694 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1694 > Project: ManifoldCF > Issue Type: Bug >Reporter: Markus Schuch >Assignee: Markus Schuch >Priority: Major > Fix For: ManifoldCF next > > Attachments: 113.patch > > > From https://github.com/apache/manifoldcf/pull/113 > {quote}The underlying Apache HTTP client uses universal basic auth for the > first request, then caches the resp. auth-related data and switches to > pre-emptive basic auth for subsequent requests that target the same host. > This seems to cause problems requests that alter state at Solr (POST/DELETE). > This situation can be easily remedied by enforcing pre-emptive basic auth for > the first request. > {quote} -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Commented] (CONNECTORS-1694) Basic auth for Solr output connector not working for POST/DELETE requests
[ https://issues.apache.org/jira/browse/CONNECTORS-1694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17482950#comment-17482950 ] Markus Schuch commented on CONNECTORS-1694: --- After applying the patch the ingestion works fine. The patch looks reasonable to me. Preemptive basic authentication is the sensible and correct solution for server-to-server connections. r1897536 > Basic auth for Solr output connector not working for POST/DELETE requests > - > > Key: CONNECTORS-1694 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1694 > Project: ManifoldCF > Issue Type: Bug >Reporter: Markus Schuch >Priority: Major > Attachments: 113.patch > > > From https://github.com/apache/manifoldcf/pull/113 > {quote}The underlying Apache HTTP client uses universal basic auth for the > first request, then caches the resp. auth-related data and switches to > pre-emptive basic auth for subsequent requests that target the same host. > This seems to cause problems requests that alter state at Solr (POST/DELETE). > This situation can be easily remedied by enforcing pre-emptive basic auth for > the first request. > {quote} -- This message was sent by Atlassian Jira (v8.20.1#820001)
[GitHub] [manifoldcf] asfgit closed pull request #113: Enforce pre-emptive basic auth for Solr output connector
asfgit closed pull request #113: URL: https://github.com/apache/manifoldcf/pull/113 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@manifoldcf.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org