IO error when contacting "/res/repositoryService - ibm-cloud

I am trying to deploy a rule app to a Rule Execution Service configuration in Bluemix and I receive the following error: IO error when contacting "/res/repositoryService".
How can I fix this error?
The Bluemix URL is HTTPS and I have set the IBM_JAVA_OPTIONS environment variable to -Dilog.rules.res.allowSelfSignedCertificate=true.

Could you check if you are behind a firewall? If so, please configure it to allow connecting to the RES URL.

Related

Failed to connect to proxy URL when deploying CloudFormation

I am attempting to deploy a CloudFormation template, but the Internet Gateway resource fails with an encoded error that decodes to:
Failed to connect to proxy URL: "http://127.0.0.1:10080"
What proxy am I missing that would prevent an Internet Gateway from being created?
It turns out the proxy error is misleading. The real issue is that the user deploying the CloudFormation template did not have the correct permissions.
I granted the user the AmazonVPCFullAccess policy, and the template was deployed correctly.

Can't log into the backend after switching domain

I switched the server and the domain for a website. The frontend works, same for the install tool.
But now each time I try to connect into the backend I have this error "Uncaught TypeError: require is not a function" and I'm instantly redirected to the login page
I can't find anything about this error, it's a problem with the cookie? I missed a config?
Well, the parameter [BE][lockIP] need to be set to 0 (no security check for IP). At least for my configuration it works.
(using VPN + proxy to access the preprod website + some specific hosting conf)

Not able to access AEM author using JcrUtils.getRepository with https

I am trying to access the repository from a standalone java application using JcrUtils.
**repository = JcrUtils.getRepository("http://localhost:4502/crx/server"); this works**
**repository = JcrUtils.getRepository("https://localhost:4502/crx/server"); this doesn't work**
Exception in thread "main" javax.jcr.RepositoryException: Unable to
access a repository with the following settings:
org.apache.jackrabbit.repository.uri: https://localhost:4502/crx/server The following
RepositoryFactory classes were consulted:
org.apache.jackrabbit.commons.JndiRepositoryFactory: declined
org.apache.jackrabbit.core.RepositoryFactoryImpl: declined
org.apache.jackrabbit.jcr2dav.Jcr2davRepositoryFactory: declined
org.apache.jackrabbit.jcr2spi.Jcr2spiRepositoryFactory: declined Perhaps the repository you are trying to access is not available at
the moment. at
org.apache.jackrabbit.commons.JcrUtils.getRepository(JcrUtils.java:223)
at
org.apache.jackrabbit.commons.JcrUtils.getRepository(JcrUtils.java:263)
at com.hero.jcr.util.CqHelper.getSession(CqHelper.java:20) at
com.hero.jcr.commandline.CheckConnection.getDamAssets(CheckConnection.java:36)
at
com.hero.jcr.commandline.CheckConnection.main(CheckConnection.java:29)
Thanks in advance
The problem can have different causes.
HTTPS configured and on which port
It looks like you're trying to access http and https in the same situation on the same port. Http and Https don't run on the same port in parallel.
Please use the SSL Wizard as hinted by ronnyfm to check if SSL is activated and on which port it is used: https://docs.adobe.com/content/help/en/experience-manager-65/administering/security/ssl-by-default.html
For instance the default port for https in AEM is 8443, so try https://localhost:8443 to access it, if you have configured it there.
Untrusted Certificate
Also connecting to https might not work if you use an untrusted certificate, which you need to add to the Java security keystore first. In my case I got the same "Unable to access" message, because the original exception regarding the certificate got silently swallowed in the JCR library I was using.
Wrong certificate
When you added the certificate to the keystore and it still doesn't work, check if the certificate was created for them same host you request. If you created it for bla.host, but try to access it via localhost, it also gives you the same exception, while the original message is silently swallowed.

service fabric failed to contact the server. please try again later or get help from "how to configure secure connections"

I'm trying to deploy a service fabric application to an unsecure Azure Service Fabric cluster. When I open the publish window in VS 2017 I get the following. If my cluster is unsecure, shouldn't I be able to publish it w/o configuring the cert?
I tried a publish anyways and I got:
Try accessing the server via powershell to maybe get a better error. Usually, errors like this are caused by firewalls blocking the port 19000.

Deleting an IBM Bluemix Internet of things services gives an error

I'm working on a Bluemix Internet of Things (IoT) project and want to delete an IoT service. Bluemix returns:
Service broker error: Calling url
https://bluemix-staging.internetofthings.ibmcloud.com/broker/v2/service_instances/2a98b0e9-2d48-4fed-b66b-c20cac2f83c7?plan_id=iotf-service-free-id&service_id=iotf-service-id
failed with error message getaddrinfo ENOTFOUND
bluemix-staging.internetofthings.ibmcloud.com
I can't create a new service as well. Any ideas how to proceed?
There was a DNS problem on May 5th but it has now been resolved.