The Movie Database atbalsts

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 replies (on page 1 of 1)

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. (??)

Nevari atrast filmu vai TV pārraidi? Jāpiesakās, lai to izveidotu.

Vispārējs

s fokusēties uz meklēšanas joslu
p atvērt profila izvēlni
esc aizvērt atvērtu logu
? atvērt īsinājumtaustiņu logu

Informācijas nesēju lapās

b atgriezties (vai pie vecākiem, ja nepieciešams)
e doties uz labošanas lapu

TV sezonas lapās

(labā bultiņa) pāriet uz nākamo sezonu
(kreisā bultiņa) pāriet uz iepriekšējo sezonu

TV sērijas lapās

(labā bultiņa) pāriet uz nākamo sēriju
(kreisā bultiņa) pāriet uz iepriekšējo sēriju

Visās attēlu lapās

a atvērt attēla pievienošanas logu

Visās labošanas lapās

t atvērt tulkošanas atlasītāju
ctrl+ s iesniegt veidlapu

Diskusiju lapās

n radīt jaunu diskusiju
w pārslēgt skatīšanās stāvokli
p pārslēgt publisko/privāto
c pārslēgt aizvērt/atvērt
a atklāta darbība
r atbilde uz diskusiju
l doties uz pēdējo atbildi
ctrl+ enter iesniegt savu ziņojumu
(labā bultiņa) nākamajā lapā
(kreisā bultiņa) iepriekšējā lapa

Iestatījumi

Vēlies novērtēt šo vienumu vai pievienot to sarakstam?

Pieteikties