Comments (5)
Roc - When you can, provide me a little more detail to recreate the issue so I can debug and fix. My dev' setup to debug and test is Tomcat with SSL enabled (https://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html).
Note: in testing, I discovered a few places where Mockey wasn't correctly managing the display of HTTP/S. I made a few updates to the UI. Still, I didn't experience the issue you explained.
from mockey.
We use Docker container for Mockey, and deploy it on AWS. After hitting the domain name will go to load balance. The load balance will pick up a box to access. We close some ports, and only open 443. The domain we give is like "https://ourMockey.com", after clicking on "clear history", it redirect to "http://ourMockey.com/history".
By the way, those services url are defined like "http://ourMockey.com:80/service/btcs/v1"
from mockey.
I think the reason is here, we use load balancer with "https", but the following code will try to redirect to http.
the code is on HistoryServlet.java
String contextRoot = req.getContextPath();
resp.sendRedirect(Url.getContextAwarePath("/history", contextRoot));
from mockey.
It looks similar to this issue: https://stackoverflow.com/questions/18891210/how-to-reproduce-sendredirect-issue-https-change-to-http
..since I don't run in a load balancer, I'm unable to reproduce. As a possible solution, I updated the app to sendRedirect to an absolute path with appropriate scheme instead of relative. Let me know if the latest build works for you.
from mockey.
I'm going to close this - I believe it's fixed.
from mockey.
Related Issues (20)
- Filter services by mock url HOT 4
- it's better if serivces can by grouped. HOT 2
- nant? HOT 1
- Possible to set UTF-8 on Proxy Service? HOT 1
- Internet proxy settings are ENABLED but Internet Proxy Server value is EMPTY
- Scenarios limitation for Services with shared URL
- Returns response of some other scenario if requested url matches part of some other scenario url HOT 2
- Enhancement: static/fixed service id
- Example proxy service?
- Special characters/encoding support HOT 12
- utf8 problem HOT 3
- Get number of requests serviced in Dashboard HOT 11
- Get number of requests serviced in Dashboard HOT 1
- Form too large HOT 4
- Memory not reseting after downloading a (large) file HOT 6
- No one uses URL Injections HOT 1
- Revisit Help > Search feature HOT 1
- SOAP/XML support? HOT 2
- Enable hang time on scenario level HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mockey.