Skip to content
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

SetSourceIP Error #4538

Open
rgzntrade opened this issue Apr 23, 2024 · 0 comments
Open

SetSourceIP Error #4538

rgzntrade opened this issue Apr 23, 2024 · 0 comments
Labels

Comments

@rgzntrade
Copy link

rgzntrade commented Apr 23, 2024

Describe the bug
❯ ./build/linux-debug/bin/SetSourceIP --sourceip 192.168.88.129 https://192.168.88.128:8443/api
Using source IP address
source IP address : 192.168.88.128:0

Host: 192.168.88.128
Port: 8443
Path: /api
Exception: name (Invalid access) message [Cannot bind() a SecureStreamSocketImpl]

To Reproduce
./build/linux-debug/bin/SetSourceIP --sourceip 192.168.88.129 https://192.168.88.128:8443/api

Expected behavior
sourceip from 192.168.88.129

Please add relevant environment information:

  • ubuntu 20.4
  • POCO 1.13.0

Additional context
changed to this
void SecureStreamSocketImpl::bind(const SocketAddress& address, bool reuseAddress)
{
_impl.bind(address, reuseAddress, false);
// throw Poco::InvalidAccessException("Cannot bind() a SecureStreamSocketImpl");
}
no Exception, sourceip from 192.168.88.129。Will there be any potential bugs?

@rgzntrade rgzntrade added the bug label Apr 23, 2024
@aleks-f aleks-f added this to the Release 1.13.4 milestone May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

2 participants