network – Softether Mas OS asks “VPN connection username & password” but not on Windows

I’m trying to build a L2TP/IPSec connection. This connection is working on Windows but with my Mac it asks me this little window once it is connected. So I enter the server address, account name, password & shared secret and then click “connect” and THEN this windows pops up and I just don’t know what to do. I tried many different names (server name, user name, user@hub, etc.) but it keeps bugging. What’s very weird is that this window doesn’t appear in the documentation.

Thanks for any tips,

enter image description here

Your recommendation for a Country/Datacenter with cheap and stable internet connection

Hi there,

what is your recommendation for a Countrys/Datacenter with cheap and stable internet connection.
I would like to manage my own… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1849020&goto=newpost

connection – Err_Connection_Closed on windows 10 when connecting via WIFI

I am taking some courses on udemy and everything was working fine until a few days ago. Now i get an Err_connection_closed when my browser tries to fetch the udemy cdn when loading videos from hls-c.udemycdn.com
This happens only when i am connecting on my windows 10 PC via my home WIFI network on any of my browsers; chrome, firefox and edge.
I am unable to reproduce the issue

  • on any other device on my WIFI network
  • when i connect my own PC to my mobile network instead.

I am able to successfully tracert and ping the url via cmd. i have a d-link router

Hi guys, im getting this error java.net.SocketException: Connection reset, any help would be appreciated!

Hi guys, im getting this error java.net.SocketException: Connection reset, any help would be appreciated! – Stack Overflow em Português

windows – Oracle 19c listener stops on connection TNS-12541 error

I have just installed Oracle 19c Standard Edition 2 on Windows 10 and created a local database.

I can connect to it with sqlplus / sysdba, but if I try to connect with sqlplus user/password@host:port, the listener automatically stops and results in ORA-12537 error. Then lsnrctl status shows TNS 12541 error. I can restart the listener with lsnrctl startmanually, but it stops again if I try to connect.

I have tried

  1. Changing HOST to 127.0.0.1, localhost or name of PC
  2. Deleting and recreating the listener with Net Configuration Assistant
  3. Re-installing oracle
  4. Deleting log file, disable DIAG_ADR ins ora files
  5. Re-starting the services
  6. Editing HOSTS file, add oracle path to Windows system variables

But same error still appears.

The error log (It wasn’t fully in English, so I used machine translation)

PS C:Windowssystem32> sqlplus / as sysdba

SQL*Plus: Release 19.0.0.0.0 - Production on Wed Jun 9 09:30:45 2021
Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. all rights reserved.


Connect to:
Oracle Database 19c Standard Edition 2 Release 19.0.0.0.0 - Production
Version 19.3.0.0.0

SQL> exit
From Oracle Database 19c Standard Edition 2 Release 19.0.0.0.0 - Production
Version 19.3.0.0.0 Disconnect
PS C:Windowssystem32> lsnrctl status

LSNRCTL for 64-bit Windows: Version 19.0.0.0.0 - Production on 09-Jun-2021 09:33:04

Copyright (c) 1991, 2019, Oracle. all rights reserved.

is connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=LAPTOP)(PORT=1521)))
LISTENER STATUS
------------------------
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 19.0.0.0.0 - Production
Start date 09-Jun-2021 09:14:58
Uptime 0 days 0 hours 18 minutes 9 seconds
Tracking level off
Security ON: Local OS Authentication
SNMP OFF
Listener parameter file D:ProgramOraclenetworkadminlistener.ora
Listener log file D:ProgramOraclenetworkloglistener.log
Listening endpoint summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=LAPTOP)(PORT=1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=. pipeEXTPROC1521ipc)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=LAPTOP)(PORT=5500))(SECURITY=(my_wallet_directory=D:PROGRAMadminorclxdb_ wallet))(Presentation=HTTP)(Session=RAW))
Service Summary...
The service "CLRExtProc" contains 1 instance.
  Instance "CLRExtProc", status UNKNOWN, contains 1 handler for this service...
Service "orcl" contains 1 instance.
  Instance "orcl", status READY, contains 1 handler for this service...
Service "orclXDB" contains 1 instance.
  Instance "orcl", status READY, contains 1 handler for this service...
Command executed successfully
PS C:Windowssystem32> sqlplus sys/123456@localhost:1521/orcl

SQL*Plus: Release 19.0.0.0.0 - Production on Wed Jun 9 09:33:45 2021
Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle.

ERROR:
ORA-12537: TNS: Connection closed


Please enter the username: sys as sysdba
Enter the password:

Connect to:
Oracle Database 19c Standard Edition 2 Release 19.0.0.0.0 - Production
Version 19.3.0.0.0

SQL> exit
From Oracle Database 19c Standard Edition 2 Release 19.0.0.0.0 - Production
Version 19.3.0.0.0 Disconnect
PS C:Windowssystem32> lsnrctl status

LSNRCTL for 64-bit Windows: Version 19.0.0.0.0 - Production on 09-Jun-2021 09:36:15

Copyright (c) 1991, 2019, Oracle. all rights reserved.

is connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=LAPTOP)(PORT=1521)))
TNS-12541: TNS: No listener
 TNS-12560: TNS: Protocol adapter error
  TNS-00511: No listener
   64-bit Windows Error: 61: Unknown error
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
TNS-12541: TNS: No listener
 TNS-12560: TNS: Protocol adapter error
  TNS-00511: No listener
   64-bit Windows Error: 2: No such file or directory

listener.ora:

# listener.ora Network Configuration File: D:ProgramOracleNETWORKADMINlistener.ora
# Generated by Oracle configuration tools.

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = CLRExtProc)
      (ORACLE_HOME = D:ProgramOracle)
      (PROGRAM = extproc)
      (ENVS = "EXTPROC_DLLS=ONLY:D:ProgramOraclebinoraclr19.dll")
    )
  )

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = LAPTOP)(PORT = 1521))
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    )
  )

DIAG_ADR_ENABLED_LISTENER = OFF

tnsnames.ora:

# tnsnames.ora Network Configuration File: D:ProgramOracleNETWORKADMINtnsnames.ora
# Generated by Oracle configuration tools.

LISTENER_ORCL =
  (ADDRESS = (PROTOCOL = TCP)(HOST = LAPTOP)(PORT = 1521))


ORACLR_CONNECTION_DATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    )
    (CONNECT_DATA =
      (SID = CLRExtProc)
      (PRESENTATION = RO)
    )
  )

ORCL =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = LAPTOP)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = orcl)
    )
  )


sqlnet.ora:

# sqlnet.ora Network Configuration File: D:ProgramOracleNETWORKADMINsqlnet.ora
# Generated by Oracle configuration tools.

# This file is actually generated by netca. But if customers choose to 
# install "Software Only", this file wont exist and without the native 
# authentication, they will not be able to connect to the database on NT.

SQLNET.AUTHENTICATION_SERVICES= (NTS)

NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)

DIAG_ADR_ENABLED = OFF

HOSTS:

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a "https://dba.stackexchange.com/#" symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#   127.0.0.1       localhost
#   ::1             localhost
127.0.0.1   localhost   LAPTOP
::1             localhost

Cheap VPN service for all | 50+ countries| High speed secure connection | NewProxyLists

Hi, WJ members

UnBlockhub solution to privacy and cybersecurity on the Internet is to provide a secure virtual private network tunnel between you and our servers with super strong encryption. This enables you to appear as if your are another system on the Internet and, especially , secures you on public wifi networks. This, with the addition of clearing cookies and any website session data, will effectively protect your identity, privacy, and security online.

50+ countries
P2P torrents supported
No logs
5 devices same time
We support Openvpn UDP/TCP, IKEv2, L2TP/I7Psec, PPTP
1Gbps servers
Unlimited bandwidth
Windows, Android, IOS, Linux,Mac OS supported.

$2.99 per month only

www.unblockhub.com

contact me if you interested.​

Up To 30% OFF Recurring VPS – 1Gbps Connection- DDOS Protection – Free support | NewProxyLists

HostSailor has established itself as a trusted provider of high-quality VPS Hosting, Shared Hosting, Dedicated servers, Domains, and SSL Certificates with top-notch support and impeccable reputation and also offers some of the most competitive pricing, without sacrificing the quality of the products and services.
HostSailor is based in Dubai, UAE, and the services are physically located in the Netherlands, all servers are HP and 100% owned, we do not resell any of our VPS services.
Operating systems: ( CentOS, Debian, Fedora, Scientific, Suse, and Ubuntu ) If we don’t have it, we can install it for you! or you can request us to mount your own image.
————————————————————————————————————————————————————————————-
View attachment 6222
—————————————

VPS :

—————————————

15% OFF Recurring, Monthly ===>> Coupon: JUN21VPS
—————————————————————-
20% OFF Recurring, Quarterly ===>> Coupon: JUN4VPS2021
—————————————————————-
25% OFF Recurring, Semi-Annually ===>> Coupon: JUN25VPS
—————————————————————-
30% OFF Recurring, Annually ===>> Coupon: ANN2021JUN
—————————————————————-
20% OFF Recurring , Mini Sailor Only “Annually” ===>> Coupon: MINI2021JUN
—————————————————————-

Linux SSD OpenVZ:

Sailor:

512 Guaranteed RAM
512 VSwap RAM
15 GB SSD
1 Core
1 Gbit Port
512 GB Bandwidth
1 IPV4 address
Unlimited IPv6
SolusVM Control Panel
Hosted in the Netherlands

To check all our SSD OpenVZ plans or place an order go HERE

=====================================

Linux XEN & KVM:

Sailor:

512 Guaranteed RAM
512 SWAP
15 GB HDD
2 Cores
1 Gbit Port
512 GB Bandwidth
1 IPV4 address
Unlimited IPv6
SolusVM Control Panel
Hosted in Netherlands ( KVM & XEN )
Hosted in Romania ( KVM )

To check all our XEN plans or place an order go HERE

To check all our KVM plans or place an order go HERE

=====================================

Operating systems: ( Windows 2008 server datacenter R2 and Windows 2012 server datacenter R2 )

Windows KVM:

Seaman:

512 Guaranteed RAM
30 GB HDD
2 Cores
1 Gbit Port
512 GB Bandwidth
1 IPV4 address
Unlimited IPv6
SolusVM Control Panel
Hosted in the Netherlands

To check all our Windows plans or place an order go HERE

=====================================================================:
=====================================================================:
Payment methods:

BTC & ALT, PayPal, Perfect Money, WebMoney, Bank Transfer.
Western Union, BANCODOBRASIL, CREDIT/BANK CARD.

please click HERE
=====================================

Features:

1. Gig connections to every VPS
2. IPV4 and IPV6 enabled VPS
3. Hardware RAID 10 for optimum disk performance
4. Weekly backups
5. Managed services
6. SolusVM Control Panel
7. Flexible Upgrading / easy scalability
8. VPS located in the Netherlands
9. Reverse DNS
10. Instant Setup
11. Free incoming bandwidth
12. No Setup fees
13. No contracts
14. Money back guarantee within 14 days

=====================================

HostSailor

To know more about us visit Our company
To check our terms of use please click on TOS
We offer an amazing service level agreement at SLA
For our Acceptable use policy check AUP
To get more info about our data center check Our data center

=====================================

FAQ and Support:

Please check our FAQ
To get in touch with us via email please use contact us
To get in touch with us via LiveChat, please visit our site at HostSailor and we’ll be happy to help!

=====================================

Our Social Media Pages:

to visit our Facebook page please click here
to visit our Instagram page please click here
to visit our Twitter page please click here
to visit our Telegram channel please click here​

linux – Nexus 7 (2013) fastboot connection to PC

I’ve been trying for a few days to install LineageOS on a Google Nexus 7 (2013 version, or “flo”), using this guide here, but the USB cable connection seems to be very unstable for anything to work properly. It seems like there’s a problem in the cable or the USB port, but it is still charging normally (even if the data connection seems frail) and I thought maybe someone has more information.

On Windows, the USB connection to the tablet has always been unstable, with it popping in and out of the devices listed on “device manager”. I think I have the proper drivers, since I managed to follow the LineageOS installation up to the repartition step. After I entered the “modify” command on adb shell, it took a long time and a bunch of “file or directory not found” error messages started showing up. I was using Lineage Recovery and, following step 5, a clicked on “Reboot system now”. Here’s a log:

C:Temp>fastboot devices
08460011        fastboot

C:Temp>fastboot boot recovery.img
Sending 'boot.img' (10884 KB)    OKAY (  0.351s)
Booting                                            OKAY (  0.035s)
Finished. Total time: 0.491s

C:Temp>adb sideload flo-repart.zip
* daemon not running; starting now at tcp:5037
* daemon started successfully
Total xfer: 1.00x

C:Temp>adb shell
flox:/ # modify
2048+0 records in
2048+0 records out
1048576 bytes (1.0 M) copied, 0.077575 s, 13 M/s
20480+0 records in
20480+0 records out
10485760 bytes (10 M) copied, 0.289826 s, 35 M/s
umount: /mnt/system: Invalid argument
umount: /data: Invalid argument
umount: /sdcard: Invalid argument
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
                                                      (parted)   rm 22
                                                      (parted)   rm 23
                                                      (parted)   rm 24
                                                      (parted)   rm 25
                                                      (parted)   rm 30
                                                      (parted)   mkpart primary 614429696B 2187293695B
                                                      (parted)   name 22 system
                                                      (parted)   mkpart primary 2187293696B 2263875583B
                                                      (parted)   name 23 cache
                                                      (parted)   mkpart primary 2263875584B 2264924159B
                                                      (parted)   name 24 misc
                                                      (parted)   mkpart primary 2264924160B 2281701375B
                                                      (parted)   name 25 recovery
                                                      (parted)   mkpart primary 2348843008B 2610987007B
                                                      (parted)   name 30 vendor
                                                      (parted)   mkpart primary 2610987008B 15757983231B
                                                      (parted)   name 31 userdata
                                                      (parted)   quit
                                                      Information: You may need to update /etc/fstab.

mke2fs 1.45.4 (23-Sep-2019)
The file /dev/block/mmcblk0p22 does not exist and no size was specified.
mke2fs 1.45.4 (23-Sep-2019)
The file /dev/block/mmcblk0p23 does not exist and no size was specified.
mke2fs 1.45.4 (23-Sep-2019)
The file /dev/block/mmcblk0p30 does not exist and no size was specified.
mke2fs 1.45.4 (23-Sep-2019)
The file /dev/block/mmcblk0p31 does not exist and no size was specified.
2048+0 records in
2048+0 records out
1048576 bytes (1.0 M) copied, 0.163787 s, 6.1 M/s
20480+0 records in
20480+0 records out
10485760 bytes (10 M) copied, 1.376526 s, 7.2 M/s

After rebooting, there is not an operating system in the tablet anymore. All that is possible is to open fastboot mode with VOLUME DOWN + POWER. When USB connected to Windows, it will sound repeatedly as the connection is tried but fails. I tried the next step on the guide, which is to format one of the partitions with “fastboot -w”, but it ended in error.

I tried to connect the tablet using fastboot on Ubuntu, but it never did establish a connection. The tablet does not appear with “lsusb”, and using “dmesg” I can see the following:

( 3452.967123) usb usb3-port11: Cannot enable. Maybe the USB cable is bad?
( 3453.935126) usb usb3-port11: Cannot enable. Maybe the USB cable is bad?
( 3453.935202) usb usb3-port11: attempt power cycle
( 3455.219195) usb usb3-port11: Cannot enable. Maybe the USB cable is bad?
( 3456.187128) usb usb3-port11: Cannot enable. Maybe the USB cable is bad?
( 3456.187203) usb usb3-port11: unable to enumerate USB device

Nevertheless, the tablet is still charging its battery though the USB connection as if the cable and port were working normally.

I hope someone has any insight on this. I really don’t understand much of this process, and I hope there’s something I’m not doing right that is fixable.

router – Raspberry Pi4 Connected to LAN via ETH cable but no internet connection

I have a RPi4 working with some problems.
I’m using via SSH/VNC connected to LAN with the ETH cable.
The problem is that RPi4 does not have internet connection, I tried connect another pc with the same cable and internet connection works fine.
WiFi does not work either.
I have a Cisco router with the DHCP enabled and a TPlink in wireless bridge mode next to PC (where internet works fine) and RPi4.
Can somebody help me?

java – I have web-app and In JUnit tests I need use TomcatJNDI to get connection so Is this still unit testing?I’m using Mockito

This is my Service class where I use corresponding Dao

public class TaxiServiceCarCategory {
    private final CarCategoryDao categoryDao;
    public TaxiServiceCarCategory(CarCategoryDao carCategoryDao){
        this.categoryDao = carCategoryDao;
    }
    public boolean insertCarCategory(CarCategory carCategory) throws ApplicationEXContainer.ApplicationCanNotChangeException {
        boolean result = false;
        try(Connection connection = MySQLDAOFactory.getConnection();
            AutoRollback autoRollback = new AutoRollback(connection)){
            result = categoryDao.insertCarCategory(connection,carCategory);
            autoRollback.commit();
        } catch (SQLException | NamingException | MySQLEXContainer.MySQLDBExecutionException throwables) {
            throw new ApplicationEXContainer.ApplicationCanNotChangeException(throwables.getMessage(),throwables);
        }
        return result;
    }
    public boolean deleteCarCategory(String carCategory) throws ApplicationEXContainer.ApplicationCanNotChangeException {
        boolean result = false;
        try(Connection connection = MySQLDAOFactory.getConnection();
            AutoRollback autoRollback = new AutoRollback(connection)){
            result= categoryDao.deleteCarCategory(connection,carCategory);
            autoRollback.commit();
        } catch (SQLException | NamingException | MySQLEXContainer.MySQLDBExecutionException throwables) {
            throw new ApplicationEXContainer.ApplicationCanNotChangeException(throwables.getMessage(),throwables);
        }
        return result;
    }

Class where I obtain connection(My Factory class)

public class MySQLDAOFactory extends DAOFactory {
    private static final Logger LOGGER = LogManager.getLogger(MySQLDAOFactory.class);
    private static DataSource dataSource;
    public static void dataSourceInit() throws NamingException {
            Context initContext = new InitialContext();
            Context envContext = (Context) initContext.lookup("java:comp/env");
            dataSource = (DataSource) envContext.lookup("jdbc/UsersDB");
    }
    public static Connection getConnection() throws NamingException, SQLException {
        if(dataSource==null){
            dataSourceInit();
        }
       Connection connection = null;
        try {
            connection = dataSource.getConnection();
        } catch (SQLException e) {
            LOGGER.error(e);
            throw new SQLException(e);
        }
        return connection;
    }
    @Override
    public CarDao getCarDao() {
        return new MySQLCarDao();
    }
    @Override
    public UserDao getUserDao() {
        return new MySQLUserDao();
    }
    @Override
    public OrderDao getOrderDao() {
        return new MySQLOrderDao();
    }
    @Override
    public CarCategoryDao getCarCategoryDao() {
        return new MySQLCarCategoryDao();
    }
}

This my Service Test class where I use Mockito and TomcatJndi to access my database

@TestInstance(TestInstance.Lifecycle.PER_CLASS)
    class TaxiServiceCarCategoryTest {
        private CarCategoryDao carCategoryDao;
        private TaxiServiceCarCategory serviceCarCategory;
        private static TomcatJNDI tomcatJNDI;
        @BeforeAll
        static void initJNDI(){
            tomcatJNDI = new TomcatJNDI();
            tomcatJNDI.processContextXml(new File("src/main/webapp/META-INF/context.xml"));
            tomcatJNDI.start();
        }
        @BeforeEach
        void initMocks(){
            carCategoryDao = mock(CarCategoryDao.class);
            serviceCarCategory = new TaxiServiceCarCategory(carCategoryDao);
        }
        @AfterAll
        static void clearEnv(){
            tomcatJNDI.tearDown();
        }
        @Test
        void insertCarCategory() throws MySQLEXContainer.MySQLDBExecutionException, SQLException, ApplicationEXContainer.ApplicationCanNotChangeException {
            CarCategory carCategory = new CarCategory();
            when(carCategoryDao.insertCarCategory(any(Connection.class),any(CarCategory.class))).thenReturn(true);
            assertTrue(serviceCarCategory.insertCarCategory(carCategory));
        }
        @Test
        void insertCarCategoryException() throws MySQLEXContainer.MySQLDBExecutionException, SQLException {
            CarCategory carCategory = new CarCategory();
            when(carCategoryDao.insertCarCategory(any(Connection.class),any(CarCategory.class))).thenThrow(new SQLException("can't close some resources"));
           Throwable thrown = assertThrows(ApplicationEXContainer.ApplicationCanNotChangeException.class,()->{
               serviceCarCategory.insertCarCategory(carCategory);
           });
           assertEquals("can't close some resources",thrown.getMessage());
        }
    
        @Test
        void deleteCarCategory() throws MySQLEXContainer.MySQLDBExecutionException, SQLException, ApplicationEXContainer.ApplicationCanNotChangeException {
            String carCategory = "Business";
            when(carCategoryDao.deleteCarCategory(any(Connection.class),anyString())).thenReturn(true);
            assertTrue(serviceCarCategory.deleteCarCategory(carCategory));
        }
        @Test
        void deleteCarCategoryException() throws MySQLEXContainer.MySQLDBExecutionException, SQLException {
            String carCategory = "Business";
            when(carCategoryDao.deleteCarCategory(any(Connection.class),anyString())).thenThrow(new SQLException("can't close some resources"));
            Throwable thrown = assertThrows(ApplicationEXContainer.ApplicationCanNotChangeException.class,()->{
                serviceCarCategory.deleteCarCategory(carCategory);
            });
            assertEquals("can't close some resources",thrown.getMessage());
        }
    }

So is it still unit testing?

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive Proxies-free.com New Proxy Lists Every Day Proxies123