SSL Handshake failure












0















For a long time I connected to an external API in my application (ws.audioscrobbler.com:443), but it suddenly started to deny me a SSL handshake during authentication process, according to this traceback:



  File "/Users/me/anaconda2/lib/python2.7/ssl.py", line 840, in do_handshake
self._sslobj.do_handshake()


Which makes the application to hang altogether.




However, handshake is granted and application works if I change my router to my phone as a hotspot, so the problem must be related to a specific ISP.




Note: I have been containerizing the same application using Docker lately, and there's been a lot of network meddling, such as configuring nginx as proxy, react as client, amazon AWS configs etc, so maybe this is related, but I'm not sure, because the problem persists If I run the application only using my Flask developement stage, prior to the above configs.



what could be going on here and how do I properly debug and fix that?










share|improve this question















migrated from serverfault.com Feb 18 at 2:15


This question came from our site for system and network administrators.



















  • You should look for problems with your network connectivity.

    – Michael Hampton
    Feb 18 at 1:59











  • apparently there is nothing wrong with my network connectivity. it connects to the internet normally. so I wouldn't even know how to start looking.

    – data_garden
    Feb 18 at 2:01











  • The site ws.audioscrobbler.com is reachable and responds normally, so if you're hanging while connecting to it on one Internet connection but not the other, then network connectivity is the first thing to look at.

    – Michael Hampton
    Feb 18 at 2:03











  • I don't know what you mean by 'network connectivity'. the network connects to the internet fine, and ping shows there's is no problem with it.

    – data_garden
    Feb 18 at 2:07











  • You're trying to connect to one specific site, and it hangs. But when you change your ISP you can connect successfully. Or did I misunderstand what I thought I read?

    – Michael Hampton
    Feb 18 at 2:09
















0















For a long time I connected to an external API in my application (ws.audioscrobbler.com:443), but it suddenly started to deny me a SSL handshake during authentication process, according to this traceback:



  File "/Users/me/anaconda2/lib/python2.7/ssl.py", line 840, in do_handshake
self._sslobj.do_handshake()


Which makes the application to hang altogether.




However, handshake is granted and application works if I change my router to my phone as a hotspot, so the problem must be related to a specific ISP.




Note: I have been containerizing the same application using Docker lately, and there's been a lot of network meddling, such as configuring nginx as proxy, react as client, amazon AWS configs etc, so maybe this is related, but I'm not sure, because the problem persists If I run the application only using my Flask developement stage, prior to the above configs.



what could be going on here and how do I properly debug and fix that?










share|improve this question















migrated from serverfault.com Feb 18 at 2:15


This question came from our site for system and network administrators.



















  • You should look for problems with your network connectivity.

    – Michael Hampton
    Feb 18 at 1:59











  • apparently there is nothing wrong with my network connectivity. it connects to the internet normally. so I wouldn't even know how to start looking.

    – data_garden
    Feb 18 at 2:01











  • The site ws.audioscrobbler.com is reachable and responds normally, so if you're hanging while connecting to it on one Internet connection but not the other, then network connectivity is the first thing to look at.

    – Michael Hampton
    Feb 18 at 2:03











  • I don't know what you mean by 'network connectivity'. the network connects to the internet fine, and ping shows there's is no problem with it.

    – data_garden
    Feb 18 at 2:07











  • You're trying to connect to one specific site, and it hangs. But when you change your ISP you can connect successfully. Or did I misunderstand what I thought I read?

    – Michael Hampton
    Feb 18 at 2:09














0












0








0








For a long time I connected to an external API in my application (ws.audioscrobbler.com:443), but it suddenly started to deny me a SSL handshake during authentication process, according to this traceback:



  File "/Users/me/anaconda2/lib/python2.7/ssl.py", line 840, in do_handshake
self._sslobj.do_handshake()


Which makes the application to hang altogether.




However, handshake is granted and application works if I change my router to my phone as a hotspot, so the problem must be related to a specific ISP.




Note: I have been containerizing the same application using Docker lately, and there's been a lot of network meddling, such as configuring nginx as proxy, react as client, amazon AWS configs etc, so maybe this is related, but I'm not sure, because the problem persists If I run the application only using my Flask developement stage, prior to the above configs.



what could be going on here and how do I properly debug and fix that?










share|improve this question
















For a long time I connected to an external API in my application (ws.audioscrobbler.com:443), but it suddenly started to deny me a SSL handshake during authentication process, according to this traceback:



  File "/Users/me/anaconda2/lib/python2.7/ssl.py", line 840, in do_handshake
self._sslobj.do_handshake()


Which makes the application to hang altogether.




However, handshake is granted and application works if I change my router to my phone as a hotspot, so the problem must be related to a specific ISP.




Note: I have been containerizing the same application using Docker lately, and there's been a lot of network meddling, such as configuring nginx as proxy, react as client, amazon AWS configs etc, so maybe this is related, but I'm not sure, because the problem persists If I run the application only using my Flask developement stage, prior to the above configs.



what could be going on here and how do I properly debug and fix that?







nginx ssl






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 18 at 2:22







data_garden

















asked Feb 18 at 0:07









data_gardendata_garden

1012




1012




migrated from serverfault.com Feb 18 at 2:15


This question came from our site for system and network administrators.









migrated from serverfault.com Feb 18 at 2:15


This question came from our site for system and network administrators.















  • You should look for problems with your network connectivity.

    – Michael Hampton
    Feb 18 at 1:59











  • apparently there is nothing wrong with my network connectivity. it connects to the internet normally. so I wouldn't even know how to start looking.

    – data_garden
    Feb 18 at 2:01











  • The site ws.audioscrobbler.com is reachable and responds normally, so if you're hanging while connecting to it on one Internet connection but not the other, then network connectivity is the first thing to look at.

    – Michael Hampton
    Feb 18 at 2:03











  • I don't know what you mean by 'network connectivity'. the network connects to the internet fine, and ping shows there's is no problem with it.

    – data_garden
    Feb 18 at 2:07











  • You're trying to connect to one specific site, and it hangs. But when you change your ISP you can connect successfully. Or did I misunderstand what I thought I read?

    – Michael Hampton
    Feb 18 at 2:09



















  • You should look for problems with your network connectivity.

    – Michael Hampton
    Feb 18 at 1:59











  • apparently there is nothing wrong with my network connectivity. it connects to the internet normally. so I wouldn't even know how to start looking.

    – data_garden
    Feb 18 at 2:01











  • The site ws.audioscrobbler.com is reachable and responds normally, so if you're hanging while connecting to it on one Internet connection but not the other, then network connectivity is the first thing to look at.

    – Michael Hampton
    Feb 18 at 2:03











  • I don't know what you mean by 'network connectivity'. the network connects to the internet fine, and ping shows there's is no problem with it.

    – data_garden
    Feb 18 at 2:07











  • You're trying to connect to one specific site, and it hangs. But when you change your ISP you can connect successfully. Or did I misunderstand what I thought I read?

    – Michael Hampton
    Feb 18 at 2:09

















You should look for problems with your network connectivity.

– Michael Hampton
Feb 18 at 1:59





You should look for problems with your network connectivity.

– Michael Hampton
Feb 18 at 1:59













apparently there is nothing wrong with my network connectivity. it connects to the internet normally. so I wouldn't even know how to start looking.

– data_garden
Feb 18 at 2:01





apparently there is nothing wrong with my network connectivity. it connects to the internet normally. so I wouldn't even know how to start looking.

– data_garden
Feb 18 at 2:01













The site ws.audioscrobbler.com is reachable and responds normally, so if you're hanging while connecting to it on one Internet connection but not the other, then network connectivity is the first thing to look at.

– Michael Hampton
Feb 18 at 2:03





The site ws.audioscrobbler.com is reachable and responds normally, so if you're hanging while connecting to it on one Internet connection but not the other, then network connectivity is the first thing to look at.

– Michael Hampton
Feb 18 at 2:03













I don't know what you mean by 'network connectivity'. the network connects to the internet fine, and ping shows there's is no problem with it.

– data_garden
Feb 18 at 2:07





I don't know what you mean by 'network connectivity'. the network connects to the internet fine, and ping shows there's is no problem with it.

– data_garden
Feb 18 at 2:07













You're trying to connect to one specific site, and it hangs. But when you change your ISP you can connect successfully. Or did I misunderstand what I thought I read?

– Michael Hampton
Feb 18 at 2:09





You're trying to connect to one specific site, and it hangs. But when you change your ISP you can connect successfully. Or did I misunderstand what I thought I read?

– Michael Hampton
Feb 18 at 2:09










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
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%2fsuperuser.com%2fquestions%2f1406870%2fssl-handshake-failure%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • 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%2fsuperuser.com%2fquestions%2f1406870%2fssl-handshake-failure%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

Probability when a professor distributes a quiz and homework assignment to a class of n students.

Aardman Animations

Are they similar matrix