-
Notifications
You must be signed in to change notification settings - Fork 54
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
Https requests don't work for request time out #8
Comments
thanks for trying flashback, i will take a look, there might be something wrong with the keys that generated. |
Thank you for reply.
Could you tell me a successful example for https ? |
i did it a while back by following this wiki, let me redo it again tomorrow and have an example cert file for you to try. If i remember correctly, i was using the intermediate cert. |
@bigwheel there is possible something wrong in the Flashback-Admin for passing in the parameters to Flashback (something that being used in ConnectionFlowFactory --> createFullHttpsConnectionFlow), I will need to talk with @sf1152 tomorrow to see what's the best way to fix it. will update you as soon as I get back from him. sorry for the inconvenience. |
Good news! |
@bigwheel then one extra step is to generate the pkcs intermediate ca In another console, start flashback Let me know if this works. I will go ahead and close this issue, feel free to reopen it if still not working. I really appreciated you are using flashback and actually helped us find couple of issues in the admin/proxy code (everything is working with the above instruction, just enhancement and improvements), i will create new issues and ask help from @sf1152 to fix. |
I went through the steps exactly as you said and suggested (but doing with Scala instead) and I get these errors. Any ideas on what might be going on? `18/06/22 15:18:52 INFO steps.StopReadingFromClient: Stop reading from client Unexpected end of file from server ` |
I assume you are running in record model. In record model, there are two trust stores. If you client code is running in the same process of Flashback, you need make sure you start flashback first before you point client to your keystore. If not, you might end up using your customized keystore to authenticate with third-party certificate. |
@sf1152 So I start flashback first after newing up a new FlashbackRunner.Builder() and call the method start(), do I need to import this keystore into java somehow? Similar to this post? https://blog.codecentric.de/en/2013/01/how-to-use-self-signed-pem-client-certificates-in-java/ |
I read How to Record and Replay an HTTPS Transaction · linkedin/flashback Wiki and tried to proxy https request.
But it didn't work correctly for time out.
Environemnt
Reproduce procedure
Above commands succeed entirely, however,
Result
curl --proxy localhost:5564 -L 'https://www.google.co.jp/' curl: (28) Operation timed out after 300570 milliseconds with 0 out of 0 bytes received
And console executes "./startAdminServer.sh -port 1234" doesn't show any logs.
I think my prrocedure is not correct for flashback, but what's wrong ?
The text was updated successfully, but these errors were encountered: