The plugin encountered an error, and failed to respond to the │ plugin.(*GRPCProvider) [closed] - grpc

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 days ago.
Improve this question
while running terraform apply i am getting below error , terraform plan works fine
2023-02-02T10:02:00.111Z [ERROR] plugin.(*GRPCProvider).ApplyResourceChange: error="rpc error: code = Unavailable desc = error reading from server: read unix #->/tmp/plugin940446731: read: connection reset by peer"
2023-02-02T10:02:00.111Z [ERROR] plugin.(*GRPCProvider).ApplyResourceChange: error="rpc error: code = Unavailable desc = error reading from server: read unix #->/tmp/plugin940446731: read: connection reset by peer"
2023-02-02T10:02:00.111Z [ERROR] plugin.(*GRPCProvider).ApplyResourceChange: error="rpc error: code = Unavailable desc = error reading from server: read unix #->/tmp/plugin940446731: read: connection reset by peer"
2023-02-02T10:02:00.113Z [ERROR] vertex "module.graphqlapi_app.azurerm_app_service_plan.this" error: Plugin did not respond
2023-02-02T10:02:00.111Z [ERROR] plugin.(*GRPCProvider).ApplyResourceChange: error="rpc error: code = Unavailable desc = error reading from server: read unix #->/tmp/plugin940446731: read: connection reset by peer"
2023-02-02T10:02:00.113Z [ERROR] vertex "module.processor_pimcg_app.azurerm_app_service_plan.this" error: Plugin did not respond
2023-02-02T10:02:00.114Z [ERROR] vertex "module.log_analytics_workspace.azurerm_log_analytics_workspace.this" error: Plugin did not respond
2023-02-02T10:02:00.115Z [ERROR] vertex "module.processors_eventhub.azurerm_eventhub.this["eventhub"]" error: Plugin did not respond
╷
The plugin encountered an error, and failed to respond to the
│ plugin.(*GRPCProvider).ApplyResourceChange call. The plugin logs may
│ contain more details.
Error: The terraform-provider-azurerm_v2.98.0_x5 plugin crashed!
This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.
i need assistance from grpc plugin maintenance as it is clearly asking to check from grpc team
since terraform plan returned expected output i was expecting terraform apply to be executed smoothly but this is first time i have encountered this plugin crash error

Related

SFTP On New or Update throws error Pipe close

I'm using the "On New or Update" source of the Mule 4 SFTP Connector, to process files from an SFTP server directory. The process works fine, however while reading the last file the SFTP connector throws an error as shown below and the file remains in directory waiting next schedule time to be picked up and the same thing will happen for the last file of other new set of files.
Any thoughts on how to fix this issue?
ERROR:
11:20:45.315 05/04/2022 Worker-0 [MuleRuntime].uber.27: [sftp-demo-app].prcsACKFiles-Error-SuccessFlow.CPU_INTENSIVE #1648077b ERROR
event:c458bc90-cbbd-11ec-85e2-06a565d43154
********************************************************************************
Message : "org.mule.weave.v2.module.reader.ReaderParsingException: org.mule.runtime.api.exception.MuleRuntimeException - Exception was found trying to retrieve the contents of file /home/messages/file_8ddb7674.json
org.mule.runtime.api.exception.MuleRuntimeException: Exception was found trying to retrieve the contents of file /home/messages/file_8ddb7674.json
at org.mule.extension.sftp.internal.connection.SftpClient.exception(SftpClient.java:427)
at org.mule.extension.sftp.internal.connection.SftpClient.exception(SftpClient.java:423)
at org.mule.extension.sftp.internal.connection.SftpClient.getFileContent(SftpClient.java:349)
at org.mule.extension.sftp.internal.connection.SftpFileSystem.retrieveFileContent(SftpFileSystem.java:117)
at org.mule.extension.sftp.internal.SftpInputStream$SftpFileInputStreamSupplier.getContentInputStream(SftpInputStream.java:111)
at org.mule.extension.sftp.internal.SftpInputStream$SftpFileInputStreamSupplier.getContentInputStream(SftpInputStream.java:93)
at org.mule.extension.file.common.api.AbstractConnectedFileInputStreamSupplier.getContentInputStream(AbstractConnectedFileInputStreamSupplier.java:81)
at org.mule.extension.file.common.api.AbstractFileInputStreamSupplier.get(AbstractFileInputStreamSupplier.java:65)
at org.mule.extension.file.common.api.AbstractFileInputStreamSupplier.get(AbstractFileInputStreamSupplier.java:33)
at org.mule.extension.file.common.api.stream.LazyStreamSupplier.lambda$new$1(LazyStreamSupplier.java:29)
at org.mule.extension.file.common.api.stream.LazyStreamSupplier.get(LazyStreamSupplier.java:42)
at org.mule.extension.file.common.api.stream.AbstractNonFinalizableFileInputStream.lambda$createLazyStream$0(AbstractNonFinalizableFileInputStream.java:48)
at $java.io.InputStream$$EnhancerByCGLIB$$55e4687e.read(<generated>)
at org.apache.commons.io.input.ProxyInputStream.read(ProxyInputStream.java:102)
at org.mule.runtime.core.internal.streaming.bytes.AbstractInputStreamBuffer.consumeStream(AbstractInputStreamBuffer.java:111)
at com.mulesoft.mule.runtime.core.internal.streaming.bytes.FileStoreInputStreamBuffer.consumeForwardData(FileStoreInputStreamBuffer.java:239)
at com.mulesoft.mule.runtime.core.internal.streaming.bytes.FileStoreInputStreamBuffer.consumeForwardData(FileStoreInputStreamBuffer.java:202)
at com.mulesoft.mule.runtime.core.internal.streaming.bytes.FileStoreInputStreamBuffer.doGet(FileStoreInputStreamBuffer.java:125)
at org.mule.runtime.core.internal.streaming.bytes.AbstractInputStreamBuffer.get(AbstractInputStreamBuffer.java:93)
at org.mule.runtime.core.internal.streaming.bytes.BufferedCursorStream.assureDataInLocalBuffer(BufferedCursorStream.java:126)
at org.mule.runtime.core.internal.streaming.bytes.BufferedCursorStream.doRead(BufferedCursorStream.java:101)
at org.mule.runtime.core.internal.streaming.bytes.AbstractCursorStream.read(AbstractCursorStream.java:124)
at org.mule.runtime.core.internal.streaming.bytes.BufferedCursorStream.read(BufferedCursorStream.java:26)
at java.io.InputStream.read(InputStream.java:101)
at org.mule.runtime.core.internal.streaming.bytes.ManagedCursorStreamDecorator.read(ManagedCursorStreamDecorator.java:96)
at org.mule.weave.v2.el.SeekableCursorStream.read(MuleTypedValue.scala:306)
at org.mule.weave.v2.module.reader.UTF8StreamSourceReader.handleBOM(SeekableStreamSourceReader.scala:179)
at org.mule.weave.v2.module.reader.UTF8StreamSourceReader.readAscii(SeekableStreamSourceReader.scala:163)
at org.mule.weave.v2.module.json.reader.JsonTokenizer.$init$(JsonTokenizer.scala:21)
at org.mule.weave.v2.module.json.reader.indexed.IndexedJsonTokenizer.<init>(IndexedJsonTokenizer.scala:15)
at org.mule.weave.v2.module.json.reader.indexed.IndexedJsonParser.parser(IndexedJsonParser.scala:17)
at org.mule.weave.v2.module.json.reader.JsonReader.readValue(JsonReader.scala:40)
at org.mule.weave.v2.module.json.reader.JsonReader.doRead(JsonReader.scala:30)
at org.mule.weave.v2.module.reader.Reader.read(Reader.scala:35)
at org.mule.weave.v2.module.reader.Reader.read$(Reader.scala:33)
at org.mule.weave.v2.module.json.reader.JsonReader.read(JsonReader.scala:20)
at org.mule.weave.v2.el.MuleTypedValue.value(MuleTypedValue.scala:147)
at org.mule.weave.v2.model.values.wrappers.DelegateValue.valueType(DelegateValue.scala:17)
at org.mule.weave.v2.model.values.wrappers.DelegateValue.valueType$(DelegateValue.scala:16)
at org.mule.weave.v2.el.MuleTypedValue.valueType(MuleTypedValue.scala:177)
at org.mule.weave.v2.model.types.ObjectType$.accepts(Type.scala:1068)
Caused by: org.mule.extension.sftp.api.SftpConnectionException: Error occurred while trying to connect to host
... 112 more
Caused by: org.mule.runtime.api.connection.ConnectionException:
at org.mule.extension.sftp.api.SftpConnectionException.<init>(SftpConnectionException.java:38)
... 112 more
Caused by: org.mule.runtime.api.connection.ConnectionException:
... 112 more
Caused by: 4:
at com.jcraft.jsch.ChannelSftp.get(ChannelSftp.java:1540)
at com.jcraft.jsch.ChannelSftp.get(ChannelSftp.java:1290)
at org.mule.extension.sftp.internal.connection.SftpClient.getFileContent(SftpClient.java:347)
... 110 more
Caused by: java.io.IOException: Pipe closed
Error Pipe closed in SFTP indicates a communication error that the SFTP connector can not resolve, so the operation fails. I don't believe that there is anything that you can do about that. You might try to test a newer version of the connector if you are using an older one, just in case.

Firebase function won't launch [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 1 year ago.
Improve this question
Hi I'm developping a little API with firebase's functions. Everything worked great until today for no reason. When I'm trying to launch the server I get this error
Error: An unexpected error has occurred.
It says to go see firebase-debug.log. At the end of the file I have this:
[debug] [2021-11-18T13:27:28.923Z] TypeError: Cannot read properties of undefined (reading 'rows')
at new Table (C:\Users\Isai\AppData\Roaming\npm\node_modules\firebase-tools\node_modules\cli-table\lib\index.js:51:15)
at Command.actionFn (C:\Users\Isai\AppData\Roaming\npm\node_modules\firebase-tools\lib\commands\emulators-start.js:47:33)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
[error]
[error] Error: An unexpected error has occurred.
After trying to uninstall it and install it again the error is still the same.
Does someone know what it's causing the error please ?
I fix this big checking if options was defined in the index.js at line 51 but I don't know what cause it at the first place

BizTalk 2013 R2 CU 8 instalaltion [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
While installing the Microsoft BizTalk Server 2013 R2 Cumulative update 8 to one BizTalk group, the setup fails because of some issue in MQSeries and Microsoft.BizTalk.GlobalPropertySchemas. No errors or issues could be spotted at the Event log. Even on another BizTalk server (with almost identical installation) was successful. Please refer to the log information below. Please share tips what to investigate.
Creating Process to execute script: "C:\Windows\system32\cmd.exe" /c BtsDeploySystemAssemblyTask.exe /assembly:MQSeries /version:3.0.1.0 HRESULT=0
Execution of Script "C:\Windows\system32\cmd.exe" /c BtsDeploySystemAssemblyTask.exe /assembly:MQSeries /version:3.0.1.0 failed. HRESULT=0x80004005
****************************** Processing MQSeries migration from Registry to Database ******************************
Server = SQL\BTS Database = BizTalkMgmtDb
Taking Backup of tables
Getting Id of MQSeries
SQL Exception occured. An error occured while adding MQSeries
Incorrect Assembly no. and/or Version no. mentioned. Exiting.
Incorrect Assembly no. and/or Version no. mentioned. Exiting.
HRESULT=0
Failed to apply patch. HRESULT=0x80004005
Apply patch: Server="SQL\BTS", Database="BizTalkMgmtDb", Script="C:\ProgramData\Microsoft\E-Business Servers Updates\Updates\Uninstall4052527\CAWrapper.exe".
"C:\ProgramData\Microsoft\E-Business Servers Updates\Updates\Uninstall4052527\CAWrapper.exe" 2 3.11.297.2 SQL\BTS BizTalkMgmtDb EXE "BtsDeploySystemAssemblyTask.exe /assembly:Microsoft.BizTalk.GlobalPropertySchemas" HRESULT=0
Creating Process to execute script: "C:\ProgramData\Microsoft\E-Business Servers Updates\Updates\Uninstall4052527\CAWrapper.exe" 2 3.11.297.2 SQL\BTS BizTalkMgmtDb EXE "BtsDeploySystemAssemblyTask.exe /assembly:Microsoft.BizTalk.GlobalPropertySchemas" HRESULT=0
Execution of Script "C:\ProgramData\Microsoft\E-Business Servers Updates\Updates\Uninstall4052527\CAWrapper.exe" 2 3.11.297.2 SQL\BTS BizTalkMgmtDb EXE "BtsDeploySystemAssemblyTask.exe /assembly:Microsoft.BizTalk.GlobalPropertySchemas" failed. HRESULT=0x80004005
CAWrapper: Argument count: 6
CAWrapper: cuNum: 2, btsVer: 3.11.297.2, servername: SQL\BTS, databasename: BizTalkMgmtDb, command: EXE
CAWrapper: cmdArg#0: BtsDeploySystemAssemblyTask.exe /assembly:Microsoft.BizTalk.GlobalPropertySchemas
CAWrapper: Entering isDbVersionLower
CAWrapper: Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=BizTalkMgmtDb;Data Source=SQL\BTS
CAWrapper: No DB Version info found so assuming DB Version is lower.
CAWrapper: DB Version in SQL\BTS, BizTalkMgmtDb is lower so need to run command.
CAWrapper: Entering callEXE
CAWrapper: Calling BtsDeploySystemAssemblyTask.exe with args /assembly:Microsoft.BizTalk.GlobalPropertySchemas
****************************** Processing Microsoft.BizTalk.GlobalPropertySchemas migration from Registry to Database ******************************
Server = SQL\BTS Database = BizTalkMgmtDb
Taking Backup of tables
Getting Id of Microsoft.BizTalk.GlobalPropertySchemas
SQL Exception occured. An error occured while adding Microsoft.BizTalk.GlobalPropertySchemas
Multiple entries of assembly available. Version is not mentioned
Multiple entries of assembly available. Version is not mentioned
CAWrapper: Call to BtsDeploySystemAssemblyTask.exe returned
CAWrapper: Failure calling BM.exe. ExitCode was 1
CAWrapper: Exiting...
HRESULT=0
Failed to apply patch. HRESULT=0x80004005
Abort distributed transaction.
Failed to patch one or more BizTalk databases. See log for details. (HRESULT=0x80004005)
The custom action returned -2147467259.
One of the custom actions failed. The installation cannot continue. See log for details.
After some investigation with SQL Profiler on the BizTalk management database (BizTalkMgmtDb) I found some duplicate records present in bts_assembly. After removing the duplicate ones (wich do not have references to bts_item table) the CU was installed without any issue.

Error in deploy my application Symfony [duplicate]

This question already has answers here:
Moving app to production mode in Symfony 2
(5 answers)
Closed 8 years ago.
I am trying to deploy my code on the server.
I followed these steps:
clear cache
update vendor
add configuration of my remote database
change the value of access cache and log
But I'm getting this error:
Fatal error: Uncaught exception 'Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException' with message 'You have requested a non-existent parameter "kernel.debug".' in /home/public_html/demo/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ParameterBag/ParameterBag.php:106
Stack trace: #0 /home/public_html/demo/app/bootstrap.php.cache(1959): Symfony\Component\DependencyInjection\ParameterBag\ParameterBag->get('kernel.debug')
#1 /home/public_html/demo/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/FrameworkBundle.php(85): Symfony\Component\DependencyInjection\Container->getParameter('kernel.debug')
#2 /home/public_html/demo/app/bootstrap.php.cache(2562): Symfony\Bundle\FrameworkBundle\FrameworkBundle->build(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#3 /home/public_html/demo/app/bootstrap.php.cache(2542): Symfony\Component\HttpKernel\Kernel->prepareContainer(Object(Symfony\Component\DependencyInjection\ContainerBuilde in /home/public_html/demo/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ParameterBag/ParameterBag.php on line 106
As you can see, this error is being thrown in bootstrap.php.cache.
Symfony uses a bootstrap file to improve class loading performance, as documented here. However, you presumably copied this file over from your development environment, and it hasn't yet been regenerated for production.
You will need to regenerate this file either by running composer install or by running the build script directly: php ./vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Resources/bin/build_bootstrap.php

Uncaught exception in PassengerServer client thread

on a CentOS Linux release 6.0 (Final), I've this problem with passenger 3.0.9:
[ pid=3332 thr=16838960 file=abstract_request_handler.rb:466 time=2011-11-16 23:54:10.795 ]: Accepting new request on main socket
[ pid=2894 thr=139811053770496 file=ext/nginx/HelperAgent.cpp:933 time=2011-11-16 23:54:10.958 ]: Uncaught exception in PassengerServer client thread:
exception: write() failed: Connection reset by peer (104)
backtrace:
in 'void Client::forwardResponse(Passenger::SessionPtr&, Passenger::FileDescriptor&, const Passenger::AnalyticsLogPtr&)' (HelperAgent.cpp:705)
in 'void Client::handleRequest(Passenger::FileDescriptor&)' (HelperAgent.cpp:859)
in 'void Client::threadMain()' (HelperAgent.cpp:952)
[ pid=4135 thr=16838960 file=abstract_request_handler.rb:466 time=2011-11-16 23:54:12.710 ]: Accepting new request on main socket
What can be? Im sure my app works well because on others machines haven't problems, I tried also passenger edge and latest nginx. The app is a 2.3.11 rails application.
Found myself, we need to remove proxy_temp files, this probably because upgrading from a version of nginx to another break somethings. So my solution (for now):
rm -rf /etc/nginx/proxy_temp/*
What is the maximum number of open files allowed on your system? You can check that using ulimit -n. Could you please check if increasing that value in /etc/sysctl.conf helps you?

Resources