Valid domain cannot use tunnel site - microsoft-teams

I see the following error when trying to install my app in Teams for testing: "Valid domain cannot use tunnel site". I am using ngrok as described in the guide. So, I believe this is the reason for not being able to install the app. When I try to install it for a team, I see "Something went wrong." error and the app is not installed. Any thoughts on that?

I've resolved this issue by using this command.
ngrok.exe http -host-header=rewrite localhost:3979

Related

Stripe Webhooks always returned "Failed to connect to remote host"

This is my first time using Stripe and I am faced with a problem that I cannot solve. I am using Laravel Cashier with Stripe Webhooks and did everything as described in the documentation , and so I think that I have nothing to show in the code. No event works, I always get this error in the Stripe Webhooks logs Failed to connect to remote host . I am using Docker for my project and my site on HTTPS with valid SSL certificates. I even tried different internet providers, I thought there might be a problem with this, but that didn't help either. And I understand that the problem is not in the code. Can you please help me? I really need help.
And here's a picture to make everything clear.
Install ngrok (https://ngrok.com/download)
Then follow this: youtube.com/watch?v=S1uExj7mMgM&ab_channel=Twilio
to set up ngrok to forward to your localhost on the port you are listening to, eg:
ngrok http 4000
See the Stripe documentation on webhooks: https://stripe.com/docs/webhooks/quickstart

Try to connect locally to Chatbot but get unauthorized error

I loaded the EchoBot template from Microsoft here: https://marketplace.visualstudio.com/items?itemName=BotBuilder.botbuilderv4
I started a new project and try to run it locally. No MicrosoftAppID or MicrosoftAppPassword is provided.
Then I loaded the latest Bot Framework Emulator v4.7
I connect locally, again no App ID or App Password:
However when I try to send a message I get unauthorized error, why would I get unauthorized error when connecting locally?
The server is definitely running locally and the local URL is correct:
One question I want to ask is the login dependent on any 3rd party URL call? My company security policy is blocking all URL unless whitelisted, so if this is the case, maybe the authentication is blocked? What would be the URL for me to whitelist?
EDIT: I tried it a VM outside of the company network and it works! So something must be getting blocked. Any idea?
I got around it by using a VM outside the company network instead. It's not a solution, but it is a work around. I highly suspect some port are being blocked by company firewall but not sure what so I am not sure how to get it whitelisted.

"Error: unable to verify the first certificate" [Heroku]

Can someone help me out with this error. I am trying to login to my heroku account with heroku toolbelt but i keep getting this error.Any idea why ?
Try running 'heroku update' in terminal
once it is updated then try login in to your heroku account
In my case, an adblocking application filtered all my traffic. Even that of the console. To do this, it injects a certificate that the heroku app cannot verify. This is the right approach to prevent API traffic sniffing.
Once I prevented the filtering, everything worked fine again.
fix this is simply use the fullkey.pem when heroku asks for a cert

Configure APNS on Parse Server

I'm trying to migrate from Parse.com service to a self-hosted Parse Server, and it's been a bit difficult.
Basically I set up my server like this:
Run $ npm install -g parse-server
Set env vars (PARSE_SERVER_DATABASE_URI, PARSE_SERVER_MASTER_KEY, PARSE_SERVER_APPLICATION_ID)
Run $ parse-server
Everything is up and running, and I also setup a machine running parse-dashboard in a very similar way.
I had already synced the database and had no problems with it.
The problem is that when I try to send a push notification, I get the message:
Missing push configuration
I believe that's connected to the APNS settings. In Parse.com dashboard we can add the APNS certificates, but on the self hosted dashboard there is no such option (or I couldn't find it).
What am I missing? How do I set theses things up?
I believe that running parse-server without the recommended Express wrapper does not give me full control of everything I needed to configure the application.
I created an Express app, started the serving using the guide #thailey01 suggested and now it works.

gem error on remote machine

I made a dashing app that queries the google api as part of its jobs. On my local everything works fine and I used git to clone the repo on a remote machine and ran bundle install there but when I try to run dashing start I get this error:
/home/mwerner/.rvm/gems/ruby-2.1.2/gems/signet-0.5.1/lib/signet/oauth_2/client.rb:941:in `fetch_access_token': Authorization failed. Server message: (Signet::AuthorizationError)
{
"error" : "invalid_grant"
}
I am using relative paths in the app so it can't be there is an authentication issue. I tried manually installing all the gems I use on the local machine on the remote machine via gem install ... but no luck. Hints?
I had the very same issue today. I got it resolved by checking back into my google developers account. In my case I had entered a wrong Mail address under service_account_email in the .rb file.
I inserted the data shown under "Client ID for Web Apps" where it had to be the one from "Service Account" out of my Google Developer API Account. Make sure you use Service Account Credentials for the widget!
Also I reassured that I had setup that very same address for read access in my google analytics account.
In short, getting that error means there is something wrong with the data you put in the analytics.rb file.
Once I did the above it resolved my issue and I was able to start dashing.

Resources