I'm trying to install CouchDB 2.0 on CentOS 6.8 and its running into this error, I'm not sure what is wrong.
Any ideas ??
This is the log:
Compiled src/couch_db.erl
Compiled src/couch_native_process.erl
Compiled src/couch_util.erl
Compiling /root/apache-couchdb-2.0.0/src/couch/priv/couch_js/http.c
/root/apache-couchdb-2.0.0/src/couch/priv/couch_js/http.c:18:19: warning: jsapi.h: No such file or directory
In file included from /root/apache-couchdb-2.0.0/src/couch/priv/couch_js/http.c:20:
priv/couch_js/utf8.h:16: error: expected ‘)’ before ‘*’ token
priv/couch_js/utf8.h:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from /root/apache-couchdb-2.0.0/src/couch/priv/couch_js/http.c:21:
priv/couch_js/util.h:25: error: expected specifier-qualifier-list before ‘JSString’
priv/couch_js/util.h:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
priv/couch_js/util.h:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
priv/couch_js/util.h:32: error: expected ‘)’ before ‘*’ token
priv/couch_js/util.h:33: error: expected ‘)’ before ‘*’ token
priv/couch_js/util.h:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘couch_load_funcs’
/root/apache-couchdb-2.0.0/src/couch/priv/couch_js/http.c:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘http_ctor’
/root/apache-couchdb-2.0.0/src/couch/priv/couch_js/http.c:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘http_dtor’
/root/apache-couchdb-2.0.0/src/couch/priv/couch_js/http.c:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘http_open’
/root/apache-couchdb-2.0.0/src/couch/priv/couch_js/http.c:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘http_set_hdr’
/root/apache-couchdb-2.0.0/src/couch/priv/couch_js/http.c:65: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘http_send’
/root/apache-couchdb-2.0.0/src/couch/priv/couch_js/http.c:72: error: expected ‘)’ before ‘*’ token
/root/apache-couchdb-2.0.0/src/couch/priv/couch_js/http.c:78: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘http_uri’
ERROR: compile failed while processing /root/apache-couchdb-2.0.0/src/couch: rebar_abort
make: *** [couch] Error 1
Thank you
Its because jsapi.h by default its on /usr/local/include/js/
Try compiling SpiderMonkey with prefix on /usr like this:
./configure --prefix=/usr && make && make install
And compile couchdb again.
Related
I'm trying to build a web front end of a fabric-network, and after I completed the registerAdmin and registerUser, I got err when I was tring to run my js code.
root#oyu-virtual-machine:~/hyperledger-fabric/test/webapp# node get.js
Load privateKey and signedCert
Get History
Assigning transaction_id: 35e9ed932366df66448d789fbf5989e6ba31be555f96eaca3197475a1602749c
E0429 15:09:28.130483373 4413 ssl_transport_security.cc:1245] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.
returned from gethistory
Gethistory result count = 1
error from gethistory = Error: 14 UNAVAILABLE: failed to connect to all addresses
at Object.exports.createStatusError (/root/hyperledger-fabric/test/webapp/node_modules/fabric-client/node_modules/grpc/src/common.js:91:15)
at Object.onReceiveStatus (/root/hyperledger-fabric/test/webapp/node_modules/fabric-client/node_modules/grpc/src/client_interceptors.js:1209:28)
at InterceptingListener._callNext (/root/hyperledger-fabric/test/webapp/node_modules/fabric-client/node_modules/grpc/src/client_interceptors.js:568:42)
at InterceptingListener.onReceiveStatus (/root/hyperledger-fabric/test/webapp/node_modules/fabric-client/node_modules/grpc/src/client_interceptors.js:618:8)
at callback (/root/hyperledger-fabric/test/webapp/node_modules/fabric-client/node_modules/grpc/src/client_interceptors.js:847:24) {
code: 14,
metadata: Metadata { _internal_repr: {}, flags: 0 },
details: 'failed to connect to all addresses'
}
Response is Error: 14 UNAVAILABLE: failed to connect to all addresses
In my opinion, the most important message is
E0429 15:09:28.130483373 4413 ssl_transport_security.cc:1245] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.
It's not generated by my code, but system generated it.
I do hope someone could help me. Thanks in advance.
After updating Android studio 3.2.1. i am facing above issue
i had go through com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource compilation failed after updating android studio but no useful.
Previously i have faced Build errors after Android Studio 3.2.1 upgrade issue after adding this lines project level gridle iam getting above issue
buildscript {
repositories {
google() // <--here
}
}
allprojects {
repositories {
google() // <-- here
}
}
This is the Error log :
com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
Output: warn: removing resource com.viotalk:string/account_settings_confirm_password without required default value.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3510: error: style attribute 'attr/attr/color_text_primary (aka com.viotalk:attr/attr/color_text_primary)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3511: error: style attribute 'attr/attr/color_text_secondary (aka com.viotalk:attr/attr/color_text_secondary)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3513: error: style attribute 'attr/attr/color_background_primary (aka com.viotalk:attr/attr/color_background_primary)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3514: error: style attribute 'attr/attr/color_background_secondary (aka com.viotalk:attr/attr/color_background_secondary)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3516: error: style attribute 'attr/attr/infocard_border (aka com.viotalk:attr/attr/infocard_border)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3517: error: style attribute 'attr/attr/divider (aka com.viotalk:attr/attr/divider)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3519: error: style attribute 'attr/attr/ic_send_cancel_offline (aka com.viotalk:attr/attr/ic_send_cancel_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3520: error: style attribute 'attr/attr/ic_send_location_offline (aka com.viotalk:attr/attr/ic_send_location_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3521: error: style attribute 'attr/attr/ic_send_photo_offline (aka com.viotalk:attr/attr/ic_send_photo_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3522: error: style attribute 'attr/attr/ic_send_picture_offline (aka com.viotalk:attr/attr/ic_send_picture_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3523: error: style attribute 'attr/attr/ic_send_text_offline (aka com.viotalk:attr/attr/ic_send_text_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3524: error: style attribute 'attr/attr/ic_send_voice_offline (aka com.viotalk:attr/attr/ic_send_voice_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3526: error: style attribute 'attr/attr/ic_attach_camera (aka com.viotalk:attr/attr/ic_attach_camera)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3527: error: style attribute 'attr/attr/ic_attach_document (aka com.viotalk:attr/attr/ic_attach_document)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3528: error: style attribute 'attr/attr/ic_attach_location (aka com.viotalk:attr/attr/ic_attach_location)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3529: error: style attribute 'attr/attr/ic_attach_photo (aka com.viotalk:attr/attr/ic_attach_photo)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3530: error: style attribute 'attr/attr/ic_attach_record (aka com.viotalk:attr/attr/ic_attach_record)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3532: error: style attribute 'attr/attr/icon_add_group (aka com.viotalk:attr/attr/icon_add_group)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3533: error: style attribute 'attr/attr/icon_add_person (aka com.viotalk:attr/attr/icon_add_person)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3534: error: style attribute 'attr/attr/icon_cancel (aka com.viotalk:attr/attr/icon_cancel)' not found.
Command: /Users/user/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.1-4818971-osx.jar/bde3fad980e487b411c5a0ae6f8ff6d1/aapt2-3.2.1-4818971-osx/aapt2 link -I\
/Users/user/Library/Android/sdk/platforms/android-28/android.jar\
--manifest\
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/merged_manifests/debug/processDebugManifest/merged/AndroidManifest.xml\
-o\
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/processed_res/debug/processDebugResources/out/resources-debug.ap_\
-R\
#/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/processDebugResources/resources-list-for-resources-debug.ap_.txt\
--auto-add-overlay\
--java\
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/generated/not_namespaced_r_class_sources/debug/processDebugResources/r\
--proguard-main-dex\
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/legacy_multidex_aapt_derived_proguard_rules/debug/processDebugResources/manifest_keep.txt\
--custom-package\
com.viotalk\
-0\
apk\
--output-text-symbols\
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/symbols/debug/R.txt\
--no-version-vectors
Daemon: AAPT2 aapt2-3.2.1-4818971-osx Daemon #0
Output: warn: removing resource com.viotalk:string/account_settings_confirm_password without required default value.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/color_text_primary (aka com.viotalk:attr/attr/color_text_primary)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/color_text_secondary (aka com.viotalk:attr/attr/color_text_secondary)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/color_background_primary (aka com.viotalk:attr/attr/color_background_primary)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/color_background_secondary (aka com.viotalk:attr/attr/color_background_secondary)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/infocard_border (aka com.viotalk:attr/attr/infocard_border)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/divider (aka com.viotalk:attr/attr/divider)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/ic_send_cancel_offline (aka com.viotalk:attr/attr/ic_send_cancel_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/ic_send_location_offline (aka com.viotalk:attr/attr/ic_send_location_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/ic_send_photo_offline (aka com.viotalk:attr/attr/ic_send_photo_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/ic_send_picture_offline (aka com.viotalk:attr/attr/ic_send_picture_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/ic_send_text_offline (aka com.viotalk:attr/attr/ic_send_text_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/ic_send_voice_offline (aka com.viotalk:attr/attr/ic_send_voice_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/ic_attach_camera (aka com.viotalk:attr/attr/ic_attach_camera)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/ic_attach_document (aka com.viotalk:attr/attr/ic_attach_document)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/ic_attach_location (aka com.viotalk:attr/attr/ic_attach_location)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/ic_attach_photo (aka com.viotalk:attr/attr/ic_attach_photo)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/ic_attach_record (aka com.viotalk:attr/attr/ic_attach_record)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/icon_add_group (aka com.viotalk:attr/attr/icon_add_group)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/icon_add_person (aka com.viotalk:attr/attr/icon_add_person)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/icon_cancel (aka com.viotalk:attr/attr/icon_cancel)' not found.
Command: /Users/user/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.1-4818971-osx.jar/bde3fad980e487b411c5a0ae6f8ff6d1/aapt2-3.2.1-4818971-osx/aapt2 link -I\
/Users/user/Library/Android/sdk/platforms/android-28/android.jar\
--manifest\
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/merged_manifests/debug/processDebugManifest/merged/AndroidManifest.xml\
-o\
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/processed_res/debug/processDebugResources/out/resources-debug.ap_\
-R\
#/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/processDebugResources/resources-list-for-resources-debug.ap_.txt\
--auto-add-overlay\
--java\
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/generated/not_namespaced_r_class_sources/debug/processDebugResources/r\
--proguard-main-dex\
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/legacy_multidex_aapt_derived_proguard_rules/debug/processDebugResources/manifest_keep.txt\
--custom-package\
com.viotalk\
-0\
apk\
--output-text-symbols\
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/symbols/debug/R.txt\
--no-version-vectors
Daemon: AAPT2 aapt2-3.2.1-4818971-osx Daemon #0
at com.android.build.gradle.internal.res.Aapt2ErrorUtils.rewriteException(Aapt2ErrorUtils.kt:97)
at com.android.build.gradle.internal.res.Aapt2ErrorUtils.rewriteLinkException(Aapt2ErrorUtils.kt:73)
at com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask.invokeAaptForSplit(LinkApplicationAndroidResourcesTask.java:527)
at com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask.doFullTaskAction(LinkApplicationAndroidResourcesTask.java:275)
at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(IncrementalTask.java:106)
at sun.reflect.GeneratedMethodAccessor616.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
at org.gradle.api.internal.project.taskfactory.IncrementalTaskAction.doExecute(IncrementalTaskAction.java:50)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:124)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:113)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:95)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:73)
at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:256)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:249)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:238)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:123)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:79)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:104)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:98)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:663)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:597)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:98)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
Output: warn: removing resource com.viotalk:string/account_settings_confirm_password without required default value.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3510: error: style attribute 'attr/attr/color_text_primary (aka com.viotalk:attr/attr/color_text_primary)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3511: error: style attribute 'attr/attr/color_text_secondary (aka com.viotalk:attr/attr/color_text_secondary)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3513: error: style attribute 'attr/attr/color_background_primary (aka com.viotalk:attr/attr/color_background_primary)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3514: error: style attribute 'attr/attr/color_background_secondary (aka com.viotalk:attr/attr/color_background_secondary)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3516: error: style attribute 'attr/attr/infocard_border (aka com.viotalk:attr/attr/infocard_border)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3517: error: style attribute 'attr/attr/divider (aka com.viotalk:attr/attr/divider)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3519: error: style attribute 'attr/attr/ic_send_cancel_offline (aka com.viotalk:attr/attr/ic_send_cancel_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3520: error: style attribute 'attr/attr/ic_send_location_offline (aka com.viotalk:attr/attr/ic_send_location_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3521: error: style attribute 'attr/attr/ic_send_photo_offline (aka com.viotalk:attr/attr/ic_send_photo_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3522: error: style attribute 'attr/attr/ic_send_picture_offline (aka com.viotalk:attr/attr/ic_send_picture_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3523: error: style attribute 'attr/attr/ic_send_text_offline (aka com.viotalk:attr/attr/ic_send_text_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3524: error: style attribute 'attr/attr/ic_send_voice_offline (aka com.viotalk:attr/attr/ic_send_voice_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3526: error: style attribute 'attr/attr/ic_attach_camera (aka com.viotalk:attr/attr/ic_attach_camera)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3527: error: style attribute 'attr/attr/ic_attach_document (aka com.viotalk:attr/attr/ic_attach_document)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3528: error: style attribute 'attr/attr/ic_attach_location (aka com.viotalk:attr/attr/ic_attach_location)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3529: error: style attribute 'attr/attr/ic_attach_photo (aka com.viotalk:attr/attr/ic_attach_photo)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3530: error: style attribute 'attr/attr/ic_attach_record (aka com.viotalk:attr/attr/ic_attach_record)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3532: error: style attribute 'attr/attr/icon_add_group (aka com.viotalk:attr/attr/icon_add_group)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3533: error: style attribute 'attr/attr/icon_add_person (aka com.viotalk:attr/attr/icon_add_person)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3534: error: style attribute 'attr/attr/icon_cancel (aka com.viotalk:attr/attr/icon_cancel)' not found.
Command: /Users/user/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.1-4818971-osx.jar/bde3fad980e487b411c5a0ae6f8ff6d1/aapt2-3.2.1-4818971-osx/aapt2 link -I\
/Users/user/Library/Android/sdk/platforms/android-28/android.jar\
--manifest\
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/merged_manifests/debug/processDebugManifest/merged/AndroidManifest.xml\
-o\
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/processed_res/debug/processDebugResources/out/resources-debug.ap_\
-R\
#/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/processDebugResources/resources-list-for-resources-debug.ap_.txt\
--auto-add-overlay\
--java\
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/generated/not_namespaced_r_class_sources/debug/processDebugResources/r\
--proguard-main-dex\
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/legacy_multidex_aapt_derived_proguard_rules/debug/processDebugResources/manifest_keep.txt\
--custom-package\
com.viotalk\
-0\
apk\
--output-text-symbols\
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/symbols/debug/R.txt\
--no-version-vectors
Daemon: AAPT2 aapt2-3.2.1-4818971-osx Daemon #0
at com.android.builder.internal.aapt.v2.Aapt2DaemonImpl.doLink(Aapt2DaemonImpl.kt:177)
at com.android.builder.internal.aapt.v2.Aapt2Daemon.link(Aapt2Daemon.kt:103)
at com.android.builder.internal.aapt.v2.Aapt2DaemonManager$LeasedAaptDaemon.link(Aapt2DaemonManager.kt:176)
at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:823)
at com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask.invokeAaptForSplit(LinkApplicationAndroidResourcesTask.java:525)
... 49 more
Please help me ?
I'm doing http request using request.js, and I have run my program for a very long time this is the first time got this kind of error, it seems related to openssl and TLS issue. Does anybody have idea?
2017-02-20T14:27:34.330Z - error: Error: write EPROTO 140125135710016:error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number:../deps/openssl/openssl/ssl/s3_pkt.c:365:
at exports._errnoException (util.js:1022:11)
at WriteWrap.afterWrite (net.js:801:14) 2017-02-20T14:27:34.332Z - warn: worker warning, msg={"code":"EPROTO","errno":"EPROTO","syscall":"write"}
2017-02-20T14:27:34.348Z - error: uncaughtException: Cannot read property 'getNegotiatedProtocol' of null ,
version=v6.9.5,
argv=[/usr/bin/nodejs, /home/bda/tm/worker.js],rss=234672128, heapTotal=135876608, heapUsed=107730496, loadavg=[0.43798828125, 0.5263671875, 0.53857421875], uptime=906959,
trace=[column=36, file=_tls_wrap.js, function=TLSSocket._finishInit, line=588, method=_finishInit, native=false, column=38, file=_tls_wrap.js, function=TLSWrap.ssl.onhandshakedone, line=433, method=ssl.onhandshakedone, native=false], stack=[TypeError: Cannot read property 'getNegotiatedProtocol' of null, at TLSSocket._finishInit (_tls_wrap.js:588:36), at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:433:38)]
For several months, I use ParseServer on azure without problems but since a few hours I'm getting this error:
> 2017-02-01T09:23:51.925Z - Uncaught internal server error. { [MongoError: Message: {"Errors":["Encountered exception while executing Javascript. Exception = Error: Invalid argument. Query root must be specified.\r\nStack trace: Error: Invalid argument. Query root must be specified.\n at commonUpdate (.sys.commonUpdate.js:2288:17)\n at docDbMain (.sys.commonUpdate.js:4:5)\n at Global code (.sys.commonUpdate.js:1:2)"]}
ActivityId: 3a721634-0000-0000-0000-000000000000, Request URI: rntbd://10.100.100.77:14000/apps/f8a35ed9-3dea-410f-a89a-28650ff41381/services/ab284460-dfd9-4fc6-8366-48ae5708818e/partitions/a108a897-4a3c-44f0-aa7d-477d08f77d67/replicas/131193282907353114p]
name: 'MongoError',
message: 'Message: {"Errors":["Encountered exception while executing Javascript. Exception = Error: Invalid argument. Query root must be specified.\r\nStack trace: Error: Invalid argument. Query root must be specified.\n at commonUpdate (.sys.commonUpdate.js:2288:17)\n at docDbMain (.sys.commonUpdate.js:4:5)\n at Global code (.sys.commonUpdate.js:1:2)"]}\r\nActivityId: 3a721634-0000-0000-0000-000000000000, Request URI: rntbd://10.100.100.77:14000/apps/f8a35ed9-3dea-410f-a89a-28650ff41381/services/ab284460-dfd9-4fc6-8366-48ae5708818e/partitions/a108a897-4a3c-44f0-aa7d-477d08f77d67/replicas/131193282907353114p',
_t: 'OKMongoResponse',
ok: 0,
code: 2,
errmsg: 'Message: {"Errors":["Encountered exception while executing Javascript. Exception = Error: Invalid argument. Query root must be specified.\r\nStack trace: Error: Invalid argument. Query root must be specified.\n at commonUpdate (.sys.commonUpdate.js:2288:17)\n at docDbMain (.sys.commonUpdate.js:4:5)\n at Global code (.sys.commonUpdate.js:1:2)"]}\r\nActivityId: 3a721634-0000-0000-0000-000000000000, Request URI: rntbd://10.100.100.77:14000/apps/f8a35ed9-3dea-410f-a89a-28650ff41381/services/ab284460-dfd9-4fc6-8366-48ae5708818e/partitions/a108a897-4a3c-44f0-aa7d-477d08f77d67/replicas/131193282907353114p',
'$err': 'Message: {"Errors":["Encountered exception while executing Javascript. Exception = Error: Invalid argument. Query root must be specified.\r\nStack trace: Error: Invalid argument. Query root must be specified.\n at commonUpdate (.sys.commonUpdate.js:2288:17)\n at docDbMain (.sys.commonUpdate.js:4:5)\n at Global code (.sys.commonUpdate.js:1:2)"]}\r\nActivityId: 3a721634-0000-0000-0000-000000000000, Request URI: rntbd://10.100.100.77:14000/apps/f8a35ed9-3dea-410f-a89a-28650ff41381/services/ab284460-dfd9-4fc6-8366-48ae5708818e/partitions/a108a897-4a3c-44f0-aa7d-477d08f77d67/replicas/131193282907353114p' } MongoError: Message: {"Errors":["Encountered exception while executing Javascript. Exception = Error: Invalid argument. Query root must be specified.\r\nStack trace: Error: Invalid argument. Query root must be specified.\n at commonUpdate (.sys.commonUpdate.js:2288:17)\n at docDbMain (.sys.commonUpdate.js:4:5)\n at Global code (.sys.commonUpdate.js:1:2)"]}
ActivityId: 3a721634-0000-0000-0000-000000000000, Request URI: rntbd://10.100.100.77:14000/apps/f8a35ed9-3dea-410f-a89a-28650ff41381/services/ab284460-dfd9-4fc6-8366-48ae5708818e/partitions/a108a897-4a3c-44f0-aa7d-477d08f77d67/replicas/131193282907353114p
at Function.MongoError.create (D:\home\site\wwwroot\node_modules\parse-server\node_modules\mongodb\node_modules\mongodb-core\lib\error.js:31:11)
at D:\home\site\wwwroot\node_modules\parse-server\node_modules\mongodb\node_modules\mongodb-core\lib\connection\pool.js:462:72
at authenticateStragglers (D:\home\site\wwwroot\node_modules\parse-server\node_modules\mongodb\node_modules\mongodb-core\lib\connection\pool.js:410:16)
at null.messageHandler (D:\home\site\wwwroot\node_modules\parse-server\node_modules\mongodb\node_modules\mongodb-core\lib\connection\pool.js:444:5)
at TLSSocket. (D:\home\site\wwwroot\node_modules\parse-server\node_modules\mongodb\node_modules\mongodb-core\lib\connection\connection.js:306:22)
at emitOne (events.js:77:13)
at TLSSocket.emit (events.js:169:7)
at readableAddChunk (_stream_readable.js:153:18)
at TLSSocket.Readable.push (_stream_readable.js:111:10)
at TLSWrap.onread (net.js:536:20)
2017-02-01T09:23:51.925Z - Error generating response. { [MongoError: Message: {"Errors":["Encountered exception while executing Javascript. Exception = Error: Invalid argument. Query root must be specified.\r\nStack trace: Error: Invalid argument. Query root must be specified.\n at commonUpdate (.sys.commonUpdate.js:2288:17)\n at docDbMain (.sys.commonUpdate.js:4:5)\n at Global code (.sys.commonUpdate.js:1:2)"]}
ActivityId: 3a721634-0000-0000-0000-000000000000, Request URI: rntbd://10.100.100.77:14000/apps/f8a35ed9-3dea-410f-a89a-28650ff41381/services/ab284460-dfd9-4fc6-8366-48ae5708818e/partitions/a108a897-4a3c-44f0-aa7d-477d08f77d67/replicas/131193282907353114p]
name: 'MongoError',
message: 'Message: {"Errors":["Encountered exception while executing Javascript. Exception = Error: Invalid argument. Query root must be specified.\r\nStack trace: Error: Invalid argument. Query root must be specified.\n at commonUpdate (.sys.commonUpdate.js:2288:17)\n at docDbMain (.sys.commonUpdate.js:4:5)\n at Global code (.sys.commonUpdate.js:1:2)"]}\r\nActivityId: 3a721634-0000-0000-0000-000000000000, Request URI: rntbd://10.100.100.77:14000/apps/f8a35ed9-3dea-410f-a89a-28650ff41381/services/ab284460-dfd9-4fc6-8366-48ae5708818e/partitions/a108a897-4a3c-44f0-aa7d-477d08f77d67/replicas/131193282907353114p',
_t: 'OKMongoResponse',
ok: 0,
code: 2,
errmsg: 'Message: {"Errors":["Encountered exception while executing Javascript. Exception = Error: Invalid argument. Query root must be specified.\r\nStack trace: Error: Invalid argument. Query root must be specified.\n at commonUpdate (.sys.commonUpdate.js:2288:17)\n at docDbMain (.sys.commonUpdate.js:4:5)\n at Global code (.sys.commonUpdate.js:1:2)"]}\r\nActivityId: 3a721634-0000-0000-0000-000000000000, Request URI: rntbd://10.100.100.77:14000/apps/f8a35ed9-3dea-410f-a89a-28650ff41381/services/ab284460-dfd9-4fc6-8366-48ae5708818e/partitions/a108a897-4a3c-44f0-aa7d-477d08f77d67/replicas/131193282907353114p',
'$err': 'Message: {"Errors":["Encountered exception while executing Javascript. Exception = Error: Invalid argument. Query root must be specified.\r\nStack trace: Error: Invalid argument. Query root must be specified.\n at commonUpdate (.sys.commonUpdate.js:2288:17)\n at docDbMain (.sys.commonUpdate.js:4:5)\n at Global code (.sys.commonUpdate.js:1:2)"]}\r\nActivityId: 3a721634-0000-0000-0000-000000000000, Request URI: rntbd://10.100.100.77:14000/apps/f8a35ed9-3dea-410f-a89a-28650ff41381/services/ab284460-dfd9-4fc6-8366-48ae5708818e/partitions/a108a897-4a3c-44f0-aa7d-477d08f77d67/replicas/131193282907353114p' }
I've deploy parse server and the DB using the tools brought by Microsoft (https://github.com/felixrieseberg/parse-server-azure).
I encountered the problem on parse server version 2.3.1 and 2.3.2. What I do not understand is that the problem has appeared suddenly on a release (2.3.1) that has worked well until now.
The Azure team should have published a fix. I'm no longer seeing the crashes.
When I run an application in the Azure emulator using SDK 2.0 I get the following errors repeated again and again in the console output. The error below states "Insufficient system resources..." but it's the only thing running on my dev machine which has a 6 core Xeon, 32 GB Ram, and plenty of HDD space.Also, I don't see anything in the Windows event viewer. What is causing these errors?
[MonAgentHost] Error: MA EVENT: 2013-07-13T12:49:53.944Z
[MonAgentHost] Error: 2
[MonAgentHost] Error: 12640
[MonAgentHost] Error: 12644
[MonAgentHost] Error: EtwListener
[MonAgentHost] Error: 0
[MonAgentHost] Error: 12c939f8-b82a-48fc-bb30-cc66717
[MonAgentHost] Error: etw.cpp
[MonAgentHost] Error: EtwListener::StartRealTimeSession
[MonAgentHost] Error: 3605
[MonAgentHost] Error: 0
[MonAgentHost] Error: 5aa
[MonAgentHost] Error: Insufficient system resources exist to complete the requested service.
[MonAgentHost] Error: ERROR:EnableTraceEx() to enable provider failed
[MonAgentHost] Error: MA EVENT: 2013-07-13T12:49:53.944Z
[MonAgentHost] Error: 2
[MonAgentHost] Error: 12640
[MonAgentHost] Error: 12644
[MonAgentHost] Error: EtwListener
[MonAgentHost] Error: 0
[MonAgentHost] Error: 12c939f8-b82a-48fc-bb30-cc66717
[MonAgentHost] Error: etw.cpp
[MonAgentHost] Error: EtwListener::SetupEventing
[MonAgentHost] Error: 1876
[MonAgentHost] Error: ffffffff80010008
[MonAgentHost] Error: 0
[MonAgentHost] Error:
[MonAgentHost] Error: Failed to start the etw real time user session
[MonAgentHost] Error: MA EVENT: 2013-07-13T12:49:53.944Z
[MonAgentHost] Error: 2
[MonAgentHost] Error: 12640
[MonAgentHost] Error: 12644
[MonAgentHost] Error: EtwListener
[MonAgentHost] Error: 0
[MonAgentHost] Error: 12c939f8-b82a-48fc-bb30-cc66717
[MonAgentHost] Error: etw.cpp
[MonAgentHost] Error: EtwListener::Start
[MonAgentHost] Error: 1758
[MonAgentHost] Error: ffffffff80010008
[MonAgentHost] Error: 0
[MonAgentHost] Error:
[MonAgentHost] Error: Failed to start event tracing
[MonAgentHost] Error: MA EVENT: 2013-07-13T12:49:53.944Z
[MonAgentHost] Error: 2
[MonAgentHost] Error: 12640
[MonAgentHost] Error: 12644
[MonAgentHost] Error: MonAgent
[MonAgentHost] Error: 0
[MonAgentHost] Error: 12c939f8-b82a-48fc-bb30-cc66717
[MonAgentHost] Error: monagent.cpp
[MonAgentHost] Error: MonAgent::InitializeEtw
[MonAgentHost] Error: 1303
[MonAgentHost] Error: ffffffff80010008
[MonAgentHost] Error: 0
[MonAgentHost] Error:
[MonAgentHost] Error: Error: Failed to start ETW providers
[MonAgentHost] Error: MA EVENT: 2013-07-13T12:49:53.944Z
[MonAgentHost] Error: 2
[MonAgentHost] Error: 12640
[MonAgentHost] Error: 12644
[MonAgentHost] Error: MonAgent
[MonAgentHost] Error: 0
[MonAgentHost] Error: 12c939f8-b82a-48fc-bb30-cc66717
[MonAgentHost] Error: monagent.cpp
[MonAgentHost] Error: MonAgent::InitializeForStart
[MonAgentHost] Error: 221
[MonAgentHost] Error: ffffffff80010008
[MonAgentHost] Error: 0
[MonAgentHost] Error:
[MonAgentHost] Error: Failed to start the ETW providers
[MonAgentHost] Error: MA EVENT: 2013-07-13T12:49:53.944Z
[MonAgentHost] Error: 2
[MonAgentHost] Error: 12640
[MonAgentHost] Error: 12644
[MonAgentHost] Error: MonAgent
[MonAgentHost] Error: 0
[MonAgentHost] Error: 12c939f8-b82a-48fc-bb30-cc66717
[MonAgentHost] Error: monagent.cpp
[MonAgentHost] Error: MonAgent::Start
[MonAgentHost] Error: 2215
[MonAgentHost] Error: ffffffff80010008
[MonAgentHost] Error: 0
[MonAgentHost] Error:
[MonAgentHost] Error: Failed initialize agent sub-components
Here is my service definition:
<WorkerRole name="SPS.Azure.FooService" vmsize="Small">
<Imports>
<Import moduleName="Diagnostics" />
<Import moduleName="RemoteAccess" />
<Import moduleName="RemoteForwarder" />
</Imports>
<ConfigurationSettings>
<Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.Level" />
</ConfigurationSettings>
</WorkerRole>
Here is my service configuration:
<Role name="SPS.Azure.FooService">
<Instances count="1" />
<ConfigurationSettings>
<Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="UseDevelopmentStorage=true" />
<Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.Level" value="Verbose" />
<Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.Enabled" value="true" />
<Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountUsername" value="ausername" />
<Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountEncryptedPassword" value="apassword" />
<Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountExpiration" value="2014-05-10T23:59:59.0000000-04:00" />
<Setting name="Microsoft.WindowsAzure.Plugins.RemoteForwarder.Enabled" value="true" />
</ConfigurationSettings>
</Role>
Here is my wadcfg file:
<?xml version="1.0" encoding="utf-8"?>
<DiagnosticMonitorConfiguration configurationChangePollInterval="PT1M" overallQuotaInMB="4096" xmlns="http://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration">
<DiagnosticInfrastructureLogs />
<Directories>
<IISLogs container="wad-iis-logfiles" />
<CrashDumps container="wad-crash-dumps" />
</Directories>
<Logs bufferQuotaInMB="1024" scheduledTransferPeriod="PT1M" scheduledTransferLogLevelFilter="Verbose" />
<WindowsEventLog bufferQuotaInMB="1024" scheduledTransferPeriod="PT1M" scheduledTransferLogLevelFilter="Verbose">
<DataSource name="Application!*" />
</WindowsEventLog>
</DiagnosticMonitorConfiguration>
And here is my diagnostics config in my App.config file:
<system.diagnostics>
<trace>
<listeners>
<add type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" name="AzureDiagnostics">
<filter type=""/>
</add>
</listeners>
</trace>
</system.diagnostics>
I had been having the same exact problem all week. As a shot in the dark, I deleted the entire contents of AppData\Local\dftmp under c:\Users\MyAccount, and I haven't seen the error message again yet.
If you click on a deployment in Azure Compute Emulator and click "Tools" -> "Open local store...", AppData\Local\dftmp is the folder it takes you to.
Clearing the ETW event sessions seemed to fix the problem for me.
1) To see active sessions run:
Logman -ets
2) Stop main devFabric session:
Logman stop devFabric.mainSession -ets
3) For each MA_ETWSESSION entry from first query run something similar to this:
logman stop MA_ETWSESSION_MACHINE23_deployment23(1).CloudProductName.ServicePortal_IN_1 -ets