Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse

Kakakuona Forum

darwinD

Darwin Kingáni

@darwin
About
Posts
5
Topics
3
Groups
1
Followers
2
Following
2

Posts

Recent Best Controversial

  • Twisted has a new version which causes failure #SYNAPSE
    darwinD Darwin Kingáni
    Error Message: AttributeError: 'Headers' object has no attribute '_encodeName'

    Workaround: Replace this code: [ Mine was from here: synapse-3.8/env/lib/python3.8/site-packages/synapse/http/proxy.py line 72 ]

    if hasattr(Headers, "_canonicalNameCaps"):                                      
        # Twisted < 24.7.0rc1                                                       
        _canonicalHeaderName = Headers()._canonicalNameCaps  # type: ignore[attr-defined]                                                                           
    else:                                                                           
        # Twisted >= 24.7.0rc1                                                      
        # But note that `_encodeName` still exists on prior versions,               
        # it just encodes differently                                               
        _canonicalHeaderName = Headers()._encodeName 
    
    

    With this:

    def _canonicalHeaderName(name):                                                 
        if isinstance(name, unicode):                                               
            return name.lower().encode('iso-8859-1')                                
        return name.lower() 
    
    

  • Mixed Content Error on Proxypass [ (blocked:mixed-content) proxypass nginx ]
    darwinD Darwin Kingáni

    Error: (blocked:mixed-content)

    49ef9419-569c-4e40-9b66-d04790c238fe-image.png

    Solution on Nginx:

    Edit your Config file on Webserver

    add_header 'Content-Security-Policy' 'upgrade-insecure-requests';  
    

    save File, Exit and then Restart Nginx

    $ sudo systemctl restart nginx 
    

  • 🚀 How to Update a Flutter App Without Asking Users to Update
    darwinD Darwin Kingáni

    Nice Resource


  • Creating DAOs in Spring Boot without using Database
    darwinD Darwin Kingáni

    Great post


  • How to enable AVX (Advanced Vector Extensions, are additions to the x86 instruction set architecture) on VM?
    darwinD Darwin Kingáni

    Change setting of the CPU type to “host” on your VM settings. That should expose all the instructions.

  • Login

  • Don't have an account? Register

Powered by NodeBB Contributors
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups