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

Env.OpenSrv Env.ociError ORA-12547: TNS:lost contact #223

Open
vamkaxifa opened this issue Sep 26, 2017 · 0 comments
Open

Env.OpenSrv Env.ociError ORA-12547: TNS:lost contact #223

vamkaxifa opened this issue Sep 26, 2017 · 0 comments

Comments

@vamkaxifa
Copy link

Hi, My product project recently got err Env.OpenSrv Env.ociError ORA-12547: TNS:lost contact and Env.OpenSrv Env.ociError ORA-12170: TNS:Connect timeout occurred.
I run this project in docker, using *ora.SrvPool to get a srv:

conpool *ora.SrvPool
srv, err := conpool.Get()
	if err != nil {
		log.Error("conpool.Get() occurs error:", err.Error())
		return
	}

I checked out my log file ,I fund lots of err:

time="2017-09-25T10:44:49+08:00" level=error msg="conpool.Get() occurs error:Env.OpenSrv Env.ociError ORA-12547: TNS:lost contact

time="2017-09-25T10:44:50+08:00" level=error msg="conpool.Get() occurs error:Env.OpenSrv Env.ociError ORA-12170: TNS:Connect timeout occurred

Someone can tell me why this came out ? Network?
How can avoid this ?

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

1 participant