repairshopr / autoprintr-wpf Goto Github PK
View Code? Open in Web Editor NEWRepairShopr AutoPrintr
RepairShopr AutoPrintr
I have a printer that is no where near our AutoPrintr machine, and needs to be shared on the network. I have the printer connected to the AutoPrintr machine via network share. It does not show up in AutoPrintr as a selectable printer. Is there a setting I have to change to make this work?
Description of Issue:
The AutoPrintr service fails to function if the internet connection is lost. A service restart is required to restore functionality.
Reproduction:
I was able to reproduce the connection issue in a test environment, using a test harness with a test pusher account and simulating a connection loss by enabling/disabling the ethernet port. The bug appears to be the result of flaky connection handling in the PusherClient library.
Proposed Solution:
After reviewing this commit, it was noted that the PusherClient library was updated from 0.51 to a custom fork (see here). From review of the commit, it looks like some changes were made in an attempt to correct a re-connection issue.
I did some testing with the original 0.51 and the newer 1.0.1-beta PusherClient versions and did not see the same issue that is occurring with the custom fork. At this point, the recommend solution is to roll back the above change and revert back to, and upgrade to a more recent 1.0.1-beta version, of the main PusherClient library. To use the newer 1.0.1-beta version we also need to update the projects from .NET from 4.5 to 4.6.2.
To Do:
Notes:
After updating the packages there were several additional issues occuring which required a few custom modifications to the PusherClient 1.01-beta. I added the PusherClient project source to the solution and made a few changes to prevent the service from crashing on websocket errors.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.