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

embulk failing using http proxy server in linux using -J-Dhttps.proxyHost #15

Open
doctor opened this issue Jun 21, 2022 · 0 comments
Open

Comments

@doctor
Copy link

doctor commented Jun 21, 2022

Hello,
I am trying to run embulk using proxy to extract data from salesforce. And it looks like the proxy settings are not being used by embulk. Can you please take a look and advise?

I checked with embulk core... they advised this is a plugin issue.
Issue submitted to embulk core

Just a note: this config works well in my laptop. Trying to make it work in our production server

Command:
embulk -J-Dhttps.proxyHost=xx.xxx.xx.xx -J-Dhttps.proxyPort=80 preview salesforce.yml

Output:
2022-06-20 14:27:34.410 -0500: Embulk v0.9.24
2022-06-20 14:27:35.638 -0500 [WARN] (main): DEPRECATION: JRuby org.jruby.embed.ScriptingContainer is directly injected.
2022-06-20 14:27:38.113 -0500 [INFO] (main): Gem's home and path are set by default: "/home/abcd/.embulk/lib/gems"
2022-06-20 14:27:39.030 -0500 [INFO] (main): Started Embulk v0.9.24
2022-06-20 14:27:39.153 -0500 [INFO] (0001:transaction): Loaded plugin embulk-input-salesforce_bulk (0.2.3)
2022-06-20 14:27:39.190 -0500 [INFO] (0001:transaction): Using local thread executor with max_threads=2 / tasks=1
2022-06-20 14:27:39.196 -0500 [INFO] (0001:transaction): {done: 0 / 1, running: 0}
2022-06-20 14:27:39.272 -0500 [INFO] (0076:task-0000): Try login to 'https://xxxxx.my.salesforce.com/services/Soap/u/39.0'.
2022-06-20 14:27:39.867 -0500 [ERROR] (0076:task-0000): class com.sforce.ws.ConnectionException
com.sforce.ws.ConnectionException: Failed to send request to https://xxxxx.my.salesforce.com/services/Soap/u/39.0
at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:121) ~[na:na]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant