[GH-ISSUE #19] YKB Redis Connect Hatası #11

Closed
opened 2026-03-03 15:42:05 +03:00 by kerem · 4 comments
Owner

Originally created by @onuryildirimm on GitHub (Jan 30, 2021).
Original GitHub issue: https://github.com/mewebstudio/pos/issues/19

Merhaba,
YKB Posnet üzerinde işlem yapmaya çalışıyorum. Host üzerinden redis aktif ancak aşağıdaki hatayı alıyorum. Sebebi ne olabilir ?

Warning: Redis::connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/****/public_html/pos-test/vendor/mews/pos/examples/_main_config.php on line 10

Fatal error: Uncaught RedisException: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home//public_html/pos-test/vendor/mews/pos/examples/_main_config.php:10 Stack trace: #0 /home//public_html/pos-test/vendor/mews/pos/examples/_main_config.php(10): Redis->connect('pos_redis', 6379) #1 /home//public_html/pos-test/vendor/mews/pos/examples/ykb/3d/_config.php(3): require('/home//...') #2 /home//public_html/pos-test/vendor/mews/pos/examples/ykb/3d/index.php(3): require('/home//...') #3 {main} thrown in /home/****/public_html/pos-test/vendor/mews/pos/examples/_main_config.php on line 10

Originally created by @onuryildirimm on GitHub (Jan 30, 2021). Original GitHub issue: https://github.com/mewebstudio/pos/issues/19 Merhaba, YKB Posnet üzerinde işlem yapmaya çalışıyorum. Host üzerinden redis aktif ancak aşağıdaki hatayı alıyorum. Sebebi ne olabilir ? Warning: Redis::connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/****/public_html/pos-test/vendor/mews/pos/examples/_main_config.php on line 10 Fatal error: Uncaught RedisException: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/****/public_html/pos-test/vendor/mews/pos/examples/_main_config.php:10 Stack trace: #0 /home/****/public_html/pos-test/vendor/mews/pos/examples/_main_config.php(10): Redis->connect('pos_redis', 6379) #1 /home/****/public_html/pos-test/vendor/mews/pos/examples/ykb/3d/_config.php(3): require('/home/****/...') #2 /home/****/public_html/pos-test/vendor/mews/pos/examples/ykb/3d/index.php(3): require('/home/****/...') #3 {main} thrown in /home/****/public_html/pos-test/vendor/mews/pos/examples/_main_config.php on line 10
kerem closed this issue 2026-03-03 15:42:05 +03:00
Author
Owner

@nuryagdym commented on GitHub (Jan 30, 2021):

Merhabalar,
Projeyi docker uzerinden mi ayaga kaldirdiniz? dokumantasyonda docker ile nasil calistiracaginizi aciklanmisti (2-3 adim).
Doker ile calistirmadiysaniz,
/examples/_main_config.php icinde redis connection bilgilerini ayarlamaniz gerekiyor.

Ayrica hatirladigim kadariyla YKB localhost uzerinden tes t yapamiyoruz, yayinda olan bir sunucu lazim.
Son tavsiyem ise mumkunse YKB Posnet'ten uzak durun :), dokumantasyonlari cok kotu, guncel degil. web yonetim paneli de doksanlardan kalma.

<!-- gh-comment-id:770203956 --> @nuryagdym commented on GitHub (Jan 30, 2021): Merhabalar, Projeyi docker uzerinden mi ayaga kaldirdiniz? dokumantasyonda docker ile nasil calistiracaginizi aciklanmisti (2-3 adim). Doker ile calistirmadiysaniz, /examples/_main_config.php icinde redis connection bilgilerini ayarlamaniz gerekiyor. Ayrica hatirladigim kadariyla YKB localhost uzerinden tes t yapamiyoruz, yayinda olan bir sunucu lazim. Son tavsiyem ise mumkunse YKB Posnet'ten uzak durun :), dokumantasyonlari cok kotu, guncel degil. web yonetim paneli de doksanlardan kalma.
Author
Owner

@onuryildirimm commented on GitHub (Jan 30, 2021):

Birden fazla banka kullanıyoruz ve maalesef ykb yı kullanmak zorundayız :( projeyi direk hostuma yükledim. Hali hazırda posnet hesabımız ip tanımlamalarımız yapılı. Redis ayarlarında ip adresimi yazdığımda refuse hatası almaktayım. Maalesef bir çözüm bulamadım :(

<!-- gh-comment-id:770258286 --> @onuryildirimm commented on GitHub (Jan 30, 2021): Birden fazla banka kullanıyoruz ve maalesef ykb yı kullanmak zorundayız :( projeyi direk hostuma yükledim. Hali hazırda posnet hesabımız ip tanımlamalarımız yapılı. Redis ayarlarında ip adresimi yazdığımda refuse hatası almaktayım. Maalesef bir çözüm bulamadım :(
Author
Owner

@nuryagdym commented on GitHub (Jan 30, 2021):

refuse dediginiz yukardakiyle ayni hata mi?
eskiden orneklerde PHP session ileydi, ama ben de bankadan geri donuste PHP session sifirlandigi icin redis olarak guncelledim

<!-- gh-comment-id:770265987 --> @nuryagdym commented on GitHub (Jan 30, 2021): refuse dediginiz yukardakiyle ayni hata mi? eskiden orneklerde PHP session ileydi, ama ben de bankadan geri donuste PHP session sifirlandigi icin redis olarak guncelledim
Author
Owner

@onuryildirimm commented on GitHub (Jan 31, 2021):

Fatal error: Uncaught RedisException: Connection refused in /home//public_html/pos-test/vendor/mews/pos/examples/_main_config.php:10 Stack trace: #0 /home//public_html/pos-test/vendor/mews/pos/examples/_main_config.php(10): Redis->connect('...', 6379) #1 /home//public_html/pos-test/vendor/mews/pos/examples/ykb/3d/_config.php(3): require('/home//...') #2 /home//public_html/pos-test/vendor/mews/pos/examples/ykb/3d/index.php(3): require('/home//...') #3 {main} thrown in /home/***/public_html/pos-test/vendor/mews/pos/examples/_main_config.php on line 10

ip adresimi redis e tanımladıktan sonra aldığım hata bu. ip adresi yerine localhost şeklinde tanımlama yapsamda sonuç değişmiyor. hata nerede anlayamadım açıkcası

<!-- gh-comment-id:770349546 --> @onuryildirimm commented on GitHub (Jan 31, 2021): Fatal error: Uncaught RedisException: Connection refused in /home/****/public_html/pos-test/vendor/mews/pos/examples/_main_config.php:10 Stack trace: #0 /home/****/public_html/pos-test/vendor/mews/pos/examples/_main_config.php(10): Redis->connect('***.***.***.**', 6379) #1 /home/****/public_html/pos-test/vendor/mews/pos/examples/ykb/3d/_config.php(3): require('/home/****/...') #2 /home/****/public_html/pos-test/vendor/mews/pos/examples/ykb/3d/index.php(3): require('/home/****/...') #3 {main} thrown in /home/****/public_html/pos-test/vendor/mews/pos/examples/_main_config.php on line 10 ip adresimi redis e tanımladıktan sonra aldığım hata bu. ip adresi yerine localhost şeklinde tanımlama yapsamda sonuç değişmiyor. hata nerede anlayamadım açıkcası
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pos#11
No description provided.