Amazon AWS IPv6 Http Request --> EAFNOSUPPORT










0














Lambda AWS Funktion With NodeJs 8.10.
Doing the Reuest with "google.de" works fine und a get the Status Code 200.
Calling with the IPv6 Adress I get an Error.
The IPv6 Link works fine, when I try it on my Smartphone/Laptop Browser



 var url = "http://[2a02:XXXXX:XXXXX:XXXXX:XXXX:855c]:3000/lumos/1/1";
//var url = "http://www.google.de";
var http = require('http');
http.get(url, function(res)
console.log("Got response: " + res.statusCode);
sendResult(responseHeader, requestToken, "ON");
).on('error', function(e)
console.log("Got error: " + e.message);
sendResult(responseHeader, requestToken, "OFF");
);


Error:



2018-11-13T01:47:44.626Z 1d27e34c-e6e6-11e8-a01c-e158231ddd60 Got error: connect EAFNOSUPPORT 2a02:XXXXX:XXXXX:XXXXX:XXXX:855c:3000 - Local (undefined:undefined)









share|improve this question























  • firstly always tried to run local machine because some time its happen if version is different.
    – Krishna kushwaha
    Nov 13 '18 at 7:36










  • It's part of a Alexa Skill, so I have to develop in the AWS, I guess. Or is there a possibility to connect my Alexa to a local NodeJs?
    – Johannes
    Nov 13 '18 at 11:42
















0














Lambda AWS Funktion With NodeJs 8.10.
Doing the Reuest with "google.de" works fine und a get the Status Code 200.
Calling with the IPv6 Adress I get an Error.
The IPv6 Link works fine, when I try it on my Smartphone/Laptop Browser



 var url = "http://[2a02:XXXXX:XXXXX:XXXXX:XXXX:855c]:3000/lumos/1/1";
//var url = "http://www.google.de";
var http = require('http');
http.get(url, function(res)
console.log("Got response: " + res.statusCode);
sendResult(responseHeader, requestToken, "ON");
).on('error', function(e)
console.log("Got error: " + e.message);
sendResult(responseHeader, requestToken, "OFF");
);


Error:



2018-11-13T01:47:44.626Z 1d27e34c-e6e6-11e8-a01c-e158231ddd60 Got error: connect EAFNOSUPPORT 2a02:XXXXX:XXXXX:XXXXX:XXXX:855c:3000 - Local (undefined:undefined)









share|improve this question























  • firstly always tried to run local machine because some time its happen if version is different.
    – Krishna kushwaha
    Nov 13 '18 at 7:36










  • It's part of a Alexa Skill, so I have to develop in the AWS, I guess. Or is there a possibility to connect my Alexa to a local NodeJs?
    – Johannes
    Nov 13 '18 at 11:42














0












0








0







Lambda AWS Funktion With NodeJs 8.10.
Doing the Reuest with "google.de" works fine und a get the Status Code 200.
Calling with the IPv6 Adress I get an Error.
The IPv6 Link works fine, when I try it on my Smartphone/Laptop Browser



 var url = "http://[2a02:XXXXX:XXXXX:XXXXX:XXXX:855c]:3000/lumos/1/1";
//var url = "http://www.google.de";
var http = require('http');
http.get(url, function(res)
console.log("Got response: " + res.statusCode);
sendResult(responseHeader, requestToken, "ON");
).on('error', function(e)
console.log("Got error: " + e.message);
sendResult(responseHeader, requestToken, "OFF");
);


Error:



2018-11-13T01:47:44.626Z 1d27e34c-e6e6-11e8-a01c-e158231ddd60 Got error: connect EAFNOSUPPORT 2a02:XXXXX:XXXXX:XXXXX:XXXX:855c:3000 - Local (undefined:undefined)









share|improve this question















Lambda AWS Funktion With NodeJs 8.10.
Doing the Reuest with "google.de" works fine und a get the Status Code 200.
Calling with the IPv6 Adress I get an Error.
The IPv6 Link works fine, when I try it on my Smartphone/Laptop Browser



 var url = "http://[2a02:XXXXX:XXXXX:XXXXX:XXXX:855c]:3000/lumos/1/1";
//var url = "http://www.google.de";
var http = require('http');
http.get(url, function(res)
console.log("Got response: " + res.statusCode);
sendResult(responseHeader, requestToken, "ON");
).on('error', function(e)
console.log("Got error: " + e.message);
sendResult(responseHeader, requestToken, "OFF");
);


Error:



2018-11-13T01:47:44.626Z 1d27e34c-e6e6-11e8-a01c-e158231ddd60 Got error: connect EAFNOSUPPORT 2a02:XXXXX:XXXXX:XXXXX:XXXX:855c:3000 - Local (undefined:undefined)






amazon-web-services aws-lambda ipv6






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 13 '18 at 12:16

























asked Nov 13 '18 at 2:01









Johannes

11




11











  • firstly always tried to run local machine because some time its happen if version is different.
    – Krishna kushwaha
    Nov 13 '18 at 7:36










  • It's part of a Alexa Skill, so I have to develop in the AWS, I guess. Or is there a possibility to connect my Alexa to a local NodeJs?
    – Johannes
    Nov 13 '18 at 11:42

















  • firstly always tried to run local machine because some time its happen if version is different.
    – Krishna kushwaha
    Nov 13 '18 at 7:36










  • It's part of a Alexa Skill, so I have to develop in the AWS, I guess. Or is there a possibility to connect my Alexa to a local NodeJs?
    – Johannes
    Nov 13 '18 at 11:42
















firstly always tried to run local machine because some time its happen if version is different.
– Krishna kushwaha
Nov 13 '18 at 7:36




firstly always tried to run local machine because some time its happen if version is different.
– Krishna kushwaha
Nov 13 '18 at 7:36












It's part of a Alexa Skill, so I have to develop in the AWS, I guess. Or is there a possibility to connect my Alexa to a local NodeJs?
– Johannes
Nov 13 '18 at 11:42





It's part of a Alexa Skill, so I have to develop in the AWS, I guess. Or is there a possibility to connect my Alexa to a local NodeJs?
– Johannes
Nov 13 '18 at 11:42













1 Answer
1






active

oldest

votes


















0














There are more Users with the same Problem in the aws forum of amazon.
https://forums.aws.amazon.com/thread.jspa?messageID=771838&tstart=0



At this Time, AWS Lambda does not support IPv6 Access.
Workaround could be gateway...
Have a look at:
https://www.sixxs.net/tools/gateway/






share|improve this answer






















    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53272703%2famazon-aws-ipv6-http-request-eafnosupport%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    There are more Users with the same Problem in the aws forum of amazon.
    https://forums.aws.amazon.com/thread.jspa?messageID=771838&tstart=0



    At this Time, AWS Lambda does not support IPv6 Access.
    Workaround could be gateway...
    Have a look at:
    https://www.sixxs.net/tools/gateway/






    share|improve this answer



























      0














      There are more Users with the same Problem in the aws forum of amazon.
      https://forums.aws.amazon.com/thread.jspa?messageID=771838&tstart=0



      At this Time, AWS Lambda does not support IPv6 Access.
      Workaround could be gateway...
      Have a look at:
      https://www.sixxs.net/tools/gateway/






      share|improve this answer

























        0












        0








        0






        There are more Users with the same Problem in the aws forum of amazon.
        https://forums.aws.amazon.com/thread.jspa?messageID=771838&tstart=0



        At this Time, AWS Lambda does not support IPv6 Access.
        Workaround could be gateway...
        Have a look at:
        https://www.sixxs.net/tools/gateway/






        share|improve this answer














        There are more Users with the same Problem in the aws forum of amazon.
        https://forums.aws.amazon.com/thread.jspa?messageID=771838&tstart=0



        At this Time, AWS Lambda does not support IPv6 Access.
        Workaround could be gateway...
        Have a look at:
        https://www.sixxs.net/tools/gateway/







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Nov 13 '18 at 14:07

























        answered Nov 13 '18 at 12:13









        Johannes

        11




        11



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53272703%2famazon-aws-ipv6-http-request-eafnosupport%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Top Tejano songwriter Luis Silva dead of heart attack at 64

            政党

            天津地下鉄3号線