An internal error has occurred please contact your administrator

Internal error has occurred Please contact your administrator Troubleshooting Problem Problem: IWR report fails. Error Message — Internal error has occurred. Please contact your administrator. Event Viewer Error Messages on the server: SWID=20030207134326703WOTTROBINSS-2KDPID1568TID712 — WOTTROBINSS-2KD, 1080(e24), 2003/02/07 13:43:26.765; Error: 0, Generic; Process ID: 1080; Thread: 3620; Host: WOTTROBINSS-2KD; Text: The following error was sent […]

Содержание

  1. Internal error has occurred Please contact your administrator
  2. Troubleshooting
  3. Problem
  4. Symptom
  5. Resolving The Problem
  6. An internal error has occurred. Please contact your administrator.
  7. 1 answer
  8. «An internal error has occurred. Please contact your administrator» when attach files
  9. File «» was not uploaded. An internal error has occurred. Please contact your administrator.
  10. 7 answers
  11. Произошла внутренняя ошибка при RDP подключении

Troubleshooting

Problem

Problem: IWR report fails. Error Message — Internal error has occurred. Please contact your administrator. Event Viewer Error Messages on the server: SWID=20030207134326703WOTTROBINSS-2KDPID1568TID712 — WOTTROBINSS-2KD, 1080(e24), 2003/02/07 13:43:26.765; Error: 0, Generic; Process ID: 1080; Thread: 3620; Host: WOTTROBINSS-2KD; Text: The following error was sent to the Consumer. Error number: 16 . Error message: Unable to determine if prompts are complete.; BackTrace Info: 1. File Name: Y:srciwrIWRRequestManagerReportAccessiwrreportcmd.cpp; Line#:247; Desc.:The following error was sent to the Consumer. Error number: 16 . Error message: Unable to determine if prompts are complete.; OR machinename, 5276(1498), 2003/02/07 13:43:20.843; Error: 0, Generic; Process ID: 5276; Thread: 5272; Host: machinename; Text: Error connecting to (machinename) on port (9041[*]); BackTrace Info: 1. File Name: Y:srcimpromptuImpromptuServerPDFRendererpdfrrenderingvisitor.cpp; Line#:172; Desc.:Error: 859988783, Generic; Process ID: 5276; Thread: 5272; Host: machinename; Text: Error connecting to (machinename) on port (9041[*]); BackTrace Info: 1. File Name: Client/PDFDocument.cpp; Line#:71; Desc.:Error connecting to (machinenames) on port (9041[*]); ; 2. File Name: Y:srcimpromptuImpromptuServerapp.exechild.libPDFPublisher.cpp; Line#:355; Desc.:PDFPublisher::Publish; 3. File Name: Y:srcimpromptuImpromptuServerapp.exeole.libAPPAUTO.CPP; Line#:8582; Desc.:CAppAuto::ExecuteRunReport Excel; Solution: Open Configuration Manager and expand the services section. Expand the PDF Server section. Select Distributed PDF Servers. In the right pane, look at the Host section. Ensure the computer name selected is a valid server and is spelled correctly. Select the computer name, click Actions, Apply Selection.

Symptom

Unable to determine if prompts are complete.; BackTrace Info: 1. File Name: Y:srciwrIWRRequestManagerReportAccessiwrreportcmd.cpp; Line#:247; Desc.:The following error was sent to the Consumer. Error number: 16 . Error message: Unable to determine if prompts are complete.;

machinename, 5276(1498), 2003/02/07 13:43:20.843; Error: 0, Generic; Process ID: 5276; Thread: 5272; Host: machinename; Text: Error connecting to (machinename) on port (9041[*]); BackTrace Info: 1. File Name: Y:srcimpromptuImpromptuServerPDFRendererpdfrrenderingvisitor.cpp; Line#:172; Desc.:Error: 859988783, Generic; Process ID: 5276; Thread: 5272; Host: machinename; Text: Error connecting to (machinename) on port (9041[*]); BackTrace Info: 1. File Name: Client/PDFDocument.cpp; Line#:71; Desc.:Error connecting to (machinenames) on port (9041[*]); ; 2. File Name: Y:srcimpromptuImpromptuServerapp.exechild.libPDFPublisher.cpp; Line#:355; Desc.:PDFPublisher::Publish; 3. File Name: Y:srcimpromptuImpromptuServerapp.exeole.libAPPAUTO.CPP; Line#:8582; Desc.:CAppAuto::ExecuteRunReport Excel;

Resolving The Problem

Open Configuration Manager and expand the services section.

Expand the PDF Server section. Select Distributed PDF Servers. In the right pane, look at the Host section. Ensure the computer name selected is a valid server and is spelled correctly. Select the computer name, click Actions, Apply Selection.

Источник

Hi I am trying to upload a file from my Dashboard to an ISSUE and I get this error («An internal error has occurred. Please contact your administrator.») The file is not less than 10M, but when I enter an incident I click on more and option to attach file I do not have that inconvenience, nor at the time of creating, passing a transition.

This error did not have when my tour was in version 6.3.14 when we made the UPGRATE to tour 8.4.0 this problem arises.

1 answer

Thanks for posting all these screenshots and sorry to hear about this problem. I can see pretty clearly that you are unable to get this particular attachment to post itself to this issue in Jira. Unfortunately this particular error message does not tell us exactly why that is.

I would recommend recreating this exact problem once more, and then immediately take a closer look at the logs Jira creates for this event. These will be located on the Jira server under:

Sometimes these two log files have the same information in them, but other times one might have some more details than the other. If we can see that the details are in the logs, it should help us to better understand why this is failing. The most common cause I know of for this problem would be that the file system permissions are lacking for the user running Jira. Which means that the Jira application is actually unable to store that file to disk as expected. If that’s the case, then we should see an error in the logs that confirms this.

If that’s the case, and you’re using a Linux/Unix operating system to host Jira, then I’d recommend following the steps in How to fix directory permissions in Linux for Jira Server.

If that doesn’t apply, please share with us the details of the log entry at this time, perhaps we can better target the solution here with a bit more information in the stacktrace itself.

Источник

A particular user had a problem with uploading two zip files on issue «create screen. He was getting the error «An internal error has occurred. Please contact your administrator». After several attempts, he attached the files. I did not find anything in atlassian-jira.log but I found these messages in catalina.log:

WARNING [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.valves.StuckThreadDetectionValve.notifyStuckThreadCompleted Thread [ajp-nio-8009-exec-863] (id=[859758]) was previously reported to be stuck but has completed. It was active for approximately [300,100] milliseconds.

WARNING [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.valves.StuckThreadDetectionValve.notifyStuckThreadDetected Thread [ajp-nio-8009-exec-805] (id=[825068]) has been active for [127,209] milliseconds (since [11/5/20 8:20 PM]) to serve the same request for [https://myjira.com/rest/internal/2/AttachTemporaryFile?filename=upg7673.zip&size=52085760&atl_token=XXXX-XXXX-XXXX-XXXX&formToken=10fc370375dae9622b3a5d43841883e360e4f3df&projectId=10505] and may be stuck (configured threshold for this StuckThreadDetectionValve is [120] seconds). There is/are [1] thread(s) in total that are monitored by this Valve and may be stuck.
java.lang.Throwable
at sun.misc.Unsafe.park(Native Method)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.CompletableFuture$Signaller.block(CompletableFuture.java:1693)
at java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3323)
at java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:1729)
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1895)
at io.atlassian.util.concurrent.Promises$OfStage.claim(Promises.java:280)
at com.atlassian.jira.issue.managers.DefaultAttachmentManager.createTemporaryAttachment(DefaultAttachmentManager.java:911)
at com.atlassian.jira.issue.attachment.DefaultTemporaryWebAttachmentManager.createTemporaryWebAttachmentWithoutValidation(DefaultTemporaryWebAttachmentManager.java:148)
at com.atlassian.jira.issue.attachment.DefaultTemporaryWebAttachmentManager.access$000(DefaultTemporaryWebAttachmentManager.java:62)
at com.atlassian.jira.issue.attachment.DefaultTemporaryWebAttachmentManager$1.get(DefaultTemporaryWebAttachmentManager.java:109)
at com.atlassian.jira.issue.attachment.DefaultTemporaryWebAttachmentManager$1.get(DefaultTemporaryWebAttachmentManager.java:106)
at com.atlassian.jira.web.util.PreValidatedActionExecutor.executeFailOnFirstError(PreValidatedActionExecutor.java:40)
.

I tried to reproduce this error, but everything works good for me. Does anybody know why it happened?

Источник

File «» was not uploaded. An internal error has occurred. Please contact your administrator.

We have an issue during the upload of attachments.

Appears for some images without any logic. The weight and the dimensions have nothing about. In the below issue example, «1» will never be uploaded while another file «2» is always uploaded.

Limit of attachments 10MB while the files are

Here for console javascript:
Hope someone can help; many thanks

7 answers

I believe default jira attachment is 10 MB.

Please check below points.

1.What is the size of attachment?.

2.Do you have any problem with very small size files?

3.Is the problem global to all users?

4.You also have to check proxy(apache/nginx) infront of Jira.Usually proxy can also restrict file size attachment.

For eg in apache you have to set

You must be a registered user to add a comment. If you’ve already registered, sign in. Otherwise, register and sign in.

4. It works for me.

You must be a registered user to add a comment. If you’ve already registered, sign in. Otherwise, register and sign in.

Our IT was able to resolve the issue for us. See my comment about where I mentioned this was only occurring when we were accessing Jira via a VPN (Netscaler).

Fix (ask your IT administrator): This worked for us.

There is a “single sign-on to web applications” within the session profile in Citrix or your other gateway/proxy. We unchecked this option on our gateway, established a new VPN session, and was able to upload docs to the Jira site without a problem. I’m surprised this option is affecting the ability to upload docs, but it must have some control over the payload of the file transfer.

You must be a registered user to add a comment. If you’ve already registered, sign in. Otherwise, register and sign in.

This issue is still unresolved. For us, this happens only when we are on the VPN. Everything else in Jira works fine except for the attachment upload/add. Max file size was increased to 100MB but that did not help. Anything over 1MB fails. Less than 1MB is successful.

You must be a registered user to add a comment. If you’ve already registered, sign in. Otherwise, register and sign in.

Having the same problem when connecting from VPN.

You must be a registered user to add a comment. If you’ve already registered, sign in. Otherwise, register and sign in.

@ColinJ checkout my response. Our IT (network) admins were able to fix this issue.

You must be a registered user to add a comment. If you’ve already registered, sign in. Otherwise, register and sign in.

Thank you for reporting this issue.

Per your issue description, there are several possible reasons for the mentioned problem, so I kindly recommend you to perform the following steps for now:

1 — Reproduce the problem and check in the Javascript console of your Browser if the error returned is not the same described in the following bug:

Also, try to add the attachments directly to issue without opening it in a new tab

2 — Check if other users can reproduce the same problem with the same file

3 — Check if the problem reproduces with a different browser

4 — Check if the problem reproduces in a different network

Let us know your results with the steps above.

Источник

Произошла внутренняя ошибка при RDP подключении

Столкнулся со странным сообщением “ Произошла внутренняя ошибка / An internal error has occurred ” при RDP подключении к недавно развернутому серверу RDSH на Windows Server 2012 R2 из Windows 10. Буквально вчера RDP подключение к серверу работало нормально, но после установки и настройки RemotApp приложений и перезагрузки сервера, я не могу удаленно подключиться к его рабочему столу. Служба Remote Desktop Services судя по всему работает, так как пароль пользователя при подключении запрашивается.

Как я понял, сообщение RDP консоли “Произошла внутренняя ошибка” может появляться в различных случаях и иметь совершенно различные причины, связанные как с сервером Remote Desktop, так и с клиентом. В этой статье я постарался собрать все варианты решения и сценарий, который помог мне.

Изучив логи RDP подключений на удаленном RDS сервере, я не увидел никаких особенных ошибок. В журнале Microsoft-Windows-RemoteDesktopServices-RdpCoreTS/Operational видно, что RDP сессия создается:

The server accepted a new TCP connection from client 10.10.1.60:64379.
Connection RDP-Tcp#3 created
Но потом без какой-либо ошибки RDP сеанс завершается:

The server has terminated main RDP connection with the client.
The disconnect reason is 0

Проверьте состояние службу Remote Desktop Services на удаленном сервере и перезапустите ее. Вы можете удаленно перезапустить службу через консоль Services.msc (Connect to another computer), но гораздо проще проверить состояние службы и перезапустить ее через PowerShell:

(Get-Service TermService -ComputerName msk-ts1).status

Служба запушена (Running), перезапустим ее:

Get-Service TermService -ComputerName msk-ts1| Restart-Service –force –verbose

Но проблему это не решило.

Какие еще варианты решения проблемы мне удалось найти в сети:

  1. Если у вас на удаленном сервере установлен КриптоПРО, он может быть источником проблем с rdp подключением. Попробуйте отключить проверку контрольных целостности файлов (проверки контрольных сумм) в КриптоПро через реестр. Перейдите в ветку реестра HKLMSYSTEMCurrentControlSetControlSession ManagerCProIntegrity и измените значение параметра CheckMode на . Перезагрузите сервер.
  2. Если в журнале событий TerminalServices-RemoteConnectionManager вы встретите событие с EventID 1057 (The RD Session Host Server has failed to create a new self signed certificate to be used for RD Session Host Server authentication on SSL connections), перейдите в каталог C:ProgramDataMicrosoftCryptoRSA , переименуйте папку Machinekeys в Machinekeys_bak и перезапустите службу TermService.
  3. Также нашел информацию, что RDP проблема “Произошла внутренняя ошибка” встречалась в Windows 10 1809, если на удаленном компьютере включена политика Configure H.264/AVC hardware encoding for Remote Desktop connections (находится в секции GPO: Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Remote Session Environment). Для решения этой проблемы достаточно отключить UDP протокол для RDP, создав в ветке реестра HKLMSOFTWAREPoliciesMicrosoftWindows NTTerminal ServicesClient параметр fClientDisableUDP со значением 1.
  4. В комментариях Ivan оставил очень полезный фикс.
    Проблема с ошибкой RDP может быть в наличии некоего счетчика учитывающего максимальное количество подключений в Windows.
    В десктопных версиях Windows — 100, в Windows Server -3000. Для сброса счетчика достаточно перезагрузить компьютер, или просто увеличить лимит через реестр:
    REG ADD «HKLMSYSTEMCurrentControlSetControlTerminal Server» /v MaxOutstandingConnections /t REG_DWORD /d 65536

Ни один из рассмотренных выше сценариев не был применим в моем случае. Я совершенно случайно обнаружил, что с других компьютеров нет проблем с подключением к этому RDS серверу. Значить проблема только с моим компьютером, а не с сервером.

Я очистил историю RDP подключений в ветке HKEY_CURRENT_USERSoftwareMicrosoftTerminal Server ClientServers и сбросил кэш RDP в каталоге C:Users%Username%AppDataLocalMicrosoftTerminal Server ClientCache (перед удалением закройте все запущенные сеансы mstsc.exe):

del «C:Users%Username%AppDataLocalMicrosoftTerminal Server Clientcache»

После этого перезагрузил свой компьютер, и ошибка RDP подключения исчезла!

Источник

Hi,

Thanks for posting all these screenshots and sorry to hear about this problem.  I can see pretty clearly that you are unable to get this particular attachment to post itself to this issue in Jira.   Unfortunately this particular error message does not tell us exactly why that is.

I would recommend recreating this exact problem once more, and then immediately take a closer look at the logs Jira creates for this event.  These will be located on the Jira server under:

  • $JIRAINSTALL/logs/catalina.out
  • $JIRAHOME/log/atlassian-jira.log

Sometimes these two log files have the same information in them, but other times one might have some more details than the other.  If we can see that the details are in the logs, it should help us to better understand why this is failing.  The most common cause I know of for this problem would be that the file system permissions are lacking for the user running Jira.  Which means that the Jira application is actually unable to store that file to disk as expected.  If that’s the case, then we should see an error in the logs that confirms this.

If that’s the case, and you’re using a Linux/Unix operating system to host Jira, then I’d recommend following the steps in How to fix directory permissions in Linux for Jira Server.

If that doesn’t apply, please share with us the details of the log entry at this time, perhaps we can better target the solution here with a bit more information in the stacktrace itself.

Cheers,

Andy

Problem

Problem:

IWR report fails.

Error Message —

Internal error has occurred. Please contact your administrator.

Event Viewer Error Messages on the server:

SWID=20030207134326703WOTTROBINSS-2KDPID1568TID712 — WOTTROBINSS-2KD, 1080(e24), 2003/02/07 13:43:26.765; Error: 0, Generic; Process ID: 1080; Thread: 3620; Host: WOTTROBINSS-2KD; Text: The following error was sent to the Consumer. Error number: 16 . Error message: Unable to determine if prompts are complete.; BackTrace Info: 1. File Name: Y:srciwrIWRRequestManagerReportAccessiwrreportcmd.cpp; Line#:247; Desc.:The following error was sent to the Consumer. Error number: 16 . Error message: Unable to determine if prompts are complete.;

OR

machinename, 5276(1498), 2003/02/07 13:43:20.843; Error: 0, Generic; Process ID: 5276; Thread: 5272; Host: machinename; Text: Error connecting to (machinename) on port (9041[*]); BackTrace Info: 1. File Name:
Y:srcimpromptuImpromptuServerPDFRendererpdfrrenderingvisitor.cpp; Line#:172; Desc.:Error: 859988783, Generic; Process ID: 5276; Thread: 5272; Host: machinename; Text: Error connecting to (machinename) on port (9041[*]); BackTrace Info: 1. File Name: Client/PDFDocument.cpp; Line#:71; Desc.:Error connecting to (machinenames) on port (9041[*]); ; 2. File Name: Y:srcimpromptuImpromptuServerapp.exechild.libPDFPublisher.cpp; Line#:355; Desc.:PDFPublisher::Publish; 3. File Name: Y:srcimpromptuImpromptuServerapp.exeole.libAPPAUTO.CPP; Line#:8582; Desc.:CAppAuto::ExecuteRunReport Excel;

Solution:

Open Configuration Manager and expand the services section.

Expand the PDF Server section. Select Distributed PDF Servers. In the right pane, look at the Host section. Ensure the computer name selected is a valid server and is spelled correctly. Select the computer name, click Actions, Apply Selection.

Symptom

Unable to determine if prompts are complete.; BackTrace Info: 1. File Name: Y:srciwrIWRRequestManagerReportAccessiwrreportcmd.cpp; Line#:247; Desc.:The following error was sent to the Consumer. Error number: 16 . Error message: Unable to determine if prompts are complete.;

OR

machinename, 5276(1498), 2003/02/07 13:43:20.843; Error: 0, Generic; Process ID: 5276; Thread: 5272; Host: machinename; Text: Error connecting to (machinename) on port (9041[*]); BackTrace Info: 1. File Name:
Y:srcimpromptuImpromptuServerPDFRendererpdfrrenderingvisitor.cpp; Line#:172; Desc.:Error: 859988783, Generic; Process ID: 5276; Thread: 5272; Host: machinename; Text: Error connecting to (machinename) on port (9041[*]); BackTrace Info: 1. File Name: Client/PDFDocument.cpp; Line#:71; Desc.:Error connecting to (machinenames) on port (9041[*]); ; 2. File Name: Y:srcimpromptuImpromptuServerapp.exechild.libPDFPublisher.cpp; Line#:355; Desc.:PDFPublisher::Publish; 3. File Name: Y:srcimpromptuImpromptuServerapp.exeole.libAPPAUTO.CPP; Line#:8582; Desc.:CAppAuto::ExecuteRunReport Excel;

Resolving The Problem

Open Configuration Manager and expand the services section.

Expand the PDF Server section. Select Distributed PDF Servers. In the right pane, look at the Host section. Ensure the computer name selected is a valid server and is spelled correctly. Select the computer name, click Actions, Apply Selection.

[{«Product»:{«code»:»SSTQPQ»,»label»:»IBM Cognos Series 7 PowerPlay»},»Business Unit»:{«code»:»BU053″,»label»:»Cloud & Data Platform»},»Component»:»Impromptu Web Reports»,»Platform»:[{«code»:»PF033″,»label»:»Windows»}],»Version»:»Impromptu Web Reports 7.0″,»Edition»:»»,»Line of Business»:{«code»:»LOB10″,»label»:»Data and AI»}}]

@Rahulpanwar378

Getting above error while installing MISP. on Centos7

@Rahulpanwar378

An Internal Error Has Occurred.
Error: An Internal Error Has Occurred. Please try your action again. If the problem persists, please contact administrator.

@chrisinmtown

This is the web UI response when the PHP back-end fails. Check the log file, probably /var/www/MISP/app/tmp/logs/error.log, for details. There are so, so many possibilities it’s impossible to guess.

@enjeck
enjeck

added
the

T: support

Type: support. This issue is seeking support on a problem or question

label

Apr 9, 2021

@Rahulpanwar378

#0 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Datasource/DboSource.php(278): Mysql->connect()
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/ConnectionManager.php(105): DboSource->__construct()
#2 /var/www/MISP/app/Controller/AppController.php(820): ConnectionManager::getDataSource()
#3 /var/www/MISP/app/Controller/AppController.php(129): AppController->_setupDatabaseConnection()
#4 /var/www/MISP/app/Controller/EventsController.php(62): AppController->beforeFilter()
#5 /var/www/MISP/app/Lib/cakephp/lib/Cake/Event/CakeEventManager.php(244): EventsController->beforeFilter()
#6 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(682): CakeEventManager->dispatch()
#7 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(189): Controller->startupProcess()
#8 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke()
#9 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch()
#10 {main}
2021-04-09 21:20:18 Error: [MissingConnectionException] Database connection «Mysql» is missing, or could not be created.
Exception Attributes: array (
‘class’ => ‘Mysql’,
‘message’ => ‘SQLSTATE[HY000] [1045] Access denied for user ‘misp’@’localhost’ (using password: YES)’,
‘enabled’ => true,
)
Request URL: /
Stack Trace:
#0 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Datasource/DboSource.php(278): Mysql->connect()
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/ConnectionManager.php(105): DboSource->__construct()
#2 /var/www/MISP/app/Controller/AppController.php(820): ConnectionManager::getDataSource()
#3 /var/www/MISP/app/Controller/AppController.php(129): AppController->_setupDatabaseConnection()
#4 /var/www/MISP/app/Controller/EventsController.php(62): AppController->beforeFilter()
#5 /var/www/MISP/app/Lib/cakephp/lib/Cake/Event/CakeEventManager.php(244): EventsController->beforeFilter()
#6 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(682): CakeEventManager->dispatch()
#7 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(189): Controller->startupProcess()
#8 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke()
#9 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch()
#10 {main}

these are logs of error file

@chrisinmtown

The logs show that your server failed to connect to the database. Check the values for the database host, port, login and password in config file /var/www/MISP/app/Config/database.php

@Rahulpanwar378

thanks dear it is working now.

@chrisinmtown

@Rahulpanwar378

Thanks for your support..

@Rahulpanwar378

@oencarnacion

The problem is that the MISP instance and the MYSQL are not establishing a connection. The steps I took to do this were the following:

With the file hosted on the misp user called mysql.txt I used the generated root password I went to my mysql instance and reset the root user by putting the password I saw in the file

How to reset the user:

/etc/init.d/mysql stop
mysqld_safe —skip-grant-tables &
mysql -u root
use mysql;
select PASSWORD(«password from mysql.txt»);
update user set authentication_string=PASSWORD(«password from mysql.txt») where user’root’;
update user set plugin = «mysql_native_password» where user=’root’;
quit;
/etc/init.d/mysql start

  • Remove From My Forums
  • Question

  • hi,

    often I have the following fenomenon.

    We work with MS Project 2010 and Enterprise project server 2010

    When I try to save my project file, I get the error shown in the title of this thread. No reference to any error ID. The eventlog learns nothing more:

    Microsoft Project

    An internal error occurred.

    If this problem persists, contact your administrator.

    P1: 900001

    P2: 14.0.6029.1000

    P3:

    P4:

    I’m unable to save the project to the server. Of course it’s impossible to check in or publish becouse these actions start with a save action.

    This does not happen always, but today I happend almost permanently.

    What did I already try:

    1. disconnect from server, save the project. This went fine. Close and restart project. Went fine. I got the status message «data synchronised to server» but when I tried to save the next time (in connected mode), I got the same error. Closed and
      restarted project. Got the message when opening the project. clicked OK, the project opened correctly afterwards. Tried to save —> same error. In the backgroundpanel>options>save>clean up cache…>projects checked out to you was empty. Howerver
      in the project center the same project was shown checked out to me.
    2. So I though it could be a caching problem, browsed to the cache location and removed the cache folder. but no result. Opening a project resulted in the same problem.
    3. renamed the office 2010 folder (14) from %Application Data%microsoftms project, same result.
    4. recreated my Project server account: same result

    Does anybody have any idea of what is happening.

    I repeat the above is not happening all the time, it happens sometimes, but it happens to any project and any user.

    thanks for the help

Есть проблемы с производительностью и стабильностью работы RDP в Windows 10 1803.

Решается так:

Если заменить данные файлы в каталоге C:WindowsSystem32 на версии файлов из предыдущего билда Windows 10 (1703 или 1607), проблема с производительностью RemoteApp исчезает. Как заменить файлы клиента RDP в Windows 10: 1. Закройте все RDP подключения и запущенные RemoteApp (лучше даже перезагрузить компьютер). 2. Скачайте архив с версиями файлов mstsc.exe и mstscax.dll из Windows 10 1607 (ссылка на скачивание с Я.Диска mstsc-w10-1607.zip). 3. Скопируйте оригинальные файлы mstsc.exe и mstscax.dll из каталога C:windowssystem32 в каталог C:Backup с помощью команд:md c:backupcopy C:windowssystem32mstsc.exe c:backupcopy C:windowssystem32mstscax.dll c:backup 4. Затем нужно назначить свою учетную запись владельцем файлов mstsc.exe и mstscax.dll в каталоге C:windowssystem32, отключите наследование и предоставьте себе права на изменение файлов:

takeown /F C:windowssystem32mstsc.exetakeown /F C:windowssystem32mstscax.dllicacls C:windowssystem32mstsc.exe /inheritance:dicacls C:windowssystem32mstscax.dll /inheritance:dicacls C:windowssystem32mstsc.exe /grant root:Ficacls C:windowssystem32mstscax.dll /grant root:F

(в этом примере имя локальной учтённой записи с правами администратора. Замените ее на имя вашей учетной записи). 5. Замените файлы в каталоге C:windowssystem32 файлами из скачанного архива. 6. Восстановим оригинальные разрешения на замененых файлах. Включим наследования NTFS разрешений и установим владельцем файлов «NT ServiceTrustedInstaller» командами:icacls C:windowssystem32mstsc.exe /inheritance:eicacls C:windowssystem32mstscax.dll /inheritance:eicacls C:windowssystem32mstsc.exe /setowner «NT ServiceTrustedInstaller» /T /Cicacls C:windowssystem32mstscax.dll /setowner «NT ServiceTrustedInstaller» /T /C 7. Осталось перерегистрировать библиотеку:regsvr32 C:WindowsSystem32mstscax.dll

—>

В этой статье описаны ошибки, которые могут возникнуть при подключении к виртуальной машине в Microsoft Azure.This article describes an error that you may experience when you try to connect to a virtual machine (VM) in Microsoft Azure.

Примечание

В Azure предлагаются две модели развертывания для создания ресурсов и работы с ними: модель диспетчера ресурсов и классическая модель.Azure has two different deployment models for creating and working with resources: Resource Manager and classic.В этой статье описывается использование модели развертывания c помощью Resource Manager. Для новых развертываний рекомендуется использовать эту модель вместо классической.This article covers using the Resource Manager deployment model, which we recommend using for new deployments instead of the classic deployment model.


СимптомыSymptoms

Не удается подключиться к виртуальной машине Azure с помощью протокола удаленного рабочего стола (RDP).You cannot connect to an Azure VM by using the remote desktop protocol (RDP).Подключение зависает на разделе «Configuring Remote» (Настройка удаленного рабочего стола), или появляется следующее сообщение об ошибке:The connection gets stuck on the «Configuring Remote» section, or you receive the following error message:

  • внутренняя ошибка RDP;RDP internal error
  • произошла внутренняя ошибка;An internal error has occurred
  • не удается подключиться к удаленному компьютеру с этого компьютера.This computer can’t be connected to the remote computer.Повторите попытку подключения.Try connecting again.Если проблема не исчезнет, ​​обратитесь к владельцу удаленного компьютера или к администратору сети.If the problem continues, contact the owner of the remote computer or your network administrator


ПричинаCause

Эта проблема может возникать из-за следующих причин:This issue may occur for the following reasons:

  • локальные ключи шифрования RSA недоступны;The local RSA encryption keys cannot be accessed.
  • протокол TLS отключен;TLS protocol is disabled.
  • сертификат поврежден или истек срок его действия.The certificate is corrupted or expired.


РешениеSolution

Прежде чем выполнять какие-либо действия, сделайте моментальный снимок диска ОС затронутой виртуальной машины в качестве резервной копии.Before you follow these steps, take a snapshot of the OS disk of the affected VM as a backup.Дополнительные сведения см. в статье Создание моментального снимка.For more information, see Snapshot a disk.

Чтобы устранить эту проблему, воспользуйтесь последовательной консолью или восстановите виртуальную машину в автономном режиме, присоединив диск ОС виртуальной машины к виртуальной машине для восстановления.To troubleshoot this issue, use the Serial Console or repair the VM offline by attaching the OS disk of the VM to a recovery VM.

Использование последовательной консолиUse Serial control

Подключитесь к последовательной консоли и откройте экземпляр PowerShell.Connect to Serial Console and open PowerShell instance.Если последовательную консоль не включено на виртуальной машине, перейдите к разделу repair the VM offline(Автономное восстановление виртуальной машины).If the Serial Console is not enabled on your VM, go to the repair the VM offline section.

Шаг 1. Проверка порта RDPStep: 1 Check the RDP port

  1. В экземпляре PowerShell используйте netstat для проверки того, используется ли порт 8080 другими приложениями.In a PowerShell instance, use the NETSTAT to check whether port 8080 is used by other applications:

     Netstat -anob |more 
  2. Если Termservice.exe использует порт 8080, перейдите к шагу 2.If Termservice.exe is using 8080 port, go to step 2.Если другая служба или приложение, отличное от Termservice.exe, использует порт 8080, выполните следующие действия.If another service or application other than Termservice.exe is using 8080 port, follow these steps:

    1. Остановите службу для приложения, которое использует службу 3389.Stop the service for the application that is using the 3389 service:

       Stop-Service -Name  -Force 
    2. Запустите службу терминалов.Start the terminal service:

       Start-Service -Name Termservice 
  3. Если не удается остановить приложение, или этот метод не подходит, измените порт для RDP.If the application cannot be stopped, or if this method does not apply to you, change the port for RDP:

    1. Измените порт.Change the port:

       Set-ItemProperty -Path 'HKLMSYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-Tcp' -name PortNumber -value <hexportnumbece termservice="" start-service="">
    2. Настройте брандмауэр в соответствии с новым портом.Set the firewall for the new port:

       Set-NetFirewallRule -Name "RemoteDesktop-UserMode-In-TCP" -LocalPort <new>
    3. pan>Обновите группу безопасности сети для нового порта на порте RDP портала Azure.Update the network security group for the new port in the Azure portal RDP port.

Шаг 2. Установка правильных разрешений на самозаверяющем сертификате RDPStep 2: Set correct permissions on the RDP self-signed certificate

  1. Чтобы обновить самозаверяющий сертификат RDP, по очереди выполните следующие команды в экземпляре PowerShell.In a PowerShell instance, run the following commands one by one to renew the RDP self-signed certificate:

    Import-Module PKI   Set-Location Cert:LocalMachine   $RdpCertThumbprint = 'Cert:LocalMachineRemote Desktop'+((Get-ChildItem -Path 'Cert:LocalMachineRemote Desktop').thumbprint)   Remove-Item -Path $RdpCertThumbprint  Stop-Service -Name "SessionEnv"  Start-Service -Name "SessionEnv" 
  2. Если не удается обновить сертификат с помощью этого метода, попробуйте обновить самозаверяющий сертификат RDP удаленно.If you cannot renew the certificate by using this method, try to renew the RDP self-signed certificate remotely:

    1. С работающей виртуальной машины с подключением к той виртуальной машине, на которой возникли проблемы, введите mmc в окнеЗапуск, чтобы открыть консоль управления (MMC).From a working VM that has connectivity to the VM that is experiencing problems, type mmc in the Run box to open Microsoft Management Console.

    2. В меню Файлвыберите Add/Remove Snap-in (Добавить или удалить оснастку), выберите Сертификаты, а затем выберите Добавить.On the File menu, select Add/Remove Snap-in, select Certificates, and then select Add.

    3. Выберите Computer accounts (учетные записи компьютера), выберите Another Computer (другой компьютер), а затем добавьте IP-адрес проблемной виртуальной машины.Select Computer accounts, select Another Computer, and then add the IP address of the problem VM.

    4. Перейдите в папку Remote DesktopCertificates (Удаленный рабочий стол или сертификаты), щелкните правой кнопкой мыши сертификат и затем щелкните Удалить.Go to the Remote DesktopCertificates folder, right-click the certificate, and then and select Delete.

    5. В экземпляре PowerShell из последовательной консоли перезапустите службу настройки удаленного рабочего стола.In a PowerShell instance from the Serial Console, restart the Remote Desktop Configuration service:

       Stop-Service -Name "SessionEnv"   Start-Service -Name "SessionEnv" 
  3. Сбросьте разрешение для папки MachineKeysReset the permission for the MachineKeys folder.

     remove-module psreadline icacls   md c:temp   icacls C:ProgramDataMicrosoftCryptoRSAMachineKeys /t /c > c:tempBeforeScript_permissions.txt    takeown /f "C:ProgramDataMicrosoftCryptoRSAMachineKeys" /a /r   icacls C:ProgramDataMicrosoftCryptoRSAMachineKeys /t /c /grant "NT AUTHORITYSystem:(F)"   icacls C:ProgramDataMicrosoftCryptoRSAMachineKeys /t /c /grant "NT AUTHORITYNETWORK SERVICE:(R)"   icacls C:ProgramDataMicrosoftCryptoRSAMachineKeys /t /c /grant "BUILTINAdministrators:(F)"   icacls C:ProgramDataMicrosoftCryptoRSAMachineKeys /t /c > c:tempAfterScript_permissions.txt    Restart-Service TermService -Force 
  4. Перезапустите виртуальную машину, а затем повторите попытку подключения к виртуальной машине с удаленного рабочего стола.Restart the VM, and then try Start a Remote Desktop connection to the VM.Если ошибку не удалось устранить, перейдите к следующему шагу.If the error still occurs, go to the next step.

Шаг 3. Включение всех поддерживаемых версий протокола TLSStep 3: Enable all supported TLS versions

Клиент RDP использует TLS 1.0 в качестве протокола по умолчанию.The RDP client uses TLS 1.0 as the default protocol.Тем не менее его можно изменить на TLS 1.1, который является новым стандартом.However, this can be changed to TLS 1.1, which has become the new standard.Если протокол TLS 1.1 отключен на виртуальной машине, произойдет сбой подключения.If TLS 1.1 is disabled on the VM, the connection will fail.

  1. В экземпляре CMD включите протокол TLS.In a CMD instance, enable the TLS protocol:

    reg add "HKLMSYSTEMCurrentControlSetControlSecurityProvidersSCHANNELProtocolsTLS 1.0Server" /v Enabled /t REG_DWORD /d 1 /f  reg add "HKLMSYSTEMCurrentControlSetControlSecurityProvidersSCHANNELProtocolsTLS 1.1Server" /v Enabled /t REG_DWORD /d 1 /f  reg add "HKLMSYSTEMCurrentControlSetControlSecurityProvidersSCHANNELProtocolsTLS 1.2Server" /v Enabled /t REG_DWORD /d 1 /f 
  2. Чтобы предотвратить перезапись изменений политики AD, временно остановите обновление групповой политики.To prevent the AD policy from overwriting the changes, stop the group policy update temporarily:

    REG add "HKLMSYSTEMCurrentControlSetServicesgpsvc" /v Start /t REG_DWORD /d 4 /f 
  3. Чтобы изменения вступили в силу, перезапустите виртуальную машину.Restart the VM so that the changes take effect.Если проблема устранена, выполните следующую команду, чтобы снова включить групповую политику.If the issue is resolved, run the following command to re-enable the group policy:

    sc config gpsvc start= auto sc start gpsvc  gpupdate /force 

    Если изменение отменено, это означает, что в домене вашей компании уже имеется политика Active Directory.If the change is reverted, it means that there’s an Active Directory policy in your company domain.Чтобы впредь избежать этой проблемы, необходимо изменить эту политику.You have to change that policy to avoid this problem from occurring again.

Автономное восстановление виртуальной машиныRepair the VM Offline

Подключите диск ОС к виртуальной машине восстановления.Attach the OS disk to a recovery VM

  1. Устранение неполадок с виртуальной машиной Windows при подключении диска операционной системы к виртуальной машине восстановления с помощью портала Azure.Attach the OS disk to a recovery VM.
  2. После подключения диска ОС к виртуальной машине восстановления убедитесь, что в консоли управления дисками он помечен как В сети.After the OS disk is attached to the recovery VM, make sure that the disk is flagged as Online in the Disk Management console.Запишите или запомните букву диска, которая присвоена подключенному диску ОС.Note the drive letter that is assigned to the attached OS disk.
  3. Установите подключение с помощью удаленного рабочего стола к виртуальной машине, используемой для восстановления.Start a Remote Desktop connection to the recovery VM.

Включение журнала дампа и последовательной консолиEnable dump log and Serial Console

Чтобы включить журнал дампа и последовательную консоль, выполните следующий сценарий.To enable dump log and Serial Console, run the following script.

  1. Откройте сеанс командной строки с повышенными привилегиями (запуск от имени администратора).Open an elevated command prompt session (Run as administrator).

  2. Выполните следующий скрипт:Run the following script:

    В этом сценарии мы предполагаем, что подключенному диску ОС присвоена буква F. Замените ее соответствующим значением для своей виртуальной машины.In this script, we assume that the drive letter that is assigned to the attached OS disk is F. Replace this drive letter with the appropriate value for your VM.

    reg load HKLMBROKENSYSTEM F:windowssystem32configSYSTEM.hiv  REM Enable Serial Console bcdedit /store F:bootbcd /set {bootmgr} displaybootmenu yes bcdedit /store F:bootbcd /set {bootmgr} timeout 5 bcdedit /store F:bootbcd /set {bootmgr} bootems yes bcdedit /store F:bootbcd /ems {<boot>} ON bcdedit /store F:bootemssettings EMSPORT:1 EMSBAUDRATE:115200  REM Suggested configuration to enable OS Dump REG ADD "HKLMBROKENSYSTEMControlSet001ControlCrashControl" /v CrashDumpEnabled /t REG_DWORD /d 1 /f REG ADD "HKLMBROKENSYSTEMControlSet001ControlCrashControl" /v DumpFile /t REG_EXPAND_SZ /d "%SystemRoot%MEMORY.DMP" /f REG ADD "HKLMBROKENSYSTEMControlSet001ControlCrashControl" /v NMICrashDump /t REG_DWORD /d 1 /f  REG ADD "HKLMBROKENSYSTEMControlSet002ControlCrashControl" /v CrashDumpEnabled /t REG_DWORD /d 1 /f REG ADD "HKLMBROKENSYSTEMControlSet002ControlCrashControl" /v DumpFile /t REG_EXPAND_SZ /d "%SystemRoot%MEMORY.DMP" /f REG ADD "HKLMBROKENSYSTEMControlSet002ControlCrashControl" /v NMICrashDump /t REG_DWORD /d 1 /f  reg unload HKLMBROKENSYSTEM </boot>

Сброс разрешения для папки MachineKeysReset the permission for MachineKeys folder

  1. Откройте сеанс командной строки с повышенными привилегиями (запуск от имени администратора).Open an elevated command prompt session (Run as administrator).

  2. Выполните следующий сценарий.Run the following script.В этом сценарии мы предполагаем, что подключенному диску ОС присвоена буква F. Замените ее соответствующим значением для своей виртуальной машины.In this script, we assume that the drive letter that is assigned to the attached OS disk is F. Replace this drive letter with the appropriate value for your VM.

     Md F:temp   icacls F:ProgramDataMicrosoftCryptoRSAMachineKeys /t /c > c:tempBeforeScript_permissions.txt   takeown /f "F:ProgramDataMicrosoftCryptoRSAMachineKeys" /a /r   icacls F:ProgramDataMicrosoftCryptoRSAMachineKeys /t /c /grant "NT AUTHORITYSystem:(F)"   icacls F:ProgramDataMicrosoftCryptoRSAMachineKeys /t /c /grant "NT AUTHORITYNETWORK SERVICE:(R)"   icacls F:ProgramDataMicrosoftCryptoRSAMachineKeys /t /c /grant "BUILTINAdministrators:(F)"   icacls F:ProgramDataMicrosoftCryptoRSAMachineKeys /t /c > c:tempAfterScript_permissions.txt 

Шаг 3. Включение всех поддерживаемых версий протокола TLSEnable all supported TLS versions

  1. Отройте сеанс командной строки с повышенными привилегиями (Запуск от имени администратора) и выполните приведенные ниже команды.Open an elevated command prompt session (Run as administrator), and the run the following commands.В этом сценарии мы предполагаем, что подключенному диску ОС присвоена буква F. Замените ее соответствующим значением для своей виртуальной машины.The following script assumes that the driver letter is assigned to the attached OS disk is F. Replace this drive letter with the appropriate value for your VM.

  2. Проверьте, который протокол TLS включен.Check which TLS is enabled:

    reg load HKLMBROKENSYSTEM F:windowssystem32configSYSTEM.hiv  REG ADD "HKLMBROKENSYSTEMControlSet001ControlSecurityProvidersSCHANNELProtocolsTLS 1.0Server" /v Enabled /t REG_DWORD /d 1 /f  REG ADD "HKLMBROKENSYSTEMControlSet001ControlSecurityProvidersSCHANNELProtocolsTLS 1.1Server" /v Enabled /t REG_DWORD /d 1 /f  REG ADD "HKLMBROKENSYSTEMControlSet001ControlSecurityProvidersSCHANNELProtocolsTLS 1.2Server" /v Enabled /t REG_DWORD /d 1 /f  REG ADD "HKLMBROKENSYSTEMControlSet002ControlSecurityProvidersSCHANNELProtocolsTLS 1.0Server" /v Enabled /t REG_DWORD /d 1 /f  REG ADD "HKLMBROKENSYSTEMControlSet002ControlSecurityProvidersSCHANNELProtocolsTLS 1.1Server" /v Enabled /t REG_DWORD /d 1 /f  REG ADD "HKLMBROKENSYSTEMControlSet002ControlSecurityProvidersSCHANNELProtocolsTLS 1.2Server" /v Enabled /t REG_DWO 
  3. REM Enable TLS 1.0, TLS 1.1 and TLS 1.2  REG ADD "HKLMBROKENSYSTEMControlSet001ControlSecurityProvidersSCHANNELProtocolsTLS 1.0Server" /v Enabled /t REG_DWORD /d 1 /f  REG ADD "HKLMBROKENSYSTEMControlSet001ControlSecurityProvidersSCHANNELProtocolsTLS 1.1Server" /v Enabled /t REG_DWORD /d 1 /f  REG ADD "HKLMBROKENSYSTEMControlSet001ControlSecurityProvidersSCHANNELProtocolsTLS 1.2Server" /v Enabled /t REG_DWORD /d 1 /f  REG ADD "HKLMBROKENSYSTEMControlSet002ControlSecurityProvidersSCHANNELProtocolsTLS 1.0Server" /v Enabled /t REG_DWORD /d 1 /f  REG ADD "HKLMBROKENSYSTEMControlSet002ControlSecurityProvidersSCHANNELProtocolsTLS 1.1Server" /v Enabled /t REG_DWORD /d 1 /f  REG ADD "HKLMBROKENSYSTEMControlSet002ControlSecurityProvidersSCHANNELProtocolsTLS 1.2Server" /v Enabled /t REG_DWORD /d 1 /f 
  4. Включите NLA.Enable NLA:

    REM Enable NLA  REG ADD "HKLMBROKENSYSTEMControlSet001ControlTerminal ServerWinStationsRDP-Tcp" /v SecurityLayer /t REG_DWORD /d 1 /f  REG ADD "HKLMBROKENSYSTEMControlSet001ControlTerminal ServerWinStationsRDP-Tcp" /v UserAuthentication /t REG_DWORD /d 1 /f  REG ADD "HKLMBROKENSYSTEMControlSet001ControlTerminal ServerWinStationsRDP-Tcp" /v fAllowSecProtocolNegotiation /t REG_DWORD /d 1 /f  REG ADD "HKLMBROKENSYSTEMControlSet002ControlTerminal ServerWinStationsRDP-Tcp" /v SecurityLayer /t REG_DWORD /d 1 /f  REG ADD "HKLMBROKENSYSTEMControlSet002ControlTerminal ServerWinStationsRDP-Tcp" /v UserAuthentication /t REG_DWORD /d 1 /f  REG ADD "HKLMBROKENSYSTEMControlSet002ControlTerminal ServerWinStationsRDP-Tcp" /v fAllowSecProtocolNegotiation /t REG_DWORD /d 1 /f reg unload HKLMBROKENSYSTEM 
  5. Отключите диск ОС и повторно создайте виртуальную машину, а затем проверьте, устранена ли проблема.Detach the OS disk and recreate the VM, and then check whether the issue is resolved.

—>

Столкнулся со странным сообщением “Произошла внутренняя ошибка/ An internal error has occurred” при RDP подключении к недавно развернутому серверу RDSH на Windows Server 2012 R2 из Windows 10. Буквально вчера RDP подключение к серверу работало нормально, но после установки и настройки RemotApp приложений и перезагрузки сервера, я не могу удаленно подключиться к его рабочему столу. Служба Remote Desktop Services судя по всему работает, так как пароль пользователя при подключении запрашивается.

Как я понял, сообщение RDP консоли “Произошла внутренняя ошибка” может появляться в различных случаях и иметь совершенно различные причины, связанные как с сервером Remote Desktop, так и с клиентом. В этой статье я постарался собрать все варианты решения и сценарий, который помог мне.

proizoshla-vnutrennyaya-oshibka-pri-rdp-podklyuchenii-wi.png

В первую очередь, убедитесь, что на RDS сервере доступен RDP порт 3389, и подключение не блокируется файерволом (Test-NetConnection rdsserver –port 3389).

Изучив логи RDP подключений на удаленном RDS сервере, я не увидел никаких особенных ошибок. В журнале Microsoft-Windows-RemoteDesktopServices-RdpCoreTS/Operational видно, что RDP сессия создается:

The server accepted a new TCP connection from client 10.10.1.60:64379.Connection RDP-Tcp#3 createdНо потом без какой-либо ошибки RDP сеанс завершается:

The server has terminated main RDP connection with the client.The disconnect reason is 0

the-server-has-terminated-main-rdp-connection-with.png

Проверьте состояние службу Remote Desktop Services на удаленном сервере и перезапустите ее. Вы можете удаленно перезапустить службу через консоль Services.msc (Connect to another computer), но гораздо проще проверить состояние службы и перезапустить ее через PowerShell:

(Get-Service TermService -ComputerName msk-ts1).status

Служба запушена (Running), перезапустим ее:

Get-Service TermService -ComputerName msk-ts1| Restart-Service –force –verbose

perezapusk-sluzhby-termservice-remote-desktop-serv.png

Но проблему это не решило.

Какие еще варианты решения проблемы мне удалось найти в сети:

  1. Если у вас на удаленном сервере установлен КриптоПРО, он может быть источником проблем с rdp подключением. Попробуйте отключить проверку контрольных целостности файлов (проверки контрольных сумм) в КриптоПро через реестр. Перейдите в ветку реестра HKLMSYSTEMCurrentControlSetControlSession ManagerCProIntegrity и измените значение параметра CheckMode на . Перезагрузите сервер.
  2. Если в журнале событий TerminalServices-RemoteConnectionManager вы встретите событие с EventID 1057 (The RD Session Host Server has failed to create a new self signed certificate to be used for RD Session Host Server authentication on SSL connections), перейдите в каталог C:ProgramDataMicrosoftCryptoRSA, переименуйте папку Machinekeys в Machinekeys_bak и перезапустите службу TermService.
  3. Также нашел информацию, что RDP проблема “Произошла внутренняя ошибка” встречалась в Windows 10 1809, если на удаленном компьютере включена политика Configure H.264/AVC hardware encoding for Remote Desktop connections (находится в секции GPO: Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Remote Session Environment). Для решения этой проблемы достаточно отключить UDP протокол для RDP, создав в ветке реестра HKLMSOFTWAREPoliciesMicrosoftWindows NTTerminal ServicesClient параметр fClientDisableUDP со значением 1.

Ни один из рассмотренных выше сценариев не был применим в моем случае. Я совершенно случайно обнаружил, что с других компьютеров нет проблем с подключением к этому RDS серверу. Значить проблема только с моим компьютером, а не с сервером.

Я очистил историю RDP подключений в ветке HKEY_CURRENT_USERSoftwareMicrosoftTerminal Server ClientServers и сбросил кэш RDP в каталоге C:Users%Username%AppDataLocalMicrosoftTerminal Server ClientCache (перед удалением закройте все запущенные сеансы mstsc.exe):

del "C:Users%Username%AppDataLocalMicrosoftTerminal Server Clientcache"

ochiska-kesha-rdp-appdata-local-microsoft-terminal-s.png

После этого перезагрузил свой компьютер, и ошибка RDP подключения исчезла!

Используемые источники:

  • https://zametkiit.ru/2018/07/%d0%bf%d1%80%d0%be%d0%b1%d0%bb%d0%b5%d0%bc%d1%8b-%d1%81-rdp-%d0%b2-windows-10-1803/
  • https://docs.microsoft.com/ru-ru/azure/virtual-machines/troubleshooting/troubleshoot-rdp-internal-error
  • https://winitpro.ru/index.php/2019/09/18/proizoshla-vnutrennyaya-oshibka-rdp/

Обновлено 08.12.2022

rdp logoДобрый день! Уважаемые читатели и гости, IT блога Pyatilistnik.org. В прошлый раз мы с вами поговорили, про отложенный запуск служб в Windows, сегодня я хочу вам показать еще один не приятный момент в работе терминальных служб удаленного рабочего стола, а именно ошибка подключения «Произошла внутренняя ошибка«, после чего подключение разрывается. Такое я встречал уже в Windows Server 2012 R2 и 2016. Давайте разбираться в чем дело.

Описание проблемы

Есть сервер с операционной системой Windows Server 2012 R2, сотрудник пытается к нему подключиться, через классическую утилиту «Подключение к удаленному рабочему столу», в момент авторизации, выскакивает окно с ошибкой «Произошла внутренняя ошибка».

Произошла внутренняя ошибка

В английском варианте ошибка звучит вот так:

An internal error has occurred

An internal error has occurred

После этого у вас разрывается соединение. Когда мы видели моргающий экран по RDP, там хотя бы вы попадали на сервер и могли открыть диспетчер устройств, тут сразу все обрубается на корню. Давайте смотреть, что можно сделать.

🆘 Что есть в логах?

Если посмотреть журналы событий на удаленном сервере, куда вы пытаетесь подключиться, то там порядок событий будет такой:

События нужно искать в журнале Microsoft-Windows-RemoteDesktopServices-RdpCoreTS/Operational

  • 1️⃣ Первым будет идти событие ID 131 «The server accepted a new TCP connection from client IP-адрес:60050.». Тут вы увидите IP-адрес с которого идет попытка входа.

Event ID 131

  • 2️⃣ Далее событие ID 65 «Connection RDP-Tcp#11 created «.

Event ID 65

  • 3️⃣ Затем событие 141 «PerfCounter session started with instance ID 11». Тут сессии будет назначен ID.

Event ID 141

  • 4️⃣ За ним будет идти ID 142 «TCP socket READ operation failed, error 1236».

TCP socket READ operation failed, error 1236

  • 5️⃣ Потом вы увидите ID 72 «Interface method called: OnDisconnected»

ID 72

  • 6️⃣ И же после этого вам покажут, что сервер разорвал подключение: «ID 102 The server has terminated main RDP connection with the client.»

Event ID 102

  • 7️⃣ В событии ID 145 так же появляются подробности «During this connection, server has not sent data or graphics update for 0 seconds (Idle1: 0, Idle2: 0).».

Event ID 145

  • 8️⃣ Могут быть события с ID 148 «Channel rdpinpt has been closed between the server and the client on transport tunnel: 0.» или «Channel rdpcmd has been closed between the server and the client on transport tunnel: 0.» или «Channel rdplic has been closed between the server and the client on transport tunnel: 0.»
  • 9️⃣ Ну и вишенка на торте, ошибка  ID 227 «‘Failed to get property Disconnect Reason’ in CUMRDPConnection::Close at 2212 err=[0x80070057]»

Event ID 227

Исправляем ошибку «Произошла внутренняя ошибка»

Так как по RDP подключиться не получается, то первым делом нужно проверить отвечает ли порт, по умолчанию это 3389. О том, как проверить порт на удаленном сервере я вам описывал, там все сводилось к выполнению команды Telnet, ознакомьтесь. Если порт отвечает, то делаем следующее.

Нужно удаленно перезапустить службу на этом сервере, чтобы сам сервер не перезагружать, так как в этот момент, он может выполнять важные задачи, можно использовать утилиту «Управление компьютером». Открыть ее можно через команду вызова оснастки, вызываем окно «Выполнить», через одновременное нажатие клавиш WIN и R, в котором пишем:

Открываем compmgmt.msc

В открывшейся оснастке, щелкните в самом верху по пункту «Управление компьютером» правым кликом мыши, и выберите пункт «Подключиться к удаленному компьютеру».

Подключение к удаленному компьютеру

Выберите пункт «Другим компьютером» и укажите его DNS имя, или найдите его через кнопку обзор.

Нажимаем кнопку обзор

Когда вы подключитесь к нужному серверу, перейдите в пункт «Службы и приложения — Службы», в списке сервисов найдите службу удаленных рабочих столов (Remote Desktop Services), и перезапускаем ее. После этого ошибка подключения по RDP «Произошла внутренняя ошибка», у вас должна пропасть.

Перезапуск удаленной службы RDP

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

Get-Service TermService -ComputerName Имя сервера | Restart-Service –force –verbose

Дополнительные методы решения

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

Для этого в окне «Редактор реестра» пункт меню «Файл — Подключить сетевой реестр».

подключение к удаленному реестру

В открывшемся окне «Выбор компьютера» указываем его DNS-имя или ip-адрес и нажимаем ок. У вас будет установлено подключение к удаленному реестру сервера, что испытывает проблемы.

Произошла внутренняя ошибка-6

Находим ключ CheckMode по пути

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControl Session ManagerCProIntegrityCheckMode

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

Выставляем ему значение о, чтобы отключить у программы КриптоПРО CSP проверку контрольных сумм. Еще один важный момент, если у вас старая версия КриптоПРО, то это так же может быть источником, проблем, недавний пример, это ошибка «Windows installer service could not be accessed». Для этого удаляем правильно КриптоПРО CSP и ставим последнюю доступную версию.

Произошла внутренняя ошибка-7

Еще можно попробовать изменить значение вот такого ключа реестра:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControl Session ManagerMemory ManagementSessionImageSize

Найдите ключ SessionImageSize и задайте ему значение 0x00000020.

Дополнительные настройки RDP клиента

Например ошибка «An internal error has occurred» у меня встретилась на Windows Server 2022 и там мне помогло в настройках клиента RDP отключение некой опции. Перейдите в дополнительные настройки клиента для удаленного подключения, где н вкладке «Experiens (Взаимодействие)» вам нужно убрать галку с опции «Восстановить подключение при разрыве (Reconnect if the connection is droped)«

Восстановить подключение при разрыве (Reconnect if the connection is droped)

На каких-то сайтах предлагалось именно активировать данный пункт.

Удаление кэша подключений

Еще одним методом решения внутренней ошибки подключения по RDP может выступать поврежденный кэш, который хранится на локальном компьютере пользователя. Для его отображения вам необходимо включить отображение скрытых папок и удалить содержимое папки:

C:Usersимя пользователяAppDataLocalMicrosoftTerminal Server Client

внутренняя ошибка RDP

Обновление 07.12.2022

В декабре я вновь столкнулся с внутренней ошибкой, она еще стала проявлять себя вот так:

Не удается подключиться к удаленному компьютеру

Внутренняя ошибка

Произошла внутренняя ошибка. Код ошибки: 0x4. Расширенный код ошибки: 0x0

внутренняя ошибка rdp error 0x4

В логах сервера очень много ошибок:

Она возникает, при каждой попытке войти на рабочий стол, это и есть проблема в моем конкретном случае. Устраните ее, и ошибка с подключекнием уйдет. Перезагрузка не нужна.

Данная ошибка говорит, что на тот сертификат, что использует удаленный сервер, нет прав у самого сервера, подробности выше по ссылке

ошибка 0x8009030D

На клиентской машине откуда я пытался произвести подключение было три события:

ID 1024: Выполняется подключение RDP ClientActiveX к серверу (ter104)

ID 1024: Выполняется подключение RDP ClientActiveX к серверу

ID 1105: Мультитранспортное подключение разорвано.

Мультитранспортное подключение разорвано.

ID 1028: Отключение RDP ClientActiveX (Причина= 2308)

Код 2808 — Ваш сеанс служб удаленных рабочих столов завершен. Соединение с удаленным компьютером было потеряно, возможно, из-за проблем с сетевым подключением. Попробуйте снова подключиться к удаленному компьютеру. Если проблема не исчезнет, ​​обратитесь к сетевому администратору или в службу технической поддержки.

Отключение RDP ClientActiveX (Причина= 2308)

Так как у меня это была виртуальная машина, то я смог легко подключиться через консоль. В случае с ошибкой «Отключение RDP ClientActiveX (Причина= 2308)«, я отключил на сервере и клиенте autotuninglevel:

netsh interface tcp set global autotuninglevel=disabled

Не забываем перезагрузиться.

netsh interface tcp set global autotuninglevel=disabled

Это не помогло, далее я выполнил еще несколько рекомендаций. Я установил на сервер валидный SSL сертификат для RDP сессии. В ошибке 0x907, RDP соединение разрывалось, так как клиентская система не доверяла самоподписному сертификату удаленного сервера. Это нужно поправить, ссылку я указал, обязательно проверьте, кто сейчас выступает в роли активного:

Get-WmiObject «Win32_TSGeneralSetting» -Namespace rootcimv2terminalservices -Filter «TerminalName=’RDP-tcp'»

Еще я создал параметр реестра MaxOutstandingConnections. В Windows по умолчанию есть ограничения на количество сетевых подключений, так например в серверной версии, это параметр равен 3000, в десктопной 100. Из-за нестабильной сети, они могут быстро забиваться. Одно из решений проблемы с внутренней ошибкой подключения, является увеличение этого значения. В командной строке в режиме администратора выполните:

REG ADD «HKLMSYSTEMCurrentControlSetControlTerminal Server» /v MaxOutstandingConnections /t REG_DWORD /d 65536

New-ItemProperty -Path «HKLM:SYSTEMCurrentControlSetControlTerminal Server»

-Name MaxOutstandingConnections -Value 10000 -PropertyType DWORD -Force

Создание MaxOutstandingConnections

После этого нужно перезагрузиться.

Временное решение

Пока вы не уберете ошибку «Код ошибки, возвращенный модулем шифрования: ошибка 0x8009030D», описанную выше, вы можете понизить уровень безопасности вот такими манипуляциями, это устранит «An internal error has occurred».

На обычном сервере все это помогло, а вот на ноде RDSH ошибка оставалась. Тут я решил проверить догадку с уровнем безопасности «Configure security settings». На моей ферме был уровень «Согласования (Negotiate)«

Configure security settings

Я пошел на сервер, где были проблемы подключения и решил проверить один параметр локальной политики gpedit.msc.

Конфигурация компьютера — Административные шаблоны- Компоненты Windows — Службы удаленных рабочих столов — Узел сеансов удаленных рабочих столов — Безопасность — Требовать использование специального уровня безопасности для удаленных подключений по протоколу RDP

Тут попробуйте выставить уровень RDP. В результате у меня после этих настроек все заработало. Теперь нужно понять, что изменилось. В настройках RDS фермы указано, что мы используем уровень согласование:

* Согласование: метод согласования принудительно применяет самый безопасный метод, поддерживаемый клиентом. Если поддерживается протокол TLS версии 1.0, то он используется для проверки подлинности сервера узла сеансов удаленных рабочих столов. Если протокол TLS не поддерживается, то для обеспечения безопасности взаимодействий используется собственное шифрование протокола удаленного рабочего стола (RDP), но проверка подлинности сервера узла сеансов удаленных рабочих столов не выполняется. В отличие от SSL-шифрования, использовать собственное шифрование RDP не рекомендуется.

Выбор уровня безопасности

Если и это вам не помогло, то нужно смотреть вариант в сторону обновления или переустановки драйверов на сетевую карту, тут вы определяете модель вашей карты или материнской платы, если в нее все интегрировано и обновляете. С вами был Иван Семин, автор и создатель IT портала Pyatilistnik.org.

Дополнительные ссылки

  • https://serverfault.com/questions/934026/windows-10-pro-rdp-server-an-internal-error-has-occurred
  • https://social.technet.microsoft.com/Forums/en-US/e1d60cc0-0096-4859-a0e7-eb7f11905737/remote-desktop-v10-error-0x4-from-mac?forum=winRDc
  • https://learn.microsoft.com/en-us/answers/questions/108219/can-not-rdp-to-2012-r2-standard-server-after-septe.html
  • https://serverfault.com/questions/541364/how-to-fix-rdp-on-windows-server-2012

0 Пользователей и 1 Гость просматривают эту тему.

  • 8 Ответов
  • 66694 Просмотров

всем привет :)
переместил сайт из одного каталога другой и теперь, когда я пытаюсь из Админки редактировать компонент (Mighty Resources), то появляется сообщение:
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, lavrik_av@yahoo.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

к сожалению, доступа к логам ошибок нет.
может нужно кое-что подправить в настроечных файлах компонета?
кто-нить сталкивался с подобной проблемой?

заранее всем спасибо.

« Последнее редактирование: 11.02.2010, 15:01:46 от lexx006 »

Записан

как вариант проверь допуск к файлам. Сбрось его под фтп пользователя

Записан

Лучший ССК всех времен Cobalt

попробуй такой способ:
1. открыть htaccess.txt.
2. удалить «#» в строке # RewriteBase /
должно выглядеть так: RewriteBase /
3. загрузить htaccess.txt на сервер.
4. переименовать htaccess.txt в .htaccess
На http://gfx-line.com этот хак помог.

сорри, все оказалось намного проще. :)))))
просто .htaccess ссылся на друго каталог (старый)!

У меня тож такая проблем, и как эту ссылку исправить?

У меня тож такая проблем, и как эту ссылку исправить?

Если вы недавно перенесли сайт с одного сервера на другой, попробуйте проверить ваш .htaccess файл

2. удалить «#» в строке # RewriteBase /
должно выглядеть так: RewriteBase /

спасибо! помогло (zona-news.ru)

У меня та же проблема. RewriteBase / не помогло. Joomla 3

У меня та же проблема. RewriteBase / не помогло. Joomla 3

Такая же проблема была, тоже Joomla 3

Причина оказалась в хостинге, сменил хостинг и всё работает без ошибок.

Понравилась статья? Поделить с друзьями:

Читайте также:

  • An internal error has occurred please contact the support
  • An internal error has occurred mathcad
  • An internal error has occurred contact iit
  • An internal error has occurred code 9001 scanner driver will be terminated
  • An internal error has occurred check the event log for more information

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии