Comments (4)
request info
Request URL:https://xxx/belphegor/belphegor/api.rpc
Request Method:POST
Status Code:200 OK
Remote Address:xxx443
Response Headers
view source
Connection:keep-alive
Content-Disposition:attachment
Content-Encoding:gzip
Content-Length:182
Content-Type:application/json;charset=utf-8
Date:Fri, 31 Mar 2017 14:52:49 GMT
Server:nginx/1.11.5
X-Content-Type-Options:nosniff
X-Frame-Options:SAMEORIGIN
X-XSS-Protection:1; mode=block
Request Headers
view source
Accept:*/*
Accept-Encoding:gzip, deflate, br
Accept-Language:en-US,en;q=0.8
Connection:keep-alive
Content-Length:517
Content-Type:text/x-gwt-rpc; charset=UTF-8
...
User-Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/56.0.2924.76 Chrome/56.0.2924.76 Safari/537.36
X-GWT-Module-Base:https://xxxxxxxxxxx/belphegor/belphegor/
X-GWT-Permutation:8953B3E39A1895FFE458D7FD4A0C5054
Request Payload
7|0|8|https://xxxxxxxxx/belphegor/belphegor/|3601531DxxxxxxxxxA009F52ED307F9|org.iplantc.de.shared.services.DEService|getServiceData|org.iplantc.de.shared.services.ServiceCallWrapper/1670665327|{"deleted":false,"name":"aaa","attributes":[{"required":false,"description":"Test","name":"Attribute0.4566206809746085","type":"String"}]}|http://xxxxxxx:6000/admin/filesystem/metadata/templates|org.iplantc.de.shared.services.BaseServiceCallWrapper$Type/482079673|1|2|3|4|1|5|5|6|7|0|8|2|
from de.
in DE core error message
{"error_code":"ERR_ILLEGAL_ARGUMENT","reason":{"attributes":[{"type":"(not (#{} :String))"}]}}
from de.
replay
rrain"}
Apr 3 09:15:44 dsai-de-svcs metadata[1056]: {"@timestamp":"2017-04-03T09:15:44.559-04:00","@Version":1,"message":"POST /admin/templates","loggerName":"AccessLogger","thread":"qtp1650914876-17","level":"INFO","HOSTNAME":"f479dac2541b","request":"{"ssl-client-cert":null,"protocol":"HTTP/1.1","remote-addr":"192.168.1.1","params":{"user":"testde8","deleted":false,"name":"test1","attributes":[{"required":false,"description":"Test data","name":"experiment","type":"String"}]},"body-params":{"deleted":false,"name":"test1","attributes":[{"required":false,"description":"Test data","name":"experiment","type":"String"}]},"headers":{"connection":"close","user-agent":"Apache-HttpClient/4.5 (Java/1.8.0_74)","host":"dsai-de-svcs.edc.renci.org:5016","accept-encoding":"gzip, deflate","content-length":"128","content-type":"application/json"},"server-port":5016,"content-length":128,"form-params":{},"query-params":{"user":"testde8"},"content-type":"application/json","character-encoding":"UTF-8","uri":"/admin/templates","server-name":"dsai-de-svcs.edc.renci.org","query-string":"user=testde8","scheme":"http","request-method":"post"}","group-id":"org.iplantc","art-id":"metadata","service":"metadata","user-info":"{"user":"testde8"}","desc":"The REST API for the Discovery Environment Metadata services.","app-name":"metadata","service":"metadata"}
Apr 3 09:15:44 dsai-de-svcs metadata[1056]: {"@timestamp":"2017-04-03T09:15:44.575-04:00","@Version":1,"message":"POST /admin/templates","loggerName":"AccessLogger","thread":"qtp1650914876-17","level":"ERROR","stack_trace":"clojure.lang.ExceptionInfo: throw+: #schema.utils.ErrorContainer{:error {:attributes [{:type (not (#{} :String))}]}, :type :compojure.api.exception/request-validation}\n\tat metadata.routes.templates$fn__11386$fn__11395.invoke(templates.clj:46) ~[na:na]\n\tat compojure.core$make_route$fn__1814.invoke(core.clj:130) ~[na:na]\n\tat compojure.core$wrap_route_middleware$fn__1810.invoke(core.clj:118) ~[na:na]\n\tat compojure.core$if_route$fn__1782.invoke(core.clj:41) ~[na:na]\n\tat compojure.core$if_method$fn__1774.invoke(core.clj:27) ~[na:na]\n\tat compojure.api.meta$body_coercer_middleware$fn__9279.invoke(meta.clj:62) ~[na:na]\n\tat compojure.core$routing$fn__1821.invoke(core.clj:144) ~[na:na]\n\tat clojure.core$some.invoke(core.clj:2570) ~[metadata-standalone.jar:na]\n\tat compojure.core$routing.doInvoke(core.clj:144) ~[na:na]\n\tat clojure.lang.RestFn.applyTo(RestFn.java:139) [metadata-standalone.jar:na]\n\tat clojure.core$apply.invoke(core.clj:632) ~[metadata-standalone.jar:na]\n\tat compojure.core$routes$fn__1825.invoke(core.clj:149) ~[na:na]\n\tat compojure.core$routing$fn__1821.invoke(core.clj:144) ~[na:na]\n\tat clojure.core$some.invoke(core.clj:2570) ~[metadata-standalone.jar:na]\n\tat compojure.core$routing.doInvoke(core.clj:144) ~[na:na]\n\tat clojure.lang.RestFn.invoke(RestFn.java:423) [metadata-standalone.jar:na]\n\tat metadata.routes.templates$fn__11386.invoke(templates.clj:36) ~[na:na]\n\tat compojure.core$if_context$fn__1883.invoke(core.clj:211) ~[na:na]\n\tat compojure.core$routing$fn__1821.invoke(core.clj:144) ~[na:na]\n\tat clojure.core$some.invoke(core.clj:2570) ~[metadata-standalone.jar:na]\n\tat compojure.core$routing.doInvoke(core.clj:144) ~[na:na]\n\tat clojure.lang.RestFn.applyTo(RestFn.java:139) [metadata-standalone.jar:na]\n\tat clojure.core$apply.invoke(core.clj:632) ~[metadata-standalone.jar:na]\n\tat compojure.core$routes$fn__1825.invoke(core.clj:149) ~[na:na]\n\tat clojure.lang.AFn.applyToHelper(AFn.java:154) [metadata-standalone.jar:na]\n\tat clojure.lang.AFn.applyTo(AFn.java:144) [metadata-standalone.jar:na]\n\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:29) [metadata-standalone.jar:na]\n\tat clojure.lang.RestFn.invoke(RestFn.java:408) [metadata-standalone.jar:na]\n\tat clojure.lang.Var.invoke(Var.java:379) ~[metadata-standalone.jar:na]\n\tat compojure.core$routing$fn__1821.invoke(core.clj:144) ~[na:na]\n\tat clojure.core$some.invoke(core.clj:2570) ~[metadata-standalone.jar:na]\n\tat compojure.core$routing.doInvoke(core.clj:144) ~[na:na]\n\tat clojure.lang.RestFn.applyTo(RestFn.java:139) [metadata-standalone.jar:na]\n\tat clojure.core$apply.invoke(core.clj:632) ~[metadata-standalone.jar:na]\n\tat compojure.core$routes$fn__1825.invoke(core.clj:149) ~[na:na]\n\tat service_logging.middleware$wrap_logging$fn__1954.invoke(middleware.clj:84) ~[na:na]\n\tat service_logging.middleware$add_user_to_context$fn__1966.invoke(middleware.clj:111) ~[na:na]\n\tat ring.middleware.keyword_params$wrap_keyword_params$fn__6001.invoke(keyword_params.clj:35) [na:na]\n\tat clojure_commons.lcase_params$wrap_lcase_params$fn__54.invoke(lcase_params.clj:18) ~[na:na]\n\tat clojure_commons.query_params$wrap_query_params$fn__131.invoke(query_params.clj:62) ~[na:na]\n\tat service_logging.middleware$clean_context$fn__1949.invoke(middleware.clj:72) ~[na:na]\n\tat compojure.core$routing$fn__1821.invoke(core.clj:144) ~[na:na]\n\tat clojure.core$some.invoke(core.clj:2570) ~[metadata-standalone.jar:na]\n\tat compojure.core$routing.doInvoke(core.clj:144) ~[na:na]\n\tat clojure.lang.RestFn.applyTo(RestFn.java:139) [metadata-standalone.jar:na]\n\tat clojure.core$apply.invoke(core.clj:632) ~[metadata-standalone.jar:na]\n\tat compojure.core$routes$fn__1825.invoke(core.clj:149) ~[na:na]\n\tat clojure.lang.AFn.applyToHelper(AFn.java:154) [metadata-standalone.jar:na]\n\tat clojure.lang.AFn.applyTo(AFn.java:144) [metadata-standalone.jar:na]\n\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:29) [metadata-standalone.jar:na]\n\tat clojure.lang.RestFn.invoke(RestFn.java:408) [metadata-standalone.jar:na]\n\tat ring.middleware.http_response$wrap_http_response$fn__5965.invoke(http_response.clj:8) ~[na:na]\n\tat ring.swagger.middleware$wrap_swagger_data$fn__8479.invoke(middleware.clj:33) ~[na:na]\n\tat compojure.api.middleware$wrap_options$fn__8721.invoke(middleware.clj:93) [na:na]\n\tat ring.middleware.format_params$wrap_format_params$fn__5112.invoke(format_params.clj:117) ~[na:na]\n\tat ring.middleware.format_params$wrap_format_params$fn__5112.invoke(format_params.clj:119) ~[na:na]\n\tat ring.middleware.format_params$wrap_format_params$fn__5112.invoke(format_params.clj:119) ~[na:na]\n\tat ring.middleware.format_params$wrap_format_params$fn__5112.invoke(format_params.clj:119) ~[na:na]\n\tat ring.middleware.format_params$wrap_format_params$fn__5112.invoke(format_params.clj:119) ~[na:na]\n\tat compojure.api.middleware$wrap_exceptions$fn__8710.invoke(middleware.clj:59) ~[na:na]\n\tat ring.middleware.format_response$wrap_format_response$fn__5869.invoke(format_response.clj:183) [na:na]\n\tat ring.middleware.keyword_params$wrap_keyword_params$fn__6001.invoke(keyword_params.clj:35) [na:na]\n\tat ring.middleware.nested_params$wrap_nested_params$fn__6051.invoke(nested_params.clj:84) [na:na]\n\tat ring.middleware.params$wrap_params$fn__6135.invoke(params.clj:64) [na:na]\n\tat compojure.api.middleware$wrap_options$fn__8721.invoke(middleware.clj:93) [na:na]\n\tat clojure.lang.AFn.applyToHelper(AFn.java:154) [metadata-standalone.jar:na]\n\tat clojure.lang.AFn.applyTo(AFn.java:144) [metadata-standalone.jar:na]\n\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:29) [metadata-standalone.jar:na]\n\tat clojure.lang.RestFn.invoke(RestFn.java:408) [metadata-standalone.jar:na]\n\tat ring.adapter.jetty$proxy_handler$fn__23760.invoke(jetty.clj:24) [na:na]\n\tat ring.adapter.jetty.proxy$org.eclipse.jetty.server.handler.AbstractHandler$ff19274a.handle(Unknown Source) [na:na]\n\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) [metadata-standalone.jar:na]\n\tat org.eclipse.jetty.server.Server.handle(Server.java:497) [metadata-standalone.jar:na]\n\tat org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310) [metadata-standalone.jar:na]\n\tat org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) [metadata-standalone.jar:na]\n\tat org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540) [metadata-standalone.jar:na]\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) [metadata-standalone.jar:na]\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) [metadata-standalone.jar:na]\n\tat java.lang.Thread.run(Thread.java:745) [na:1.8.0_74]\n","HOSTNAME":"f479dac2541b","exception":"{"error_code":"ERR_ILLEGAL_ARGUMENT","reason":{"attributes":[{"type":"(not (#{} :String))"}]}}","group-id":"org.iplantc","art-id":"metadata","service":"metadata","response":"{"status":400,"headers":{"Content-Type":"application/json; charset=utf-8"},"uri":"/admin/templates","request-method":"post"}","desc":"The REST API for the Discovery Environment Metadata services.","app-name":"metadata","service":"metadata"}
from de.
metadata database was not initialized with the matching string values in value_types. Adding to db manually and restarting metadata resolves this.
from de.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from de.