PouchDB Sync Error 500 / Couch DB 'Unknown peer' - couchdb

When my local pouchdb is performing an initial (i.e. long) replication from a remote couchdb, I sometimes get an Error Code 500 (Database encountered an unknown error) on my client - midway through the replication process.
If I look at the server logs I see :
[error] [<0.1304.0>] Unknown peer: {error,enotconn} for #Port<0.4817>
[error] [<0.1195.0>] Unknown peer: {error,enotconn} for #Port<0.4812>
[error] [<0.1314.0>] Unknown peer: {error,enotconn} for #Port<0.4826>
[error] [<0.1063.0>] Unknown peer: {error,enotconn} for #Port<0.4813>
Anyone seen anything like tis before ?
Restarting the client by closing the tab entirely (sometimes more than once) results in the replication completing successfully.

Related

Oracle SQL Developer Status Error Failure -Test failed: IO Error: The Network Adapter could not establish the connection on linux (Ubuntu)

I recently switched to ubuntu and when I installed and tried to create a connection on Oracle SQL Developers 22.2.1 I get a error
Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection
Ive tried changing the ports and switching between JDK 19,17 and 11 non of them seem to fix the error, all the guides that i can find on this error seem to be specifically for windows.
any help is appreciated and apologies if I have couldnt explain my problem clearly.
Testing connection of server should produce successful but its giving Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection

Logstash - java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit Error in Logstash

Click on below link to see my logstash code
Following is the error
ERROR] 2019-10-04 16:17:13.918 [Converge PipelineAction::Create]
jdbc - Unknown setting 'jbdc_password' for jdbc [ERROR] 2019-10-04
16:17:13.924 [Converge PipelineAction::Create] agent - Failed to
execute
action{:action=>LogStash::PipelineAction::Create/pipeline_id:main,
:exception=>"Java::JavaLang::IllegalStateException", :message=>"Unable
to configure plugins: (ConfigurationError) Something is wrong with
your configuration.",
:backtrace=>["org.logstash.config.ir.CompiledPipeline.(CompiledPipeline.java:100)",
"org.logstash.execution.JavaBasePipelineExt.initialize(JavaBasePipelineExt.java:60)",
"org.logstash.execution.JavaBasePipelineExt$INVOKER$i$1$0$initialize.call(JavaBasePipelineExt$INVOKER$i$1$0$initialize.gen)",
"org.jruby.internal.runtime.methods.JavaMethod$JavaMethodN.call(JavaMethod.java:837)",
"org.jruby.ir.runtime.IRRuntimeHelpers.instanceSuper(IRRuntimeHelpers.java:1156)",
"org.jruby.ir.runtime.IRRuntimeHelpers.instanceSuperSplatArgs(IRRuntimeHelpers.java:1143)",
"org.jruby.ir.targets.InstanceSuperInvokeSite.invoke(InstanceSuperInvokeSite.java:39)",
"usr.share.logstash.logstash_minus_core.lib.logstash.java_pipeline.RUBY$method$initialize$0(/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:26)",
"org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:91)",
"org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:90)",
"org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)",
"org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:86)",
"org.jruby.RubyClass.newInstance(RubyClass.java:915)",
"org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)",
"org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:183)",
"usr.share.logstash.logstash_minus_core.lib.logstash.pipeline_action.create.RUBY$method$execute$0(/usr/share/logstash/logstash-core/lib/logstash/pipeline_action/create.rb:36)",
"usr.share.logstash.logstash_minus_core.lib.logstash.pipeline_action.create.RUBY$method$execute$0$VARARGS(/usr/share/logstash/logstash-core/lib/logstash/pipeline_action/create.rb)",
"org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:91)",
"org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:90)",
"org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:183)",
"usr.share.logstash.logstash_minus_core.lib.logstash.agent.RUBY$block$converge_state$2(/usr/share/logstash/logstash-core/lib/logstash/agent.rb:326)",
"org.jruby.runtime.CompiledIRBlockBody.callDirect(CompiledIRBlockBody.java:136)",
"org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:77)",
"org.jruby.runtime.Block.call(Block.java:129)",
"org.jruby.RubyProcenter code here.call(RubyProc.java:295)",
"org.jruby.RubyProc.call(RubyProc.java:274)",
"org.jruby.RubyProc.call(RubyProc.java:270)",
"org.jruby.internal.runtime.RubyRunnable.run(RubyRunnable.java:105)",
"java.base/java.lang.Thread.run(Thread.java:834)"]} warning: thread
"Converge PipelineAction::Create" terminated with exception
(report_on_exception is true): LogStash::Error: Don't know how to
handle Java::JavaLang::IllegalStateException for
PipelineAction::Create<main> create at
org/logstash/execution/ConvergeResultExt.java:109add at
org/logstash/execution/ConvergeResultExt.java:37 converge_state at
/usr/share/logstash/logstash-core/lib/logstash/agent.rb:339 [ERROR]
2019-10-04 16:17:13.930 [Agent thread] agent - An exception happened
when converging configuration {:exception=>LogStash::Error,
:message=>"Don't know how to handle
Java::JavaLang::IllegalStateException for
PipelineAction::Create<main>",
:backtrace=>["org/logstash/execution/ConvergeResultExt.java:109:in
create'", "org/logstash/execution/ConvergeResultExt.java:37:in
add'",
"/usr/share/logstash/logstash-core/lib/logstash/agent.rb:339:in block
in converge_state'"]} [FATAL] 2019-10-04 16:17:13.949
[LogStash::Runner] runner - An unexpected error occurred!
{:error=>#<LogStash::Error: Don't know how to handle
Java::JavaLang::IllegalStateExceptionfor
PipelineAction::Create>,
:backtrace=>["org/logstash/execution/ConvergeResultExt.java:109:in
create'", "org/logstash/execution/ConvergeResultExt.java:37:in
add'",
"/usr/share/logstash/logstash-core/lib/logstash/agent.rb:339:inblock
in converge_state'"]} [ERROR] 2019-10-04 16:17:13.988
[LogStash::Runner] Logstash - java.lang.IllegalStateException:
Logstash stopped processing because of an error: (SystemExit) exit
Unknown setting 'jbdc_password' for jdbc
That should be jdbc_password, not jbdc_password.

Error reading from 192.168.1.164:44214: rpc error: code = Canceled desc = context canceled

i got this error when i am trying to connect peers running in different machines .I found this error in docker logs of orderer.There is an error in docker logs of peer2 running in different machine
Failed obtaining connection: Could not connect to any of the endpoints: [orderer.example.com:7050]
You can find the orderer.yaml file at fabric-samples/config folder.
Going through the fields and their respective comments in orderer.yaml and core.yaml can help you to understand the method of configuring the network(orderer/peer).
And here you can get the info related to TLS.

Chef-server-ctl reconfigure/ Creating Admin User on chef server

I am fairly new to Linux (and brand new to chef) and I have ran into an issue when setting up my chef server. I am trying to create an admin user with the command
sudo chef-server-ctl user-create admin Admin Ladmin admin#example.com
examplepass -f admin.pem
but after I keep getting this error:
ERROR: Connection refused connecting...
ERROR: Connection refused connecting to https://127.0.0.1/users/, retry 5/5
ERROR: Network Error: Connection refused - Connection refused
connecting to https://..., giving up
Check your knife configuration and network settings
I also noticed that when I ran chef-server-ctl I got this output:
[2016-12-21T13:24:59-05:00] ERROR: Running exception handlers Running
handlers complete
[2016-12-21T13:24:59-05:00] ERROR: Exception
handlers complete Chef Client failed. 0 resources updated in 01 seconds
[2016-12-21T13:24:59-05:00] FATAL: Stacktrace dumped to
/var/opt/opscode/local-mode-cache/chef-stacktrace.out
[2016-12-21T13:24:59-05:00] FATAL: Please provide the contents of the
stacktrace.out file if you file a bug report
[2016-12-21T13:24:59-05:00] FATAL:
Chef::Exceptions::CannotDetermineNodeName: Unable to determine node
name: configure node_name or configure the system's hostname and fqdn
I read that this error is due to a prerequisite mistake but I'm uncertain as to what it means or how to fix it. So any input would be greatly appreciated.
Your server does not have a valid FQDN (aka full host name). You'll have to fix this before installing Chef server.

Failed to fetch drpc result

I've this problem with supervisor:
DRPCSpout [ERROR] Failed to fetch DRPC result from DRPC server
org.apache.thrift7.transport.TTransportException: java.net.ConnectException:
Connection refused
What are data? If you need that, I can share it here.

Resources