network is unreachable pop.gmail.com

Helpdesk for my helpdesk software

Moderator: mkoch227

J_E_F_F
Posts: 30
Joined: Sun Sep 28, 2014 2:55 pm

network is unreachable pop.gmail.com

Post by J_E_F_F »

Any idea why pop.gmail.com has become unreachable from within hesk as of late Dec?
I can ping it from my server (ssh) but hesk can not retrieve email via POP.

I use a google apps account, and I even tried a standard gmail account and I get:
Error: 101 could not connect to the host "pop.gmail.com": Network is unreachable

This has been a constant since 24 Dec 2014 that I just noticed today.
J_E_F_F
Posts: 30
Joined: Sun Sep 28, 2014 2:55 pm

Re: network is unreachable pop.gmail.com

Post by J_E_F_F »

Still having same issue. Any ideas of google made changes that effect pop retrieval?
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: network is unreachable pop.gmail.com

Post by mkoch227 »

I was experiencing a "connection timed out" issue for a while, but after going to https://accounts.google.com/DisplayUnlockCaptcha and clicking "Continue", I was able to successfully connect on my local HESK instance. However, my production instance (on Bluehost) was unable to connect ("connection timed out"). Try using the DisplayUnlockCaptcha link above and see if it works.
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
J_E_F_F
Posts: 30
Joined: Sun Sep 28, 2014 2:55 pm

Re: network is unreachable pop.gmail.com

Post by J_E_F_F »

Thanks, I sure was hopeful, but unfortunately that did not help. The same error remains.
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: network is unreachable pop.gmail.com

Post by mkoch227 »

Out of curiosity, what is the full log that HESK displays when the connection fails?
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
J_E_F_F
Posts: 30
Joined: Sun Sep 28, 2014 2:55 pm

Re: network is unreachable pop.gmail.com

Post by J_E_F_F »

Error: 101 could not connect to the host "pop.gmail.com": Network is unreachable
Connecting to pop.gmail.com ...
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: network is unreachable pop.gmail.com

Post by mkoch227 »

I sent you a PM with credentials for my POP3 server. Let me know if you get the same response code, or if you get something different.
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
J_E_F_F
Posts: 30
Joined: Sun Sep 28, 2014 2:55 pm

Re: network is unreachable pop.gmail.com

Post by J_E_F_F »

that worked fine, thanks for the test on a non pop.gmail.com account. Seems like google changed something that makes my install incompatible at the moment.
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: network is unreachable pop.gmail.com

Post by Klemen »

Works fine here. What is your PHP version?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
J_E_F_F
Posts: 30
Joined: Sun Sep 28, 2014 2:55 pm

Re: network is unreachable pop.gmail.com

Post by J_E_F_F »

5.2.17 and nothing changed on my end. Testing a non-gmail site worked. It just stopped working with gmail one day
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: network is unreachable pop.gmail.com

Post by Klemen »

If you can

Code: Select all

telnet pop.gmail.com 995
from the server and are using the correct Gmail POP3 settings then access to your account (or server IP) is most likely blocked by Google.

Unless you have ssh access and can use your server as a proxy to access and unlock the Google captcha from the server's IP there is not much you can do (Google security policies, not a HESK issue):
https://accounts.google.com/DisplayUnlockCaptcha

If you don't have ssh access your best bet would be to use a local SMTP server.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
J_E_F_F
Posts: 30
Joined: Sun Sep 28, 2014 2:55 pm

Re: network is unreachable pop.gmail.com

Post by J_E_F_F »

from SSH into server

Code: Select all

[root@www ~]# telnet pop.gmail.com 995
Trying 64.233.168.108...
telnet: connect to address 64.233.168.108: Connection refused
Trying 64.233.168.109...
telnet: connect to address 64.233.168.109: Connection refused
Trying 2607:f8b0:4003:c07::6c...
telnet: connect to address 2607:f8b0:4003:c07::6c: Network is unreachable
telnet: Unable to connect to remote host: Network is unreachable
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: network is unreachable pop.gmail.com

Post by Klemen »

Well then it's either Google blocking your server or your server blocking port 995 then.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
J_E_F_F
Posts: 30
Joined: Sun Sep 28, 2014 2:55 pm

Re: network is unreachable pop.gmail.com

Post by J_E_F_F »

it was a firewall issue with my host. Thank you for the replies, the problem has been resolved.
johnkimber
Posts: 1
Joined: Fri Apr 26, 2019 9:21 am

Re: network is unreachable pop.gmail.com

Post by johnkimber »

It is because Google blocks sign-in attempts from apps which do not use modern security standards (mentioned on their support page). You can however, turn on/off this safety feature by going to the link below:

Go to this link and select Turn On
https://www.google.com/settings/security/lesssecureapps

Moreover google block an ip when you try to send a email since a unusual location, so, you can unblock in the next link
https://support.google.com/accounts/answer/6009563

and clicked in

accounts.google.com/DisplayUnlockCaptcha .
Post Reply