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

Host IP will not update #56

Open
goatatwork opened this issue Dec 18, 2017 · 1 comment
Open

Host IP will not update #56

goatatwork opened this issue Dec 18, 2017 · 1 comment

Comments

@goatatwork
Copy link

goatatwork commented Dec 18, 2017

Hello,

LaravelCollective/remote has been working great for quite some time. I needed to change the IP address of one of the servers, so off to app/remote.php I went. I made the change. In my Laravel project, I can php artisan tinker and SSH::into('dhcp_server')->run(["ls -l /etc"])

However, one of my Listeners calls SSH::into('dhcp_server').... also. When I fire the event, the listener executes, but is trying to use the OLD IP that is no longer in app/remote.php. I am very confused as to what might be causing this. Artisan commands I've blindly run: clear-compiled, cache:clear, config:clear, config:cache, and view:clear. Still it continues to attempt to connect to the old IP. Here is the error. The IP shown here is the old IP.

production.ERROR: ErrorException: Cannot connect to 10.0.0.101:22. Error 113. No route to host in /usr/share/nginx/html/goldaccess/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php:1011

Thoughts?

@tshafer
Copy link
Contributor

tshafer commented Apr 9, 2018

It has to be cached elsewhere. Without seeing your entire project its hard to tell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants