You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is context the request parameter in an Express.js application? I've got the feeling that this plugin always returns the same IP address and I wonder if there is either some cache at the plugin level or the IP that is shown is the one of the Registry.
If you want to have a look at the discrepancy you can check the source of this page:
So this means that what you see there should be the header that was sent to the registry either by the browser or the oc node client. If you are using the node client, you need to ensure you are forwarding this header.
In theory, you should be able to test this by curling the OC component endpoint and setting arbitrary headers as part of the req. What do you see if you do that?
Description
is
context
therequest
parameter in an Express.js application? I've got the feeling that this plugin always returns the same IP address and I wonder if there is either some cache at the plugin level or the IP that is shown is the one of the Registry.If you want to have a look at the discrepancy you can check the source of this page:
https://supersonic-lobster.herokuapp.com/
the 1st box contains the IP address of the request, the 2nd one of the context.
// cc @matteofigus
The text was updated successfully, but these errors were encountered: