Film Veri Tabanı Desteği

I have a program that uses C# HttpWebRequest to obtain metadata via the API. This code has been working fine for years on my Win10 PC. I transfer the identical program files to my new Win11 PC and it is timing out on API calls. No info except it's a web timeout exception.

If I grab the URL being used for these calls and plug it into the address of my Edge browser on the Win11 PC, it responds with the desired response instantly!

I'm stumped on this. Do web calls to TMdB require some kind of authorization or certificate (other than the API key, which is contained in the URL), and maybe the Win11 machine is missing the certificate or something?

The Win11 PC is on WiFi internet while the Win10 PC is on a wired (Ethernet) connection. But the Win11 internet tests at 200/200 and everything else that accesses the web works fine on it.

Any ideas would be appreciated, and TIA!

4 yanıt (toplam 1 sayfanın 1.sayfasında)

Jump to last post

A firewall on the Win11 OC may eventually block the query coming from your application.

Thanks, hadn’t thought of that. Not sure what “Win11 OC” means.(?) Also, any tips on how to configure the firewall to avoid this problem? Or how to tell for sure that is the problem?

@dlflannery said:

Not sure what “Win11 OC” means.(?)

This is a typo. That just mean "Win11 PC".

Also, any tips on how to configure the firewall to avoid this problem?

The trafic from and to your application should be allowed to go through the firewall.

Or how to tell for sure that is the problem?

You can try to disable it completely for a check. Don't forget to re-enable it.

That was it, but really bizarre is that after turning the firewall back on, and _not _having allowed access to the program, the blocking no longer occurs. (??)

Bir filmi veya diziyi bulamıyor musun? Eklemek için oturum aç.

Genel

s arama çubuğuna odaklan
p profil menüsünü aç
esc açık bir pencereyi kapat
? klavye kısayol penceresini aç

Medya sayfalarında

b geri git (veya uygulanabilirse ana ekrana)
e sayfayı düzenlemeye git

TV sezonu sayfalarında

(sağa ok) sonraki sezona git
(sol ok) önceki sezona git

TV bölüm sayfalarında

(sağa ok) sonraki bölüme git
(sol ok) önceki bölüme git

Tüm görüntü sayfalarında

a resim ekle penceresini aç

Tüm düzenleme sayfalarında

t çeviri seçiciyi aç
ctrl+ s formu gönder

Tartışma sayfalarında

n yeni tartışma oluştur
w izleme durumunu değiştir
p umumi/hususi değiştir
c kapalı/açık değiştir
a etkinliği aç
r tartışmayı yanıtla
l son yanıta git
ctrl+ enter mesajını gönder
(sağa ok) sonraki sayfa
(sol ok) önceki sayfa

Ayarlar

Bu öğeyi derecelendirmek veya bir listeye eklemek ister misiniz?

Giriş