دعم الموقع

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 ردود (على هذه الصفحة 1 من 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. (??)

لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها

عام

s ركز شريط البحث
p افتح قائمة الملف الشخصي
esc اغلق النافذة المفتوحة
? افتح نافذة اختصارات لوحة المفاتيح

على كافة صفحات الوسائط

b ارجع للخلف (او للصفحة الام عند التطبيق)
e انتقل لصفحة التعديل

على كافة صفحات موسم المسلسل

(السهم الايمن) انتقل للموسم التالي
(السهم الايسر) انتقل للموسم السابق

على كافة صفحات حلقة المسلسل

(السهم الايمن) انتقل للحلقة التالية
(السهم الايسر) انتقل للحلقة السابقة

على كافة صفحات الصور

a افتح صفحة اضافة الصورة

على كافة صفحات التعديل

t افتح محدد الترجمة
ctrl+ s ارسال النموذج

على صفحات المناقشة

n انشى نقاش جديد
w تبديل حالة المتابعة
p تبديل عام / خاص
c تبديل اغلاق / فتح
a افتح الانشطة
r رد على النقاش
l انتقل لأخر رد
ctrl+ enter أرسل رسالتك
(السهم الايمن) الصفحة التالية
(السهم الايسر) الصفحة السابقة

الاعدادات

هل تريد تقييم او اضافة هذا العنصر للقائمة؟

تسجيل الدخول