• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Cannot add pushbullet account (nothing happens when i click on add)

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    3
    17
    3.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Tom ElliottT
      Tom Elliott @x23piracy
      last edited by

      @x23piracy Aren’t you on working branch?

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      x23piracyX 1 Reply Last reply Reply Quote 0
      • x23piracyX
        x23piracy @Tom Elliott
        last edited by x23piracy

        @tom-elliott said in Cannot add pushbullet account (nothing happens when i click on add):

        @x23piracy Aren’t you on working branch?

        i am still in working branch (49)

        β•‘β–Œβ•‘β–ˆβ•‘β–Œβ”‚β•‘β–Œβ•‘β–Œβ–ˆ

        Tom ElliottT 1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott @x23piracy
          last edited by

          @x23piracy Please try uninstalling pushbullet, reinstalling it, then try to add again. I suspect something fishy happened somewhere down the line.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          x23piracyX 2 Replies Last reply Reply Quote 0
          • x23piracyX
            x23piracy @Tom Elliott
            last edited by

            @tom-elliott ok, i get back when done.

            β•‘β–Œβ•‘β–ˆβ•‘β–Œβ”‚β•‘β–Œβ•‘β–Œβ–ˆ

            1 Reply Last reply Reply Quote 0
            • x23piracyX
              x23piracy @Tom Elliott
              last edited by

              @tom-elliott still not working same behaviour, i made you a video of the case, will send it by pm because my token is visible πŸ˜‰

              β•‘β–Œβ•‘β–ˆβ•‘β–Œβ”‚β•‘β–Œβ•‘β–Œβ–ˆ

              Tom ElliottT 1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @x23piracy
                last edited by

                @x23piracy I can’t seem to replicate the problem running the exact same version of FOG as you, and using the exact same key as you. I would start thinking maybe your FOG server can’t reach api.pushbullet.com for whatever reason.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                1 Reply Last reply Reply Quote 0
                • x23piracyX
                  x23piracy
                  last edited by x23piracy

                  Hi,

                  @tom-elliott @Sebastian-Roth

                  this is still not solved for me, i am not able to add my account.
                  What i found out is that i am forced to use proxy, this allready works for the system except pushbullet plugin.

                  Is it possible that the pushbullet plugin is not honoring the fog settings proxy configuration and therefore cannot communicate to api.pushbullet.com?

                  https://stackoverflow.com/questions/5211887/how-to-use-curl-via-a-proxy

                  Example:

                  <?
                  $url = $_POST[β€˜1’];
                  $ch = curl_init();
                  curl_setopt($ch, CURLOPT_URL,$url);
                  curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, 0);
                  curl_setopt($ch, CURLOPT_PROXY, β€˜66.96.200.39:80’);
                  curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
                  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 0);
                  curl_setopt($ch, CURLOPT_CUSTOMREQUEST,β€˜GET’);
                  curl_setopt ($ch, CURLOPT_HEADER, 1);
                  curl_exec ($ch);
                  $curl_scraped_page = curl_exec($ch);
                  curl_close($ch);
                  echo $curl_scraped_page;
                  ?>

                  The guy at overflow is writing:

                  The bellow is from curl through proxy returns no content

                  This is interesting because when it doesn’t return something,
                  that could match to my error where the pushbullet account appears as dummy entry after i try to add it:

                  Bild Text

                  @george1421 said:

                  ok pushbullet in fog runs in PHP as the apache user.
                  It doesn’t have access to the environment variables you set

                  A dry run in shell with pushbullets test example works:

                  curl --header β€˜Access-Token: <your_access_token_here>’
                  https://api.pushbullet.com/v2/users/me

                  @ch3i said in Cannot add pushbullet account (nothing happens when i click on add):

                  @x23piracy HI, I’ve you checked your apache log ?

                  Yes, it’s always empty regarding to pushbullet.

                  Regards X23

                  β•‘β–Œβ•‘β–ˆβ•‘β–Œβ”‚β•‘β–Œβ•‘β–Œβ–ˆ

                  Tom ElliottT 1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott @x23piracy
                    last edited by

                    @x23piracy this has worked on the ast though? While I made frontend (GUI) changes, I have not touched the code that sends to pushbullets api.

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    x23piracyX 1 Reply Last reply Reply Quote 0
                    • x23piracyX
                      x23piracy @Tom Elliott
                      last edited by

                      @tom-elliott i can tell you this has worked for me before we setup that proxy, since the complete system has no problem to use the proxy i thougth maybe that php under apache isn’t respecting the fog proxy settings.

                      Talking to pushbullet api works with the example when trying in fogs shell, so this must be something internal.

                      Regards X23

                      β•‘β–Œβ•‘β–ˆβ•‘β–Œβ”‚β•‘β–Œβ•‘β–Œβ–ˆ

                      1 Reply Last reply Reply Quote 0
                      • x23piracyX
                        x23piracy
                        last edited by x23piracy

                        @tom-elliott problem solved, i talked to our firewall admin to free the server from proxy usage, after that i could easily add my pushbullet account and could also simply download the current oui.txt for the mac list.

                        So i am going to think that something is wrong with group the fog server belongs to on our firewall server because it already was in a group that is free from forced proxy usage (must be some missconfiguration or something).

                        Bild Text

                        Regards X23

                        β•‘β–Œβ•‘β–ˆβ•‘β–Œβ”‚β•‘β–Œβ•‘β–Œβ–ˆ

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post

                        209

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright Β© 2012-2024 FOG Project