-
4 votes
-
Debugging by querying a database of all program state
4 votes -
Minimal Linux bootloader debugging story
6 votes -
Debug symbols for all!
16 votes -
What is a debugger?
6 votes -
How much work does it take to get the Windows 95 version of SimCity 2000 working on a modern windows PC?
10 votes -
I made a 32-bit computer inside Terraria
9 votes -
Hacking a 25 year old game (Worms 2) to make it work
20 votes -
Worlds hardest jigsaw (all white) vs. puzzle machine
5 votes -
Truly understand your BASH programs with these debugging techniques
1 vote -
100% CPU: my fault?
9 votes -
Reasons why bugs might feel impossible to understand
4 votes -
Whose bug is this anyway?
7 votes -
How to improve your debugging strategies
6 votes -
Oh! The things we had to do to debug software!
9 votes -
Walk Monster
7 votes -
Six ways to improve your debugging skills
5 votes -
Fixing Mass Effect black blobs on modern AMD CPUs
12 votes -
Investigate bugs together
@b0rk: investigate bugs together
5 votes -
A Google Cloud support engineer solves a tough DNS case
7 votes -
Debugging Folklore
19 votes -
Is C++ fast?
9 votes -
How did NASA steer the Saturn V?
7 votes -
Regrettable Code, Episode 1 - a senior dev's look at debugging python code
11 votes -
The printer that wouldn't print: Fixing an IBM 1401 mainframe from the 1960s
14 votes -
Rubber Duck just saved me. What about you?
To put this into context: I'm still minor, in Europe, and I was hired into SW company as backend developer. I'm making about 2-3 times as much as my friends in fastfoods. I'm basically making WS...
To put this into context: I'm still minor, in Europe, and I was hired into SW company as backend developer. I'm making about 2-3 times as much as my friends in fastfoods.
I'm basically making WS that would be unified wrapper for about 15 another WS - instead of crafting request for each of those, you will just call the API and it will do everything for you.
Everything was fine, until I encountered a nightmare: WSDL/SOAP protocol over HTTPS with need to use client certificate.
Full of false hope, I thought: "It'll be easy, I finished communication with another companies in few hours, this will be quick".
I was very wrong. I spent countless hours on this. I tried 3 programming languages and 4 different frameworks, copy-pasting solutions from stack overflow and wondering why does this still throw errors! I copied it from stack overflow! I used windows alongside linux and installed like 10 wsdl/soap clients from 2008 forums.
I created 8 or so SO questions, most about different language/framework, but the same problem.
Worth of mentoining, at the time, I could obtain wsdl and xsd of the WS with usage of two certificates (crt.pem and key.pem) over PHP. I tried to use PHP SoapClient, which accepted just one certificate file. I used .pem certificate that I received and should get the work done.
Then, I started writing the final question. Including PHP that downloaded wsdl and SoapClient that didn't work. Knowing someone will probably want to see certificates, I used
cat key.pem cert.pem > certCombined.pem
anddiff certCombined.pem cert.pem
. cert.pem was the certificate I received and should work. I expected no differences. When I saw two pages of differences, I started to suspect the cert I was given is wrong. So I pointed the PHP SoapClient to certCombined - and it started working!This would have never happened (at least for several more hours) unless I known someone will want to see diff between working and not-working certificates. Thank you, rubber duck debugging! Next time I'll be solving something, I'll write on paper everything I use and know.
What are your stories?
13 votes