-
Notifications
You must be signed in to change notification settings - Fork 1
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
VError: Found 0 matching services #1
Comments
Hi @wikingwei, You should be able to put a breakpoint and debug the procedure of loading the VCAP_SERVICES to see what is going on. Regarding the ENOTFOUND, I have seen that before, but only locally. Are you trying to run this locally (through a SSH tunnel) by any chance? Because that is not working (feel free to try, but I had to give up on that). Best regards, Pieter |
@piejanssens, To be clear for my runtime environment:
Best, |
Using my forked and modified code, after solving the issue "VError: Found 0 matching services", now proxy authentication passed, but I got the following error:
That's weird for this "NotAllowed" error, I did not get this error when I adopted the old version code((https://github.com/piejanssens/sap-cf-socks/blob/70c78f610431d824248a2a94146cb681056a1094) Did someone see such an error? what causes it? |
I'll adopt using Since the error seems to indicate a handshake/SOCKS authentication issue, at this point first thing to check is make sure it's sending the correct credentials in the handshake. Double check the binding and then follow this to attach a remote debugger (try to set a remote breakpoint and then restart the app). |
Thanks very much for your suggestions, I've gotten started debugging following the guide. |
You could change to
This uses the label instead of the name which you can choose freely. |
Changed to |
Hi Pieter Janssens,
When using the latest code of sap-cf-socks, I got error as below, and don't know what's wrong. ( I checked my env var VCAP_SERVICES={ ..., "connectivity": [ ... ] } exists. )
And, I also tried using the old version (https://github.com/piejanssens/sap-cf-socks/blob/70c78f610431d824248a2a94146cb681056a1094/, embedded repo code directly into mine), but got other errors:
a) error: getaddrinfo ENOTFOUND ... that's to say it cannot proxying to backend service;
b) SocksClientError: Proxy connection timed out
Did someone get there errors? Could you help with this?
Thanks,
Wiking
The text was updated successfully, but these errors were encountered: