Ошибка невозможно разрешить удаленное имя

  • Remove From My Forums
  • Question

  • В начале месяца возникла с проблема с установкой обновлений WSUS, выдаёт ошибки:

    WebException: Невозможно разрешить удаленное имя: ‘sws1.update.microsoft.com’
    в System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
       в System.Net.HttpWebRequest.GetRequestStream()
       в System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       в Microsoft.UpdateServices.ServerSyncWebServices.ServerSync.ServerSyncProxy.GetAuthConfig()
       в Microsoft.UpdateServices.ServerSync.ServerSyncLib.InternetGetServerAuthConfig(ServerSyncProxy proxy, WebServiceCommunicationHelper webServiceHelper)
       в Microsoft.UpdateServices.ServerSync.ServerSyncLib.Authenticate(AuthorizationManager authorizationManager, Boolean checkExpiration, ServerSyncProxy proxy, Cookie cookie, WebServiceCommunicationHelper webServiceHelper)
       в Microsoft.UpdateServices.ServerSync.CatalogSyncAgentCore.SyncConfigUpdatesFromUSS()
       в Microsoft.UpdateServices.ServerSync.CatalogSyncAgentCore.ExecuteSyncProtocol(Boolean allowRedirect)

    WebException: Сбой запроса с состоянием HTTP 503: https://aka.ms/wsus3sync.
    в System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       в System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       в Microsoft.UpdateServices.ServerSyncWebServices.ServerSync.ServerSyncProxy.GetAuthConfig()
       в Microsoft.UpdateServices.ServerSync.ServerSyncLib.InternetGetServerAuthConfig(ServerSyncProxy proxy, WebServiceCommunicationHelper webServiceHelper)
       в Microsoft.UpdateServices.ServerSync.ServerSyncLib.Authenticate(AuthorizationManager authorizationManager, Boolean checkExpiration, ServerSyncProxy proxy, Cookie cookie, WebServiceCommunicationHelper webServiceHelper)
       в Microsoft.UpdateServices.ServerSync.CatalogSyncAgentCore.SyncConfigUpdatesFromUSS()
       в Microsoft.UpdateServices.ServerSync.CatalogSyncAgentCore.ExecuteSyncProtocol(Boolean allowRedirect)

    По данной инструкции Microsoft изменений
    нет:

    https://docs.microsoft.com/ru-ru/troubleshoot/mem/configmgr/wsus-synchronization-fails-with-soapexception

    Подскажите как можно исправить данные ошибки?

    Windows server 2008 R2 Enterprise

    Update Services
    Корпорация Майкрософт
    Версия: 3.2.7600.226


    C уважение Евгений!

    • Edited by

      Wednesday, January 26, 2022 3:17 AM

I’ve got a .NET client application calling my .NET web service which in turn calls a third-party web service, for example, at ‘www.foo.com’.

.NET Client -> 'My Web Service' -> 'Third Party Web Service'

From Visual Studio 2008, this all works fine, that is, I’m running ‘My Web Service’ in localhost:someport which successfully calls the ‘Third-Party Web Service’.

I then published ‘My Web Service’ onto a Windows 2003 Server box.
Now when ‘My Web Service’ calls the ‘Third-Party Web Service’ I get the exception,
«System.Net.WebException: The remote name could not be resolved: ‘www.foo.com’.»

I’ve tried the following:

  1. On the server where I deployed ‘My Web Service’, I opened Internet Explorer and entered the web service address ‘http://www.foo.com/somewebservice.asmx’.
    This was successful as the list of available web service methods were displayed.

  2. In the web.config file of ‘My Web Service’, I changed the ‘Third-Party Web Service’ URL
    from the web site’s name to its IP address.
    This failed with the exception, «System.Net.Sockets.SocketException: A socket operation was
    attempted to an unreachable network».

  3. I then wrote a simple Windows Forms test harness to just call the ‘Third-Party Web Service’.
    I ran this test harness on the server and it called the ‘Third-Party Web Service’
    successfully.

  4. I then tried a different third-party web service which gave the same behaviour as in 1, 2 and 3 above.

  5. Finally I added the IP address to the «hosts» file on the server but got the same «The remote name could not be resolved» error, albeit far quicker this time!
    If it was a DNS issue then I wouldn’t expect my tests 1 and 3 to work.

How do I fix this problem?

Kenny Evitt's user avatar

Kenny Evitt

9,2315 gold badges65 silver badges93 bronze badges

asked Sep 11, 2009 at 11:51

3

From Mark’s comment to his own question:

It was a proxy server issue in the end. The exception message was a red herring. To fix it I created an instance of WebProxy using the IP address and port of our proxy server:

WebProxy proxy = new WebProxy( proxyServerIPAddress, Convert.ToInt32( proxyServerPort ) );       
myService.Proxy = proxy;

answered Apr 11, 2011 at 14:05

Kenny Evitt's user avatar

Kenny EvittKenny Evitt

9,2315 gold badges65 silver badges93 bronze badges

 <system.net>
        <defaultProxy>
            <proxy
               usesystemdefault = "false"
         />
        </defaultProxy>
    </system.net>

cancel your proxy setting

answered Feb 2, 2012 at 12:58

iamtonyzhou's user avatar

I think this could also indicate a DNS problem, as I’m tentatively concluding about my own recent experience with this exception. In my (recent) experience, the exception stopped being thrown (and logged by my app) ‘on its own’.

answered Apr 11, 2011 at 14:09

Kenny Evitt's user avatar

Kenny EvittKenny Evitt

9,2315 gold badges65 silver badges93 bronze badges

We had the some problem with two apps running on a problem server. The error would only occur when it would run under SQL Job Agent under a schedule so it was very difficult to isolate the issue. It turned out the network folks were having trouble migrating from ISA firewall to Forefront firewall. Iamtonyzhou’s solution to use «usesystemdefault» in the app.config worked nicely as a workaround until the network firewall issues are resolved. I don’t think I’d ever instanciate a WebProxy object because our firewall configurations are always subject to change.

answered Mar 15, 2012 at 13:40

GeoMac's user avatar

GeoMacGeoMac

932 silver badges6 bronze badges

I had this issue here in 2018 on my fancy website which i just moved to a new GoDaddy VPS: System.Net.WebException: The remote name could not be resolved: ‘yada.yada’

This was happening while trying to send a SMTP, and trying to contact an external website/api. HttpRequests were failing. I checked everything. Got into IIS settings. Nothing.. All looked good (I was comparing values to my old dedicated server). I did add a Proxy 0 setting under IIS — but I don;t think that was it.

Finally I noticed I couldn’t use IE on the server to browse anything on the internet either. I checked all IE settings. All looked good. I recycled by websites app pool. Nothing. FINALLY, I restarted the server. When I logged back in Noticed I COULD now browse to websites using IE. SO I tried my website and FINALLY it started working. I don;t know for sure what I did, if anything. Or if the server was just so new some setting was off at initial setup and it needed a cold restart to fix. Anyway I was happy to finally get it.. I think I looked at everything 3 times.

CHEERS

answered Jun 8, 2018 at 3:15

Craig from beerfriends.com's user avatar

Обращаем ваше внимание, что все продукты Seldon продолжают работать штатно. Все возникшие сложности связаны со сбоями в работе провайдеров.

Сервер не доступен


Скачать инструкцию

Инструкция для пользователей Seldon (альтернативный доступ):

  • В меню Пуск найти “Блокнот”, его открыть правой кнопкой, запуск от имени администратора, ответить «да» на «разрешить этому приложению вносить изменения на вашем устройстве»

Сервера Hosts

  • в блокноте меню «файл» — открыть: C:WindowsSystem32Driversetchosts

Сервера Hosts 2

(чтобы файл был виден надо внизу выбрать «все файлы»)

2022-03-25_13-13-16

  • Далее добавить в конце строку (одну или нескольковсе в зависимости от используемого продукта):

Скачать инструкцию

Для Селдон 1.7 (эта строка — пояснение, ее не нужно добавлять в блокнот, добавляем только строку ниже):

185.179.199.88 sldapp.myseldon.com

Для АПИ Селдон 1.7 (эта строка — пояснение, ее не нужно добавлять в блокнот, добавляем только строку ниже):

185.179.199.88 apitorgi.myseldon.com

Для остальных продуктов  (эта строка — пояснение, ее не нужно добавлять в блокнот, добавляем только строку ниже):

185.179.199.49 basis.myseldon.com

185.179.199.78 pro.myseldon.com

185.179.199.78 price.myseldon.com

185.179.199.78 doc2.myseldon.com

185.179.199.48 stat.myseldon.com

185.179.199.84 account.myseldon.com

185.179.199.48 control.myseldon.com

sldapp.myseldon.com

  • сохранить, закрыть, проверить, что работает

Скачать инструкцию


Также можно прописать DNS сервера:

Для этого необходимо открыть «параметры сети интернет», далее «настройки параметров адаптера», затем открыть «свойства текущего подключения» и перейти в свойства «ip версии 4».

Необходимо выбрать «использовать следующие адреса DNS- серверов», указав предпочитаемый DNS-сервер: 1.1.1.1 и альтернативный DNS-сервер: 1.0.0.1

Seldon DNS

Затем сохраняем изменения, нажав на ОК. Далее перезагрузите ПК, проверьте доступ к продуктам.

Инструкция по смене DNS

Если нет прав администратора для выполнения рекомендаций, тогда необходимо обратиться к системному администратору.


В случае, если данные рекомендации не помогли, пользователю необходимо обратиться в техническую поддержку своего провайдера.

Если возникли сложности с выполнением рекомендаций — может помочь специалист технической поддержки Seldon: help@seldon.ru

В «Событиях управления» частые предупреждения: Невозможно разрешить удаленное имя: ‘api.intelsa.intel.com’

Спойлер

Имя журнала:   isaAgentLog
Источник:      isaAgent
Дата:          05.12.2020 0:30:40
Код события:   1130
Категория задачи:Отсутствует
Уровень:       Предупреждение
Ключевые слова:Классический
Пользователь:  Н/Д
Компьютер:     
Описание:
1.0.0.532: Connection error: Невозможно разрешить удаленное имя: ‘api.intelsa.intel.com’
 Network available: True
Xml события:
<Event xmlns=»http://schemas.microsoft.com/win/2004/08/events/event»>
  <System>
    <Provider Name=»isaAgent» />
    <EventID Qualifiers=»0″>1130</EventID>
    <Version>0</Version>
    <Level>3</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime=»2020-12-04T21:30:40.4945385Z» />
    <EventRecordID>112053</EventRecordID>
    <Correlation />
    <Execution ProcessID=»0″ ThreadID=»0″ />
    <Channel>isaAgentLog</Channel>
    <Computer></Computer>
    <Security />
  </System>
  <EventData>
    <Data>1.0.0.532: Connection error: Невозможно разрешить удаленное имя: ‘api.intelsa.intel.com’
 Network available: True</Data>
  </EventData>
</Event>

В Программах и компонентах есть Intel (R) Security Assist, дата установки август 2015, версия 1.0.0.532. Похоже предупреждения из-за этой программы. Нужно ли оно? Удалить или оставить так как есть?

И если удалю Intel (R) Security Assist, предупреждения «Невозможно разрешить удаленное имя: ‘api.intelsa.intel.com» ‘в «Событиях управления» прекратятся? 

Процессор в системе: Intel Core i7 4770K.


Изменено 4 декабря, 2020 пользователем PitBuLL

Приветствую!

Есть проект С# WPF. При этом постоянно выскакивает ошибка при попытке установить какой нибудь пакет через консоль диспетчера пакетов :

Install-Package : Unable to load the service index for source http://packagesource.
Произошла ошибка при отправке запроса.
Невозможно разрешить удаленное имя: 'packagesource'
строка:1 знак:16
+ Install-Package <<<<  Microsoft.Net.Compilers -Version 2.4.0    
+ CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

С чем это связано, как исправить ?

UPD

Настройки Nuget :
введите сюда описание изображения

задан 24 окт 2017 в 7:46

Сергей's user avatar

СергейСергей

3,8604 золотых знака35 серебряных знаков79 бронзовых знаков

4

Проверьте, что у вас в Tools > Options > NuGet Package Manager > Package Sources. Похоже, что адрес источника пакетов неверный.

введите сюда описание изображения

ответ дан 24 окт 2017 в 9:11

Alexander Petrov's user avatar

Alexander PetrovAlexander Petrov

28.7k5 золотых знаков27 серебряных знаков55 бронзовых знаков

1

Понравилась статья? Поделить с друзьями:
  • Ошибка невозможно разложить матрицу на составляющие after effects
  • Ошибка невозможно пропатчить установочные файлы для загрузки rufus
  • Ошибка невозможно продолжить установку виндовс
  • Ошибка невозможно проверить сертификат сервера
  • Ошибка невозможно применить фиксированные настройки пересекаются элементы отбора