Code Monkey home page Code Monkey logo

Comments (15)

dscpinheiro avatar dscpinheiro commented on July 18, 2024

Could this be related to #3198? We added support for http_proxy a while ago, but no_proxy was missing (this was fixed in version 4.1.525 of the AWSPowershell modules).

from aws-sdk-net.

KristofKuli avatar KristofKuli commented on July 18, 2024

Hi Daniel,

Yes, we have checked this issue yesterday, but even with 4.1.525, we are getting this "Invalid URI" error and from that message it's hard to decide, where the issue is coming from exactly. In the "Current Behavior" section I have specified the versions being tried and the respective error messages.

from aws-sdk-net.

dscpinheiro avatar dscpinheiro commented on July 18, 2024

I'm not sure if you can share it, but what does your no_proxy look like? I know we're not ignoring it anymore, but from the PR:

The full implementation of no_proxy would involve DNS resolution to IP address and CIDR matching. That is a much larger scope to integrate into the SDK and for the SDK's use cases unlikely to be needed. This implementation does host name matching with wildcard support matching the Java and Kotlin SDK's implementation.

from aws-sdk-net.

KristofKuli avatar KristofKuli commented on July 18, 2024

I can't share the exact details, but I am using an example.
Target endpoint: https://example.target.company.com
Env vars in the script:
$proxy = "http://proxy.company.com:8080"
$noProxy = "127.0.0.1;localhost;example.target.company.com"
$noProxyComma = "127.0.0.1,localhost,example.target.company.com"

We have tried unsetting the $proxy variable as well, but didn't change the outcome.

from aws-sdk-net.

normj avatar normj commented on July 18, 2024

@KristofKuli What is the no_proxy being set to. The value of $noProxy or $noProxyComma?

from aws-sdk-net.

KristofKuli avatar KristofKuli commented on July 18, 2024

$noProxyComma

from aws-sdk-net.

KristofKuli avatar KristofKuli commented on July 18, 2024

Hi,
is there any update on this?

from aws-sdk-net.

afroz429 avatar afroz429 commented on July 18, 2024

Please enable logging to see if it helps in identifying the issue. PowerShell logging can be enabled with below commands.

    Add-AWSLoggingListener -Name "AWS Logs" -LogFilePath "C:\Logs\ps-logs.txt" # or any path
    Set-AWSResponseLogging Always
    Enable-AWSMetricsLogging

from aws-sdk-net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.