I am implementing push notifications from my server to the users who are subscribed to my server.
Right now sending the push notifications to Firefox users works like a charm. However, on Chrome I get an Unauthorized Registration error. I am using Django as a backend.
In this image are the relevant parts of the error and my code (email edited), aswell as the subscription. If any more information is needed please let me know.
Does anyone know why I can't send push notifications on Chrome?
And I am using this library.
In the murky depths of Google and Github I have found the answer. If you install pywebpush it installs v1.2.2 of py-vapid, which had a bug in it. Overwriting this package with
pip install py-vapid --upgrade
installs the patched version 1.2.3 (released only 5 days ago as of this post), fixes the Unauthorized bug I was having.
I've just pushed pywebpush 1.0.2 which includes py-vapid 1.2.3. Sorry for the delay, but it was unavoidable.
Please don't be afraid to file issues against the package. I do try to respond fairly quickly and it helps out everyone.
Related
I followed the instructions in the link (https://docs.wso2.com/display/IOTS330/Enterprise+IoT+solution) in Windows to start WSO2 IoT server. So, broker, iot-server and analytics are started. But, when I'm trying to log in to the device management console using admin login or the login credentials I created, it gives me an authentication error.
I tried the solutions in this answer (Not able to access WSO2 IoTS Device Management Console in wso2-iot-3.3.0 when logged in 'admin') also (Reducing Java version to 1.8.0_144 and making the compression parameter to off in all the catalina-server.xml files). But any of it didn't work for me.
I have attached the screen shots of the error. Please help me to go through this! Thank you.
Error in browser
Error description in iot-server console-Part 1
Error description in iot-server console-Part 2
This is related to the issue mentioned in the github issue mentioned below and it seems, it is already fixed in latest master.
As a quick workaround you could try to modify the startup script files (bat files in this case) and add the changes mentioned in the above git issue.
For example, you can change the file modules/distribution/src/core/bin/iot-server.bat at line number 73 as below.
FOR %%D in ("%CARBON_HOME%\wso2\lib\commons-lang*.jar") DO set CARBON_CLASSPATH=!CARBON_CLASSPATH!;".\wso2\lib\%%~nD%%~xD"
Similarly do the same change as above for files mentioned below as well.
modules/distribution/src/core/resources/profiles/backend/iot-server.bat
modules/distribution/src/core/resources/profiles/keymanager/iot-server.bat
modules/distribution/src/core/resources/profiles/manager/iot-server.bat
This should resolve the issues you are facing.
Related github issue - https://github.com/wso2/product-iots/pull/1838/files
I am getting this message. We just upgraded Coveo for Sitecore to 4.0, now our DEV site is experiencing this message every time we try to do a search or even rebuild the indexes. I have verified that the service is running on the Coveo Server.
Since, there doesn't seem to be a lot of information on this error, I thought I would try this forum. Our version of Sitecore is 7.2.
"Coveo Entreprise Search seems to be unavailable. Please make sure that the service is installed and started."
When I send the enroll invitation email to the user I got issue please refer the [Image1 & Image1] screen shot for your reference.
And also please find the below linkView the doc which I have referred to setup Email configuration in EMM.
Version I have tested in 2.1.1 and 2.2.0 Beta
Image1
Image2
This issue is probably due to misconfiguration of email template configuration located at "/repository/resources/email-templates" directory. It looks like you have accidentally changed the xml element.
Thanks,
I have analyzed above question in Stackoverflow.6 months ago someone already discussed regarding the email issue - Setting Up Email Notification For Wso2EMM Please refer the link, As per their discussion the email issue is already in WSO2 EMM 2.0.1 version. I also checked in latest 2.1.1 versions I have faced the same issue. Is it will be fixed in upcoming version 2.2.0? WSO2 Team awaiting for your response.
I am working on a Django project and, so far, we are receiving e-mails when a Server Error 500 happens in our backend. However, as we are a team of developers, we would like to open Github Issues instead of sending these e-mails. We have our project on Github of course.
I have been searching for an existing Django App that we could reuse but unfortunately I did not find any integrating such functionality.
Does anyone know if there is such Django application? The idea seems pretty simple and I am surprised i could not find any application available for this purpose.
Moreover, a search on django packages does not show many results...
Thanks in advance
We're using the facebook SDK to install multiple facebook applications simultaneously, but sometimes not all apps are installed.
It appears there is some limitation or bug regarding the number of facebook applications we can install at a time (on facebook's side).
For the time being we've implemented a workaround, which includes waiting for a few seconds between each app installation, but obviously that's not a solution and it's also not working properly.
Has anyone encountered such a problem? What did you do with it?
Thanks!
Relevant Installation Code:
FB.api('/'+pageId+'/tabs?access_token='+pageAccessToken, 'post', params,