mirror of
https://github.com/mewebstudio/pos.git
synced 2026-04-26 09:55:52 +03:00
[GH-ISSUE #19] YKB Redis Connect Hatası #11
Labels
No labels
PayFlexV4
TROY
akbankpos
bug
duplicate
enhancement
garanti
help wanted
isbank
kuveyt
payten
posnet
pull-request
vakifbank
ziraat
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pos#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@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.
@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 :(
@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
@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ı