How to access admin from doccano deployed using heroku - heroku

I had a local docanno running in desktop. On it I was able to add new users for collaborative annotation , who can access the doccano app from LAN. Now I want to deploy the app to web, so annotators can access it from anywhere. But when I deploy doccano on heroku, I m not able to access the admin through the app. It says page not found , if I try to do .herokuapp.com/admin/
How to add collobarots , through heroku deployed doccano app.

here is a quick fix I found on https://bytemeta.vip/repo/doccano/doccano/issues/1814 :
On Heroku, go to settings
Add the Config Var "DEBUG" with the value set to "True"
I was then able to access the admin pane, add users etc (url: https://{appname}.herokuapp.com/admin).
Set the value to "False"

Related

ERR_SSL_UNRECOGNIZED_NAME_ALERT when trying to access my heroku app

I created a sandbox Angular application on Heroku.
The application is available (using the default https://mysampleapp.herokuapp.com ) and I want to have my domain name pointing to this application.
I followed the custom domain documentation to add a custom sub domain: https://devcenter.heroku.com/articles/custom-domains#configuring-dns-for-subdomains
In my Heroku application settings i can see the added domain :
www.mydomain.fr --> something-somethingelse-1234567890.herokudns.com
Then in my DNS provider, I removed my previous "A" / "CNAME" entries (no need anymore) and I added one :
CNAME / www.mydomain.fr. / something-somethingelse-1234567890.herokudns.com.
Using https://zone.vision/#/www.mydomain.fr , I can correctly see the DNS responding:
When trying to reach my app using the browser and the url www.mydomain.fr, I am getting an ERR_SSL_UNRECOGNIZED_NAME_ALERT error message.
Do you know what I am missing ?
I am using a single free application on Heroku, without any certificates.
Thank you in advance.
Found the root cause: I needed to enable ACM: https://devcenter.heroku.com/articles/automated-certificate-management

Shopify App CLI Heroku -- page unresponsive

I created my app with Shopify CLI "shopify create" (Node.js app) and deployed it to Heroku (shopify deploy). I already add my .env variables (scopes ,SHOPIFY_API_KEY, SHOPIFY_SECRET_KEY, host, shop) to my heroku config Vars, and I changed my app url to https://MY-URL.herokuapp.com/ , and the whitelisted redirect urls to https://MY-URL.herokuapp.com/auth/callback
When trying to open the app in my dev store, the interface is shown correctly (see image below)
However, the interface is unresponsive. So e.g. I can not press the button or select the text with mouse. (actually I can not do any mouse actions at all)
I have no idea what could cause this unresponsiveness.
Further info:
If i open https://MY-URL.herokuapp.com/ in browser, Safari says "Safari cant find the server, "https:undefined/admin/oauth/authorize?...",
Chrome says "
This site can’t be reached
Check if there is a typo in undefined.
DNS_PROBE_FINISHED_NXDOMAIN"
I deployed the app a few hours ago (~4 hours) .
Thank you in advance, any help is appreciated.

How can i connect my domain name to my heroku app

I buyed domain. After that i hosted app on heroku and now i am facing issues to linke my domain name with my app on heroku.I followed a lot of videos on internet but none of them is working.
Last one that i tried is:
https://www.youtube.com/watch?reload=9&v=kKGSGT7mSnQ
but there when i try to copy paste my heroku app url in the points to field i get
Enter either # or a valid host name such as: "subdomain.domain.tld"
error.
Can somoene tell my how can i do this thing please ?
I need to add domain on heroku - example.com that generated dns target and that generated dns target needs to be pasted in the points to section in go daddy: It is not the full app url from heroku like previous...

Deploy WSO2 Enterprise App Store in EC2 using ELB

I am deploying the WSO2 Enterprise App Store into EC2 behind an elastic load balancer (ELB) and having some trouble getting things configured properly.
I have configured $INSTALL_PATH/repository/conf/carbon.xml with the proper HostName and MgtHostName of the ELB DNS name and I can get to the front-end of the app store and to the admin console.
I am unable to:
get user registrations working throuth the front end app store
get to the back-office console
The issue appears to be in routing requests to the identity service. I get an error like the following:
You are now being redirected to Identity Server. If the redirection fails, please click on the button below.
I then get a timeout on the redirect to this RFC1918, non-routed, address:
https://10.x.x.x:9443/adminsamlsso
I see no errors in the logs on startup or throughout execution of the application.
How can I configure this application such that all requests are re-routed through the AWS ELB (not the WSO2 load balancer) and not through the direct, local, IP address?
Please modify following configurations as well,
Update the AssertionConsumerService property for all apps(store, publisher, social) within /repository/conf/sso-idp-config.xml
You can find few jaggery apps within /repository/deployment/server/jaggeryapps/ directory. Each app has its own json config file within config directory.
Eg :- for store app /repository/deployment/server/jaggeryapps/store/config/store.json
You have to update the identityProviderURL property within ssoConfiguration in those apps as well.(store, publisher and social)
If you are using ES-1.0.0 It's better if you can move to the latest 1.2.0 M2.
We also faced similar issue and now fixed in the master branch.
If you need to continue with the same 1.0.0 you can get rid of this issue by updating,
<ES_HOME>/repository/deployment/server/jaggeryapps/store/controllers/login.jag, <ES_HOME>/repository/deployment/server/jaggeryapps/publisher/controllers/login.jag
<ES_HOME>/repository/deployment/server/jaggeryapps/store/controllers/logout.jag, <ES_HOME>/repository/deployment/server/jaggeryapps/publisher/controllers/logout.jag
You have to update the postUrl in above four files correctly.
NOW : postUrl = "https://" + process.getProperty('carbon.local.ip') + ":" + process.getProperty('https.port');
It should be something like https://localhost:9443/
At the end post URL should be something like https://localhost:9443/admin/samlsso
<form method="post" action="<%=postUrl%>/admin/samlsso">

Getting a 404 using App Harbor and BitBucket

I'm new to AppHarbour and I'm trying to deploy my MVC app on a free account.
I keep getting a 404 error.
The app is coming from Bit-bucket and it was deployed successfully.
In my Hostnames section i see the following
so i have added the following to the Hosts file in my machine:
176.34.122.158 camelotfaultmanagement.apphb.com
but i still get a 404 ..
What am i doing wrong ?
And a follow-up question how can i edit one of the files to be able to edit the connection ?string to my DB?
It looks like you may not have any successful builds yet - You have to push to Bitbucket to trigger your first build. You can see a list of builds on the app dashboard: https://appharbor.com/applications/camelotfaultmanagement
To use the built-in .apphb.com domain, you don't have to mess with any DNS setup.

Resources