I’ve found the cause of the problem,the reason is that the download requests are blocked by China’s firewall.
Now I’ve solved the firewall problem, but there’s another issue, the log information is as follows :
INFO [2020-11-19 09:24:40,446] io.dropwizard.server.ServerFactory: Starting karamel-core
INFO [2020-11-19 09:24:40,494] org.eclipse.jetty.setuid.SetUIDListener: Opened karamel-core@3918c187{HTTP/1.1}{0.0.0.0:9090}
INFO [2020-11-19 09:24:40,496] org.eclipse.jetty.server.Server: jetty-9.0.7.v20131107
INFO [2020-11-19 09:24:40,606] com.sun.jersey.server.impl.application.WebApplicationImpl: Initiating Jersey application, version ‘Jersey: 1.18.1 02/19/2014 03:28 AM’
INFO [2020-11-19 09:24:40,677] io.dropwizard.jersey.DropwizardResourceConfig: The following paths were found for the configured resources:
PUT /api/definition/yaml2json (se.kth.karamel.webservice.calls.definition.YamlToJson)
PUT /api/definition/json2yaml (se.kth.karamel.webservice.calls.definition.JsonToYaml)
PUT /api/definition/fetchCookbook (se.kth.karamel.webservice.calls.definition.FetchCookbook)
PUT /api/ssh/loadKey (se.kth.karamel.webservice.calls.sshkeys.LoadSshKeys)
PUT /api/ssh/registerKey (se.kth.karamel.webservice.calls.sshkeys.RegisterSshKeys)
PUT /api/ssh/generateKey (se.kth.karamel.webservice.calls.sshkeys.GenerateSshKeys)
PUT /api/ssh/setSudoPassword (se.kth.karamel.webservice.calls.sshkeys.SetSudoPassword)
PUT /api/ec2/loadCredentials (se.kth.karamel.webservice.calls.ec2.LoadEc2Credentials)
PUT /api/ec2/validateCredentials (se.kth.karamel.webservice.calls.ec2.ValidateEc2Credentials)
PUT /api/gce/loadCredentials (se.kth.karamel.webservice.calls.gce.LoadGceCredentials)
PUT /api/gce/validateCredentials (se.kth.karamel.webservice.calls.gce.ValidateGceCredentials)
PUT /api/cluster/start (se.kth.karamel.webservice.calls.cluster.StartCluster)
PUT /api/cluster/processCommand (se.kth.karamel.webservice.calls.cluster.ProcessCommand)
GET /api/system/exit (se.kth.karamel.webservice.calls.system.ExitKaramel)
GET /api/system/ping (se.kth.karamel.webservice.calls.system.PingServer)
GET /api/github/getCredentials (se.kth.karamel.webservice.calls.github.GetGithubCredentials)
POST /api/github/setCredentials (se.kth.karamel.webservice.calls.github.SetGithubCredentials)
POST /api/github/getOrgs (se.kth.karamel.webservice.calls.github.GetGithubOrgs)
POST /api/github/getRepos (se.kth.karamel.webservice.calls.github.GetGithubRepos)
POST /api/github/removeRepository (se.kth.karamel.webservice.calls.github.RemoveRepository)
POST /api/experiment/load (se.kth.karamel.webservice.calls.experiment.LoadExperiment)
PUT /api/experiment/push (se.kth.karamel.webservice.calls.experiment.PushExperiment)
POST /api/experiment/removeFile (se.kth.karamel.webservice.calls.experiment.RemoveFileFromExperiment)
PUT /api/nova/loadCredentials (se.kth.karamel.webservice.calls.nova.LoadNovaCredentials)
PUT /api/nova/validateCredentials (se.kth.karamel.webservice.calls.nova.ValidateNovaCredentials)
PUT /api/occi/loadCredentials (se.kth.karamel.webservice.calls.occi.LoadOcciCredentials)
PUT /api/occi/validateCredentials (se.kth.karamel.webservice.calls.occi.ValidateOcciCredentials)
INFO [2020-11-19 09:24:40,830] org.eclipse.jetty.server.handler.ContextHandler: Started i.d.j.MutableServletContextHandler@3d9fc57a{/,null,AVAILABLE}
INFO [2020-11-19 09:24:40,831] io.dropwizard.setup.AdminEnvironment: tasks =
POST /tasks/gc (io.dropwizard.servlets.tasks.GarbageCollectionTask)
INFO [2020-11-19 09:24:40,835] org.eclipse.jetty.server.handler.ContextHandler: Started i.d.j.MutableServletContextHandler@632aa1a3{/admin,null,AVAILABLE}
INFO [2020-11-19 09:24:40,840] org.eclipse.jetty.server.ServerConnector: Started karamel-core@3918c187{HTTP/1.1}{0.0.0.0:9090}
INFO [2020-11-19 09:24:42,938] se.kth.karamel.client.api.CookbookCacheIml: 0-level cookbooks for Hops is 1
ERROR [2020-11-19 09:24:43,351] se.kth.karamel.webservice.KaramelServiceApplication: Inalid yaml file; Invalid attributes, all used attributes must be defined in metadata.rb files: [hops/tls/enabled, elastic/opendistro_security/epipe/username, hops/rmappsecurity/actor_class, hopsworks/application_certificate_validity_period, elastic/opendistro_security/admin/username, hopsworks/kagent_liveness/threshold, elastic/opendistro_security/audit/enable_transport, hopsworks/requests_verify, elastic/opendistro_security/elastic_exporter/username, elastic/opendistro_security/audit/enable_rest, hops/yarn/pcores-vcores-multiplier, mysql/password, hops/yarn/cgroups_strict_resource_usage, hopsworks/featurestore_online, hopsworks/admin/password, hops/yarn/detect-hardware-capabilities, hopsworks/admin/user, elastic/opendistro_security/logstash/password, hops/yarn/system-reserved-memory-mb, hopsworks/encryption_password, elastic/opendistro_security/epipe/password, alertmanager/email/to, elastic/opendistro_security/jwt/exp_ms, install/dir, prometheus/retention_time, alertmanager/email/smtp_host, elastic/opendistro_security/kibana/password, alertmanager/email/from, hopsworks/master/password, ndb/NoOfReplicas, elastic/opendistro_security/kibana/username, hive2/mysql_password, install/kubernetes, hopsworks/kagent_liveness/enabled, hopsworks/https/port, ndb/DataMemory, elastic/opendistro_security/admin/password, install/cloud, elastic/opendistro_security/logstash/username, elastic/opendistro_security/elastic_exporter/password]
INFO [2020-11-19 09:24:43,355] org.eclipse.jetty.server.ServerConnector: Stopped karamel-core@3918c187{HTTP/1.1}{0.0.0.0:9090}
INFO [2020-11-19 09:24:43,355] org.eclipse.jetty.server.handler.ContextHandler: Stopped i.d.j.MutableServletContextHandler@632aa1a3{/admin,null,UNAVAILABLE}
INFO [2020-11-19 09:24:43,356] org.eclipse.jetty.server.handler.ContextHandler: Stopped i.d.j.MutableServletContextHandler@3d9fc57a{/,null,UNAVAILABLE}
The key content is :
ERROR [2020-11-19 09:24:43,351] se.kth.karamel.webservice.KaramelServiceApplication: Inalid yaml file; Invalid attributes, all used attributes must be defined in metadata.rb files: [hops/tls/enabled, elastic/opendistro_security/epipe/username, hops/rmappsecurity/actor_class, hopsworks/application_certificate_validity_period, elastic/opendistro_security/admin/username, hopsworks/kagent_liveness/threshold, elastic/opendistro_security/audit/enable_transport, hopsworks/requests_verify, elastic/opendistro_security/elastic_exporter/username, elastic/opendistro_security/audit/enable_rest, hops/yarn/pcores-vcores-multiplier, mysql/password, hops/yarn/cgroups_strict_resource_usage, hopsworks/featurestore_online, hopsworks/admin/password, hops/yarn/detect-hardware-capabilities, hopsworks/admin/user, elastic/opendistro_security/logstash/password, hops/yarn/system-reserved-memory-mb, hopsworks/encryption_password, elastic/opendistro_security/epipe/password, alertmanager/email/to, elastic/opendistro_security/jwt/exp_ms, install/dir, prometheus/retention_time, alertmanager/email/smtp_host, elastic/opendistro_security/kibana/password, alertmanager/email/from, hopsworks/master/password, ndb/NoOfReplicas, elastic/opendistro_security/kibana/username, hive2/mysql_password, install/kubernetes, hopsworks/kagent_liveness/enabled, hopsworks/https/port, ndb/DataMemory, elastic/opendistro_security/admin/password, install/cloud, elastic/opendistro_security/logstash/username, elastic/opendistro_security/elastic_exporter/password]
What causes this?