|
Пропал парсинг web страницы
|
|||
---|---|---|---|
#18+
И еще вопрос, а почему все это произошло? Все играло на Framework 4.0. Ведь до вчерашнего дня было все ОК. ... |
|||
:
Нравится:
Не нравится:
|
|||
02.08.2018, 21:29 |
|
Пропал парсинг web страницы
|
|||
---|---|---|---|
#18+
Bujhm_CИ еще вопрос, а почему все это произошло? Все играло на Framework 4.0. Ведь до вчерашнего дня было все ОК. Ну а что тут непонятного? На сервере со вчерашнего дня подняли уровень (безопасности), заботятся о клиентах наверное)) ... |
|||
:
Нравится:
Не нравится:
|
|||
02.08.2018, 22:19 |
|
Пропал парсинг web страницы
|
|||
---|---|---|---|
#18+
Bujhm_CИ еще вопрос, а почему все это произошло? Все играло на Framework 4.0. Ведь до вчерашнего дня было все ОК. Запрет tls1. 0 в соответствии с рекомендациями ведущих собаководов https://www.comodo.com/e-commerce/ssl-certificates/tls-1-deprecation.php ... |
|||
:
Нравится:
Не нравится:
|
|||
02.08.2018, 22:20 |
|
Пропал парсинг web страницы
|
|||
---|---|---|---|
#18+
Наверно я открыл Америку, но вот как я решил проблему! Подчеркиваю FrameWork 4.0 Просто добавил строку (спасибо Изопропилу) ServicePointManager.SecurityProtocol = 3072 И все! Я сам в шоке! ... |
|||
:
Нравится:
Не нравится:
|
|||
04.08.2018, 11:05 |
|
Пропал парсинг web страницы
|
|||
---|---|---|---|
#18+
Bujhm_C, https://blogs.perficient.com/2016/04/28/tsl-1-2-and-net-support/ .NET 4.6 and above. You don’t need to do any additional work to support TLS 1.2, it’s supported by default. .NET 4.5. TLS 1.2 is supported, but it’s not a default protocol. You need to opt-in to use it. The following code will make TLS 1.2 default, make sure to execute it before making a connection to secured resource: ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 .NET 4.0. TLS 1.2 is not supported, but if you have .NET 4.5 (or above) installed on the system then you still can opt in for TLS 1.2 even if your application framework doesn’t support it. The only problem is that SecurityProtocolType in .NET 4.0 doesn’t have an entry for TLS1.2, so we’d have to use a numerical representation of this enum value: ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072; .NET 3.5 or below. TLS 1.2 is not supported (*) and there is no workaround. Upgrade your application to more recent version of the framework. ... |
|||
:
Нравится:
Не нравится:
|
|||
04.08.2018, 14:56 |
|
|
start [/forum/topic.php?fid=20&msg=39682830&tid=1399286]: |
0ms |
get settings: |
9ms |
get forum list: |
14ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
154ms |
get topic data: |
10ms |
get forum data: |
2ms |
get page messages: |
50ms |
get tp. blocked users: |
1ms |
others: | 13ms |
total: | 259ms |
0 / 0 |