errbit | The open source error catcher that 's Airbrake API compliant | Dashboard library
kandi X-RAY | errbit Summary
kandi X-RAY | errbit Summary
The open source error catcher that's Airbrake API compliant
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Return the version of this version
- Checks that the required parameters are required .
- Create a new issue
- Close an issue
errbit Key Features
errbit Examples and Code Snippets
Community Discussions
Trending Discussions on errbit
QUESTION
I got a small issue and hope someone can enlighten me how I can fix this issue with my Development Environment.
I am using MacOS which is, wenn using docker with shared folders, poor in performance.
I originally used an intermediate docker container with unison synchronisation but had issues with it. (Sync stopped unpredictable without any error output or so on)
I created an virtual machine in which I boot up docker. In it I only have a minimal setup with a small php and nginx configuration. (for executing code generation from within the host development IDE). Nginx is configured to forward https to http requests from within the docker containers. (and to get rid of the 80xx ports.
Vagrant doesn't forward any ports and is accessible via the nginx server only from port 80 and 443.
Within docker I have one self compiled nginx container (with several plugins for additional functions like serving compressed files (which lie next to the uncompressed content)etc.), several php7.1-fpm instances, queue worker, mysql master slave database etc. The Environment is built like our productive system. It's important for us to be as close as possible.
The only core difference is the first nginx that sits in between my host and the vm for routing etc.
My Core issue is currently that a request to the first nginx server is extremly slow and I don't really have a clue why. In the Browser Inspector I can see 6 States of the Connection:
- Queued (0s)
- Stale (5-15s)
- Resolving Domain (5-30s)
- Request Sent (0.000077s)
- Waiting for Response (0.2s)
- Downloading Response (0.0009s)
My biggest problem currently on working is step 2 and 3 which only appear within the first connection and every ongoing connection which is delayed longer then 1 minute after the last request.
What I also don't get is why it tries to resolve the domains.
But first things first. Heres an part of my vagrant setup (only the important Parts:
...ANSWER
Answered 2017-Mar-12 at 15:40After checking the network traffic with Wireshark I found the issue. I executed an dig on app.dev I recognised that the ip 127.0.53.53 is detected. After also looking into Wireshark I recognised that every access to the .dev domain is queried onto the public dns servers instead of the local hosts file.
It seems that with macOS every queries ever .dev domain instead of checking the hosts file. Due to this Requests take extra ordinary long. I switch all domains to .test
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install errbit
Install MongoDB
git clone https://github.com/errbit/errbit.git
bundle install
bundle exec rake errbit:bootstrap
bundle exec rails server
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page