Coder Social home page Coder Social logo

Comments (16)

daniel-hiller avatar daniel-hiller commented on May 28, 2024 1

Make sure cloudflare supports websocket connections

Open the DEV tools in your browser and check for errors

from planka.

daniel-hiller avatar daniel-hiller commented on May 28, 2024 1

I have to wait until the domain is connected to cloudflare, than i can test by myself

@hungry-bogart

This happedns only if the Baseurl is not set correctly
You have to set the Baseurl to the address you want to use with cloudflare including https

image

In the tunnel itself you have to use http://your-local-ip:3000 like http://192.168.0.100:3000

image

from planka.

PrintLukas avatar PrintLukas commented on May 28, 2024 1

Alright i got it. Restarted the service and it worked. Thank you!

from planka.

daniel-hiller avatar daniel-hiller commented on May 28, 2024

You have to change the baseURL in the docker-compose.yml to match the domain you want to use.

If manual installed, change it in the .env file

from planka.

PrintLukas avatar PrintLukas commented on May 28, 2024

Already done

from planka.

PrintLukas avatar PrintLukas commented on May 28, 2024

The Error 404 occured. Cloudflare should support websocket connections

from planka.

daniel-hiller avatar daniel-hiller commented on May 28, 2024

Please send a screenshot from the errors in dev tools

from planka.

PrintLukas avatar PrintLukas commented on May 28, 2024

So http is going well in the Moment. https doesnt work like before.

from planka.

PrintLukas avatar PrintLukas commented on May 28, 2024

grafik

from planka.

hungry-bogart avatar hungry-bogart commented on May 28, 2024

I'm having the same issue with Cloudflare. I can sometimes get the login page to show up but it says server connection failed.

It appears from my errors and logs in the inspector that it is receiving mixed content in the request. If the main page is loading via https and is secure when the token request goes over http it blocks it for security reasons. I can confirm that the plain text password will be displayed in the console if you look for it.

So, my guess is that the Cloudflare tunnel needs to be set as https. The token will probably only come back from the api if it is https all the way through the post/get request.

I tried changing the config to https, but I don't remember it working. I'll try again and see if I can get it to work.

planka2
planka3
planka

from planka.

hungry-bogart avatar hungry-bogart commented on May 28, 2024

@daniel-hiller

I can confirm this works. I added your example into the environment section of the docker-compose file.

BASE_URL=https://my.cloudflare-domain.com

In the tunnel entries on Cloudflare just like the example you gave in the image.

subdomain/domain=my.cloudflare-domain.com
service type=HTTP
url=yourlocalIP:port

Thanks for clarifying this.

from planka.

PrintLukas avatar PrintLukas commented on May 28, 2024

image

from planka.

PrintLukas avatar PrintLukas commented on May 28, 2024

Doesn't work for me... I adapted the Base-URL.

from planka.

PrintLukas avatar PrintLukas commented on May 28, 2024

is there any documentation, how to implement an Autostart-Script on an Ubuntu-VM?

from planka.

hungry-bogart avatar hungry-bogart commented on May 28, 2024

Lukas there's a lot of documentation on that particular topic. The most common methods are setting a cron job. I'm sharing this link with you as a starting point.

https://www.tecmint.com/auto-execute-linux-scripts-during-reboot-or-startup/

from planka.

daniel-hiller avatar daniel-hiller commented on May 28, 2024

Sure, here in our docs

https://docs.planka.cloud/docs/Configuration/Planka%20as%20service

from planka.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.