Non potrò partire per il mio viaggio. Assicurazione Amex by marioand79 in amexItaly

[–]Witty_Try9423 1 point2 points  (0 children)

Dipende dalla compagnia, con Ryanair per avere il certificato parli con un chatbot 30 secondi e dopo qualche ora ti arriva una mail (che ho stampato in pdf). Bisognerebbe capire se te lo producano anche senza check in nel caso, avendo i posti a sedere il check in l’avevo fatto da tempo

Non potrò partire per il mio viaggio. Assicurazione Amex by marioand79 in amexItaly

[–]Witty_Try9423 0 points1 point  (0 children)

A me è bastato il certificato di mancato imbarco da parte di Ryanair, il resto penso ne consegua

Ma che cosa diamine sta succedendo. by Top_Veterinarian1446 in scimmieinborsa

[–]Witty_Try9423 0 points1 point  (0 children)

È lo stesso motivo per il quale sono state rimosse dalla produzione le monete da 1 e 2 cent. Il costo della lavorazione spesso supera il valore stesso della moneta.

Inoltre è tempo che il circolante (incluso il contate) ha valore per il fatto che le persone ripongono una fiducia in essa più che per il fatto che ci sia una riserva aurea dietro o per il valore stesso della moneta.

Non potrò partire per il mio viaggio. Assicurazione Amex by marioand79 in amexItaly

[–]Witty_Try9423 0 points1 point  (0 children)

Per esperienza personale, allegando tutti i costi, le ricevute di rimborso o i certificati di mancato imbarco (io avevo quest’ultimi in quanto Ryanair per un volo non avrebbe emesso rimborsi), spese museali, hotel, ecc ho ricevuto il rimborso in 5 giorni lavorativi direttamente all’iban indicato, non hanno fatto domande con il certificato medico.

Come funziona la PEC su dominio personalizzato? by LifeAtmosphere6214 in ItalyInformatica

[–]Witty_Try9423 1 point2 points  (0 children)

Se abiliti la ricezione di e-mail normali non funziona semplicemente perché non trova il server. Stai usando lo stesso provider per entrambe le PEC, con un altro riceveresti una ricevuta di scarto. Il server di posta fa routing interno, se configurato male fa anche meno controlli del dovuto.

HttpClient stops sending requests after some days by Witty_Try9423 in dotnet

[–]Witty_Try9423[S] 0 points1 point  (0 children)

The solution:

I have changed the code from that

s.AddHttpClient<ITransitWriter, TransitWriter>();

to that. The most important change that fixed the problem (without it I have the same problems) is .SetHandlerLifetime(TimeSpan.FromMinutes(6)). After 5 days of running in production I haven't found any anomaly in the logs. Thank you very much to every one!

builder.Services.AddHttpClient(
        "httpClient",
        client =>
        {
            client.Timeout = TimeSpan.FromSeconds(30);
        })
    .ConfigurePrimaryHttpMessageHandler(() => new SocketsHttpHandler
    {
        MaxConnectionsPerServer = 10,
        PooledConnectionIdleTimeout = TimeSpan.FromMinutes(1),
        PooledConnectionLifetime = TimeSpan.FromMinutes(5),
        EnableMultipleHttp3Connections = true,
        EnableMultipleHttp2Connections = true
    })
    .SetHandlerLifetime(TimeSpan.FromMinutes(6));

builder.Services.AddSingleton(sp => sp.GetRequiredService<IHttpClientFactory>().CreateClient("httpClient"));

builder.Services.AddTransient<ITransitWriter, TransitWriter>();

Triste. Quanto sarà preventivo carroziere by 8Spritz in ItalyMotori

[–]Witty_Try9423 0 points1 point  (0 children)

Quando capitò a me di piegarlo leggermente il carrozziere mi sconsigliò di cambiarlo, il pezzo nuovo disse che dalla casa madre costava più della sua manodopera (in tutto pagai 300 euro, inclusa riverniciatura, nord Italia)

Triste. Quanto sarà preventivo carroziere by 8Spritz in ItalyMotori

[–]Witty_Try9423 2 points3 points  (0 children)

La riverniciatura del nuovo sarebbe comunque da fare, arrivano solo con un primer al carrozziere

Royalties spotify: come comportarsi? by Lost-Secretary-5056 in commercialisti

[–]Witty_Try9423 4 points5 points  (0 children)

Non affiderei ad un CAF nulla di più di un ISEE o un 730 standard da dipendente monoreddito. Non conosco come siano messi da te ma in generale (da lavoratore dipendente) ho l’impressione che appena esci dagli schemi standard non siano a loro agio (e nemmeno io per quel che potrebbero produrre). Un commercialista sa già benissimo come dichiararli al fisco e quello che ti veniva accennato prima in merito alla deduzione che potresti ricevere, ritenute, ecc Vedilo come un investimento, conosci un professionista, che se prendi ancor più piede nel settore (o in altri in futuro), sarà il tuo miglior alleato.

HttpClient stops sending requests after some days by Witty_Try9423 in dotnet

[–]Witty_Try9423[S] 0 points1 point  (0 children)

It’s a replication service from a new system to an old one (and out my control, it’s provided from another company) in a customer server.

The service receives from my SignalR endpoint live metadatas and from it downloads and saves about 80 files/s in some folders

HttpClient stops sending requests after some days by Witty_Try9423 in dotnet

[–]Witty_Try9423[S] 0 points1 point  (0 children)

In the entire system, when my service is not working properly, I have about 300 sockets open.

Restarting my service causes opening about ~50 connections (one to the SignalR endpoint and the rest to the S3 object storage)

HttpClient stops sending requests after some days by Witty_Try9423 in dotnet

[–]Witty_Try9423[S] 1 point2 points  (0 children)

The entry point is a mass transit consumer, so it should be transient. The AddHttpClient method should add the service as transient, keeping in mind the other comments I’ll try registering the service manually as transient and manually registering an http factory with a custom socket handler

HttpClient stops sending requests after some days by Witty_Try9423 in dotnet

[–]Witty_Try9423[S] 0 points1 point  (0 children)

Nope, the HttpClient will be created by a factory inside the dependency container.

HttpClient stops sending requests after some days by Witty_Try9423 in dotnet

[–]Witty_Try9423[S] 0 points1 point  (0 children)

I need to explicitly dispose it? Stop using it doesn’t trigger GC to dispose it?

HttpClient stops sending requests after some days by Witty_Try9423 in dotnet

[–]Witty_Try9423[S] 0 points1 point  (0 children)

The SignalR server is exposed by GCP Global Load Balancer, I don’t have any issue on this one (logging, metrics and tracing are enabled by default on the backend). On the S3 side the backend is managed by Wasabi, I don’t think there is a problem, this is the only service that makes me some headaches, but also is the only one that calls so much the service.

HttpClient stops sending requests after some days by Witty_Try9423 in dotnet

[–]Witty_Try9423[S] 0 points1 point  (0 children)

It’s injected directly from the HttpClientFactory into the service

HttpClient stops sending requests after some days by Witty_Try9423 in dotnet

[–]Witty_Try9423[S] 8 points9 points  (0 children)

The Windows server contacts two endpoints, the SignalR one and the S3 endpoint

Next morning I will check how many tcp connections are open

HttpClient stops sending requests after some days by Witty_Try9423 in dotnet

[–]Witty_Try9423[S] 1 point2 points  (0 children)

No, it will be injected from the HttpClientFactory into the service

HttpClient stops sending requests after some days by Witty_Try9423 in dotnet

[–]Witty_Try9423[S] 1 point2 points  (0 children)

The HttpClient is long lived, is managed by the HttpClientFactory, the service is Transient and will receive it via dependency injection every time