airflow web url unable to connect - airflow

I am using celery executor with rabbitmq. Changed the airflow config file as below
broker_url = amqp://guest:guest#localhost:5672//
celery_result_backend = amqp://guest:guest#localhost:5672//
started the webserver & other services but webui url not working.
while list the dag getting below warning.
WARNING - You have configured a result_backend of amqp://guest:guest#localhost:5672//, it is highly recommended to use an alternative result_backend (i.e. a database).
Kindly help

I had this issue originally too, then I ran pip install celery (after using a downgraded version per the article I was following). With the newest version of celery now, the UI loaded and all appears working well. But, I do still get those same warning messages for rabbitmq setup using amqp. I assume it is because it is not officially supported. See: https://github.com/apache/airflow/pull/2830/files

Related

Airflow conn types missing even after installing the correct provider?

Learning apache airflow and I'm trying to create a new connection type the correct way, but it still doesn't show up. I am working within a virtual environment on WSL2 through VS Code, and my terminal looks like this (sandbox) nick#GameCube:~$
This is what my pip list within the venv shows
But these are my only conn types within the airflow UI (I am running airflow webserver within the venv too)
You can see that all the other installed conn types show up, but http doesn't for some reason. Why does this happen? I have tried restarting vscode, killing the webserver process and restarting it, etc but it still doesn't show!
The apache-airflow-providers-http==4.0.0 is not compatible with apache-airflow==2.1.0
To solve your issue you need to downgrade http provider to a version compatible with Airflow 2.1.0
Noting that Http provider is installed by default with Airflow if you need to bump its version make sure you set it to compatible version.
In larger context I suggest to install Airflow from constraints as suggested in the docs. This will prevent case of unstable environment as Airflow brings many dependencies and it guarantees a working environment of Airflow. You can upgrade providers to newer versions but you will need to take a closer look on each upgrade. You can read about it in this doc: Installing/upgrading/downgrading providers separately from Airflow core.

ACORE API, assistance with errors and deployment

I'm having trouble with setting up ACORE API's and then having them work on a website.
Background:
Azerothcore running 3.3.5 on a debian standalone server, this has the Database, Core files and runs both the world and auth server basically a standard setup that is shown in the how-to wiki.
I also have a standalone web server, on the same subnet, but it's a separate server running linux and normal web server stuff, this has a wordpress installation with azerothcore plugin for user signup etc.
I'm trying to add the player map (https://github.com/azerothcore/playermap) and the ACORE-API set of functions (server status, arenastats, BG que and wow statistics) (https://github.com/azerothcore/acore-api)
Problem:
I understand the acore-api must be run in a container (docker or whatever) on the server, which I have done and it binds to port 3000, I can then go to the local ip:3000 and it brings up this error. (all db's etc are connecting and soap is working)
error 404 when navigating to IP:3000
I do get a few errors when running NPM install seen here: I'm not sure if they would be causing any issues or not.
screenshot of NPM errors on install
But further that, when I put say 'serverstatus' on the webserver (separate server) and configure the config.ts file I can't seem to get anything to display.
I'm not sure what I'm doing wrong but is the same scenario for all of the different functions for the acore-api
How are these meant to be installed and function? I feel I'm missing a vital step.
Likewise, with PLAYERMAP I have edited the comm_conf.php and set the realmd_id, but when loading the page, I do get the map, but the uptime is missing and no players are shown?
Could someone assist if possible?
Seems like an issue with NodeJS version. Update your NodeJS to latest LTS version 16.13.0 (https://nodejs.org)

Sidekick Cloud Builds: Unable to find a specification for `Firebase/Core`

Since the tns-plugin-firebase update to version 15. When doing sidekick cloud builds I receive the message:
Unable to find a specification for Firebase/Core -> 5.5
I followed the intructions fron the community which basically tells to do pods repo update, I even rm -rf the .cocoapods folder and reinstall it.
When building locally it works, but when doing cloud builds with sidekick I received the abve mentioned message.
Is possibl that the pods repo update has to be done in the sidekick server too?, because if not I donĀ“t have a clue why this is happening!!!
Thanks for ideas or hints.
Javier
The issue is indeed related to the Sidekick cloud build service. The pods management is done entirely on the cloud machines, even when you build from a macOS system.
Having said that, the pod is now updated to the latest available version and after a couple of hours (time needed to propagate the changes to the entire infrastructure), you should no longer experience the "Unable to find a specification for Firebase/Core -> 5.5" error while building for iOS in the cloud.

How can I resolve certificate issues in Eucalyptus?

I have recently installed eucalyptus on a Ubuntu 10.04. Everything works fine until I get to the user interface. Whenever I try to get to the store tab I get the following error:
Error 60: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
I have been doing some research and tried to update the certificate, make changes to the /usr/lib/python2.7/dist-packages/imagestore/lib/fetch.py but none of these solutions worked.
I am really stuck and do not know what to do.
I cannot help resolve the issue on Ubuntu and I suspect the Euca version involved is way out date. If you are willing to work on CentOS then you've got two great options
FastStart - this is an awesome bundle of Eucalyptus and CentOS. I use this to spin up a new cloud after each release, including the pre-release of 3.3. Total time to new cloud is roughly 35 minutes.
http://www.eucalyptus.com/download/faststart
Package downloads - This is your standard install method and the only option to pick if you're trying to build a large cloud.
http://www.eucalyptus.com/download/eucalyptus
BTW - if you are looking to build a large cloud I also recommend you check out the Reference Architectures. These are Eucalyptus deployment blueprints based on lots of real-world, customer environments. http://eucalyptus.com/eucalyptus-cloud/reference-architectures
If you have other questions, I hope we see you on IRC. It's the #eucalyptus channel on freenode: http://webchat.freenode.net/?channels=eucalyptus
Hope this helps

Mono.ZeroConf Windows

Hello i started off with a tutorial from Mono ZeroConf
When my code reahes the line
ServiceBrowser browser = new ServiceBrowser ();
i get a SystemException
System.Exception: No Zeroconf providers could be found or initialized. Necessary daemon may not be running.
So how do i run the necessary deamon or provider (on windows)?
You need to download and install Bonjour for Windows. On completing the setup the deamon should start automatically. Many of the available Mono.Zeroconf binaries are out of date and contain bugs. However, you can download and compile the latest version from github.

Resources