آگاه‌سازی‌ها
پاک‌کردن همه

ارور API

5 ارسال ها
2 کاربران
0 Likes
348 نمایش‌
0
شروع کننده موضوع

System.ServiceModel.CommunicationException: 'An error occurred while receiving the HTTP response to http://192.168.10.5/Services/API/IForm.svc . This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details.' exception 1: WebException: The underlying connection was closed: An unexpected error occurred on a receive. exception 2: IOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. exception 3: SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

این ارور رو برمیگردونه

m.yadegar 15 مهر 1405 5:04 ب.ظ

@padash
با سلام و احترام
آدرس http://192.168.10.5/Services/API/IForm.svc را در مرورگر میزنید سرویس کال میشود یا خیر؟

Padash شروع کننده موضوع 20 مهر 1405 11:08 ق.ظ

با سلام. خیر ارور 404 بر میگردونه

This 192.168.10.5 page can’t be found
No webpage was found for the web address: http://192.168.10.5/Services/API/IForm.svc
HTTP ERROR 404

1 پاسخ
0
شروع کننده موضوع

این ارور رو برمیگردونه در آدرس http://192.168.10.5/Services/API/IForm.svc

This 192.168.10.5 page can’t be found
No webpage was found for the web address:  http://192.168.10.5/Services/API/IForm.svc
HTTP ERROR 404

m.yadegar 21 مهر 1405 12:16 ق.ظ

@padash

با سلام و احترام،

آدرس ` http://192.168.10.5` یک IP خصوصی (Private IP) است و به‌طور معمول صرفاً در شبکه داخلی سازمان قابل دسترسی است.
لطفاً بفرمایید سرویس `IForm.svc` از کجا فراخوانی می‌شود؟ در صورتی که فراخوانی سرویس از خارج از شبکه داخلی سازمان انجام می‌شود، طبیعتاً دسترسی مستقیم به این آدرس امکان‌پذیر نخواهد بود.
در این شرایط، لازم است زیرساخت دسترسی به نرم‌افزار پیام‌گستر از خارج شبکه داخلی بررسی و در صورت نیاز فراهم شود.

m.yadegar 21 مهر 1405 12:23 ق.ظ

@padash
هم چنین از فعال بودن قابلیت WCF HTTP Activation در بخش .NET Framework Features از قسمت Windows Features / Server Manager اطمینان حاصل فرمایید.

اشتراک:
پیمایش به بالا