-
Notifications
You must be signed in to change notification settings - Fork 195
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
Connection issue with proxy in Java #76
Comments
This is probably actually more of a AWS Java SQSClient isssue rather than elasticmq. May take up with AWS, unless you have any ideas |
sorry, no idea :) |
So it works if I add localhost to my proxy bypass in network settings. Just need to work out how to do in Java! Completely unrelated to elasticmq, sorry! |
The problem not in SQS client. |
@mskonovalov There's a special setting for that: |
@adamw and what to do if I have 2 clients and they should use 2 different domain names for the service? |
well that wouldn't be supported right now ... but of course suggestions are welcome :) |
Sure, this problem should have common solution. I'd prefer to find time and maybe make a PR. |
Would be awesome :) |
Hello,
I have an issue when connecting to the elasticmq queue when on my work proxy. It seems to work fine if I disconnect from the internet. But otherwise I get the following.
Exception
Code
I had a similar issue with moto in Python and it was suggested to set env no_proxy to 169.254.169.254. getmoto/moto#605
os.environ['no_proxy'] = '169.254.169.254'
I tried this here to no avail.
System.setProperty("no_proxy", "169.254.169.254");
Further debugging. Looks likes Apache is trying to route the request to:
http://localhost.bbc.co.uk:9324/queue/queue1
Wondered if you had any ideas. Cheers
The text was updated successfully, but these errors were encountered: