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

cifs: protected #18

Closed
mosteanucatalin opened this issue Jan 12, 2024 · 1 comment
Closed

cifs: protected #18

mosteanucatalin opened this issue Jan 12, 2024 · 1 comment

Comments

@mosteanucatalin
Copy link

object(Itrack\Anaf\Client)#10 (1) { ["cifs":protected]=> array(0) { } }
Fatal error: Uncaught Itrack\Anaf\Exceptions\ResponseFailed: Response status: 0

Problema am observat-o la inceputul anului acesta. La inceput au fost doar cateva situatii cand primeam eroarea, acum este permanenta.

$anaf = new \Itrack\Anaf\Client(); 
var_dump($anaf);
$anaf->addCif($cif);
@itrack
Copy link
Owner

itrack commented Jan 15, 2024

Salut, cei de la ANAF au probleme cu serverele , exceptia este ResponseFailed, status 0 primesti in cazul timeout.
Ce as recomanda, ar fi sa reincerci verificarea odata la o perioada.

Voi implementa o exceptie in cazul timeout pentru a o urmari mai bine. Si un sistem de retry mai potent, exista ceva doar pentru cazul in care raspunsul nu este in format json.

@itrack itrack closed this as completed Jan 15, 2024
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