-
Notifications
You must be signed in to change notification settings - Fork 219
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
SocketModeApp (JavaWebSocket) does not support proxy with username:password #792
Comments
If I specify user:pass in url I get the following
|
Hi @doncorsean ! I'm sorry you stumbled upon this issue. I am new to the project but let me see if I can help you at least find a workaround for this problem. We do have some tests covering this code path (see the That said, the tests that don't explicitly specify a
... instead of:
I hope this can help - and if not, I apologize in advance, I'm the new guy around these parts 😄 , and I can get help from someone more experienced with this project. |
Hi @doncorsean, I tried to resolve this issue but I found that Java-WebSocket library does not support HTTP proxy with user / password as of today. Consider using Tyrus backend for now. |
* Improve the error caused in the #792 scenario * Fix the test
Thx for the guidance @seratch ! |
How do you configure proxy for Bolt Java SDK?
Able to set url using below but getting auth error
The Slack SDK version
[INFO] +- com.slack.api:bolt:jar:1.9.0:compile
[INFO] | +- com.slack.api:slack-api-model:jar:1.9.0:compile
[INFO] | +- com.slack.api:slack-api-client:jar:1.9.0:compile
[INFO] | - com.slack.api:slack-app-backend:jar:1.9.0:compile
[INFO] +- com.slack.api:bolt-servlet:jar:1.9.0:compile
[INFO] +- com.slack.api:bolt-jetty:jar:1.9.0:compile
[INFO] +- com.slack.api:bolt-socket-mode:jar:1.9.0:compile
Java Runtime version
java version "1.8.0_271"
Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)
OS info
ProductName: Mac OS X
ProductVersion: 10.15.7
BuildVersion: 19H1217
Darwin Kernel Version 19.6.0: Thu May 6 00:48:39 PDT 2021; root:xnu-6153.141.33~1/RELEASE_X86_64
Expected result:
Connected to slack API
Actual result:
Failed to call auth.test API (error: Failed to authenticate with proxy)
java.io.IOException: Failed to authenticate with proxy
The text was updated successfully, but these errors were encountered: